GLBasic forum

Main forum => Bug Reports => Topic started by: FutureCow on 2009-Nov-25

Title: Minor Add New Sub / Function in the GUI bug
Post by: FutureCow on 2009-Nov-25
Just a minor bug that's easy to work around. If the last line of your code is an ENDSUB / ENDFUNCTION (rather than a blank line) and you insert a Sub or Function with the mouse, the new sub/function will be placed before the final ENDSUB in the code rather than after it.
Title: Re: Minor Add New Sub / Function in the GUI bug
Post by: FutureCow on 2009-Nov-25
Rather than fixing this, I'd prefer you changed it so that the new function/sub was inserted wherever the cursor is.