|
Post by Stef on Nov 4, 2016 13:29:06 GMT -5
Reported against v8.4.6153 but noticed on previous versions also
There are behavioral issues with inserted blank lines, (e.g. I, TS). Normally, unless something is entered on it, the inserted line disappears when RETURN/ENTER is pressed. But if the a previous interaction "moves" the inserted line up or down the file, this does not happen.
Example (using Insert and Repeat)
Open file Type line cmd 'I' on line 4 and press RETURN/ENTER -> new line (5) opens below line 4, line command field shows as '''''' Type line cmd 'R' on line 2 and press RETURN/ENTER -> repeat occurs as expected, note that line 6 (ex-5) remains as '''''' Pressing RETURN/ENTER or even scrolling down the file and back again leaves line 6 as ''''''
This occurs whenever the inserted line (or lines) move up or down in the file as a result of a following line command, e.g. a repeat, delete, copy before/after, etc occurs 'above' the inserted line.
|
|
|
Post by George on Nov 15, 2016 11:13:12 GMT -5
Stef: This is what happens when we try to be more efficient in one area and it comes back to bite.
The process for removal of unused ****** lines used to scan the whole file after each Enter to do this. When users started loading in very large files (hundreds of thousands of lines), this scanning became a big overhead item.
So we altered it and started tracking where the inserted lines were and only checked those locations. That corrected the overhead problem.
However, it works based on the assumption that you insert some lines, do something with those inserted lines and then hit Enter.
Your scenario inserted the lines, then wandered off to do an 'R' command somewhere else, and then hit Enter. And the 'R' command shifted all the line numbers.
So the saved locations of the ****** lines no longer matched, and the unused ****** lines were not processed.
I'm afraid right now this might have to remain an annoyance. I'll try and see if I can make a work-around, but because there are just SO many line and primary commands that can alter line numbers I doubt I can do it. I do not want to fall back to the full file scan methodology.
George
OK, I've had a look at this. As I thought, there's no simple work-around, I'm afraid this will remain a 'live with it' quirk. Sorry.
The proper fix would need a change to every spot where lines can be added or deleted. As you can figure, this is quite extensive. Considering the impact this would mean, it will have to wait for the next time some major work is done.
George
|
|