If you highlight a text block in a node's body that has some blank lines 
and then indent it - perhaps with <TAB> - The blank lines don't stay 
blank.  They get padded with spaces to the new left margin.  That's 
annoying because 1) Leo puts dots in to show you the spaces, which is  
visual clutter I'd rather not have, and 2) checker commands like pylint 
give you warnings about them, so you feel pressed to step through and 
eliminate all of them.

I'm wondering how feasible it would be to change the indenting code so that 
blank lines stay blank when a block is indented.  I haven't tried to find 
that code yet, let alone understand it, so I don't have an opinion about 
how easy it would be.

Or maybe there is some good (non-programming) reason to keep the current 
behavior as it is, one that I haven't thought of. 

Does anyone else care about this?  If they do, I'll create a new issue 
about it.  Otherwise, I suppose it wouldn't be hard to create a user 
command to clean up a node so that empty lines turn into blank ones.

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/da10a6d0-0f90-4211-89a4-6e740d245726n%40googlegroups.com.

Reply via email to