MCPcopy Create free account
hub / github.com/KDE/kdevelop / setTabIndentation

Method setTabIndentation

plugins/astyle/astyle_formatter.cpp:352–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352void 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
362void AStyleFormatter::setSpaceIndentationAndTabSpaceConversion(int length, bool tabSpaceConversion)
363{

Callers 2

indentChangedMethod · 0.45

Calls 2

forceTabsFunction · 0.85

Tested by

no test coverage detected