Community
Participate
Working Groups
I20081202-0800. The block selection mode has troubles when I put the caret into a line and start typing: the small non-blinking caret stays (instead of the usual caret) - even after typing - and return does not working/is blocked. Can be reproduced in SWT's TextEditor example.
try clicking and clicking and dragging. The thing you see that looks like a caret but doesn't blink is block selection rectangle with width==0. If that makes a difference, we can change to use the regular caret when the width of the block selection is 0. But if you hold shift down and use arrow up or arrow down you will still have a zero width rectangle. As for newline, it is by design. During block selection mode you can't enter newlines if the selection is up. This is important when you have a multi line selection.
>try clicking and clicking and dragging. >The thing you see that looks like a caret but doesn't blink is block selection >rectangle with width==0. Yes, right, if you START DRAGGING the change of the look of the caret is OK and expected but when I set the caret into the editor by clicking the left mouse button then it should simply show the caret that's in the widget (either default or the custom caret that the editor has set). >This is important when you have a multi line selection. Exactly ;-) This bug says "has troubles when I put the caret into a line " ==> single line selection.
Okay, point taken. I'll fix this.
Fixed in HEAD > 20081203
Thanks Felipe!