Is there any way to change the way that code folding closes up...
I don't mean changing the character that is set... I mean how it closes on the character. Now Komodo hides the closing character, as an end user it would appear that it "gobbles up" and empty lines until "line not whitespace". The way it works now is generaly consider the "right" way to do it... I dislike it very much. Particularly for javascript...
foo_class.prototype.foo_function = function( )
{
};That semi-colon should be there! I know alot of code doesn't show it and javascript can usually figure it out when not written but it's not different than any statement in javascript and really is not a whole lot different than...
var foo_var = "hello";
Anyway in UEStudio the code folding SHOWS the closing character line and it is quite handy to instantly see if I missed any semi-colons. It gets real handy when the hierarchal structure of the javascript gets really hairy.
Clearly, the following syntax has quite a differant meaning.
function foo_function( )
{
}No semi-colon... as it should be.
Code folding is handled by Scintilla, which is the editing component that is used by Komodo.
Currently Scintilla does not support the showing of the last line, this would need to be added to Scintilla, which you could request an enhancement change at:
https://sourceforge.net/tracker/?group_id=2439&atid=102439
Cheers,
Todd