Menu

#5 Uncomment code

open
nobody
None
5
2007-03-18
2007-03-18
Anonymous
No

add uncoment function..

several times i write my funcs of my project then i see that this 'x' section of code could be placed in
a codebrowser fold so, i cut ( alreaddy idented code ) and paste it into the fold ( the result is that the 'x' cutted code is now 2 times idented) ;
the problem is when the compiler cares about ident ( python )
so i think this is not a bling-bling request but a neccesary function

Discussion

  • Hibou57

    Hibou57 - 2008-02-24

    Logged In: YES
    user_id=1683117
    Originator: NO

    Hi dear user,

    There is no need to add a function in this purpose, beceause it is already there : just use the menu command "insert text"/"insert comment".

    When you apply "insert text" on a selected comment region (I mean a selection in the usual way, with Shift+arrow key), then it is converted into text (i.e. code), and vice-versa, when you apply "insert comment" on a selection text/code region, it will be converted into comment.

    Coment and text insertion act in two differents manner, depending of weither or not there is something selected in the editor.

    Have a nice Day :)

    Yannick

     
  • Nobody/Anonymous

    Logged In: NO

    oh my ... The user posted: Uncomment code, when he meant UNINDENT code.
    I can select a piece of text (ctrl-arrowkeys) and press TAB key (thats the INDENT function) but
    there is no way to UNINDENT

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.