Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 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
Previous Topic: Drag and Drop files
Next Topic: Small bug in code formatter: accented characters
Goto Forum:
  


Current Time: Thu Mar 28 23:43:36 CET 2024

Total time taken to generate the page: 0.01186 seconds