This is a great feature, but as a formatting Nazi I think a couple of things should be added to the "to-do" list once everything important has been taken care of. ;)
If you select a range of code and right-click it to choose "Make code pretty" it should only modify the selected code, not the entire module (unless nothing is selected, of course). Secondly, two spaces shouldn't be added after two consecutive CR/LF's. Empty lines should remain empty lines, as this is often useful for visually separating sections of larger procedures. Empty lines shouldn't be formatted, automatically or otherwise (unless perhaps they are consecutive empty lines which would be reduced to one?). The reason I even discovered this feature is that I moved a block of code that needed to be indented two additional times and wanted to do it automatically instead of manually using the arrow and tab keys a million times. Is there a feature to simply indent (or move to the left) a block of code? That would be super useful for minor formatting adjustments (Indent right, Indent left) and copy/paste operations. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user