Lines Protected In Folded Regions

Recommended Posts

I often fold blocks where allowed so I can focus on the area of sequence I'm working on.  I even enclose blocks of lines in meaningless if(1)'s just so I can fold them (thanks for the tip!).  However, I notice that if the cursor is at the end of the line that shows when the block is folded and you hit <enter>, it deletes the lines within the folded section.  I've done this a few times to great consternation.


Feature request:  When cursor is at the end of the first line of a folded block and <enter> is hit, place a blank line following the end of the folded block, show that of course, and place the cursor at the beginning of it.



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.