After done a successfull block fill or insert the remaining selection behaves a bit
1. The same textblock action does not accept it as a rectanglar selection anymore
2. Trying to modify the selection (Shift+Cursor) shows a curious selection that can consist of two blocks (in single selection mode!)
Sun JRE 1.6.0_03 and 1.5.0_11
jEdit 4.2final and 4.3pre12
single or multiple selection mode
|Submitted||rschwenn - 2008-01-16 - 18:18:57z||Assigned||ian_lewis|
|2008-01-23 - 11:54:05z
|Logged In: YES
The problem is that the Block Fill Insert code does 2 things wrong.
1.) It converts all the tabs in the selection to spaces before processing thus loosing all the info about the offsets into the buffer that it needs to maintain the selection.
2.) When it finishes the block insert it restores the selection but adds 1 selection per line to the selection model rather than a single selection. Which results in weird behavior in single selection mode.
I basically need to rewrite the how it handles these two things.