Hello,
when using the text window in vtcl (eg. for a command, or a function,...), I
have a little problem with how the "return"-key works:
when hitting "return" after a line, the editor jumps to a new line, and the
indent is correct (sorry, don't know the exact word in English). 
But I'm used to write in the following style:

if {sometest} {
        if {another-test} {
                do-a-lot
        }
        do-some other-stuff
}

If I want to add a line before "do-some other-stuff", I put the cursor after
the "}" on the 4th line, and I hit "return". But then the "}" gets copied, and
an extra line is added. Is there a particular reason? Or is my writing style not
common? (I know that I should put the cursor in front of "do-some other-stuff",
and then hit the "return"-key, but I'm just trying to understand the behavior
of the editor)

Thanks,

Stef.

_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user

Reply via email to