1

2.7.1 smart indent pasted lines small oddity

First, let me say THANK YOU for fixing smart indent pasted lines in conjunction with using tabs. I can move blocks of code around now without realigning the indents!  

However, I'm noticing a small artifact that I'm wondering if it is a minor bug or something I'm overlooking in my settings.


Highlight and copy lines 5 & 6.
image1

Place cursor at end of line 11 (after the tabs) and paste.
image2

As you can see a blank line is placed between the two-line block pasted and the next. Clearly not the end of the world, but a minor inconvenience nonetheless.


Being QA, I couldn't stop there. So I tried a couple variations:

Copy lines 5 & 6.
image3

Place cursor at end of line 11 and paste. However, this time there is nothing below the block.  This is the last line in the file.
image4

Notice the extra tabs at the end of line 12.


For clarity, I'm including my settings. I tried Reformat set to None, and that didn't seem to have any affect.
image5

2 comments

Please sign in to leave a comment.