| 350 | } |
| 351 | |
| 352 | void AStyleFormatter::setTabIndentation(int length, bool forceTabs) |
| 353 | { |
| 354 | m_engine.setTabIndentation(length, forceTabs); |
| 355 | m_options[QStringLiteral("Fill")] = QStringLiteral("Tabs"); |
| 356 | m_options[QStringLiteral("FillCount")] = length; |
| 357 | m_options[AStyleOptionKey::forceTabs()] = forceTabs; |
| 358 | |
| 359 | m_engine.setTabSpaceConversionMode(false); |
| 360 | } |
| 361 | |
| 362 | void AStyleFormatter::setSpaceIndentationAndTabSpaceConversion(int length, bool tabSpaceConversion) |
| 363 | { |
no test coverage detected