U++ framework
Do not panic. Ask here before giving up.

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 is currently offline  mdelfede
Messages: 1310
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
Previous Topic: Drag and Drop files
Next Topic: Small bug in code formatter: accented characters
Goto Forum:
  


Current Time: Mon Apr 27 22:00:42 GMT+2 2026

Total time taken to generate the page: 0.00874 seconds