Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Small bug in code formatter
Small bug in code formatter [message #15091] |
Sun, 30 March 2008 12:07 |
mdelfede
Messages: 1307 Registered: September 2007
|
Ultimate Contributor |
|
|
I've found a small bug in code formatter that prevented indenting with tabs.
The corrected code in FormatCode.cpp :
Formatter.setParensUnPaddingMode(astyle_ParensUnPaddingMode);
Formatter.setOperatorPaddingMode(astyle_OperatorPaddingMode);
Formatter.setEmptyLineFill(astyle_EmptyLineFill);
Formatter.setTabSpaceConversionMode(astyle_TabSpaceConversionMode);
if(!indent_spaces)
Formatter.setTabIndentation(editortabsize, true);
else
Formatter.setSpaceIndentation(indent_amount);
I'll update SVN accordingly.
Ciao
Max
|
|
|
Goto Forum:
Current Time: Thu Mar 28 23:43:36 CET 2024
Total time taken to generate the page: 0.01186 seconds
|