Menu

#1360 Replacing multiple selections with newline

Bug
closed-fixed
Scintilla (812)
4
2012-06-01
2012-04-28
No

Replacing multiple selections with newline results in odd behavior. All selected text will be removed, while the new line will be added only at the main caret position.

This should be handled in one of these two ways:

1. Remove all selected text and insert newline at every caret position. This will make the behavior consistent with how pressing backspace over multiple selections behaves in Scintilla (but not like in Word).
2. Remove only text from main selection and insert new line only at main caret position. This will make the behavior consistent with Word (but it will not be analog to the behavior of backspace in Scintilla).

Discussion

  • Neil Hodgson

    Neil Hodgson - 2012-04-29
    • assigned_to: nobody --> nyamatongwe
    • priority: 5 --> 4
    • status: open --> open-accepted
     
  • Neil Hodgson

    Neil Hodgson - 2012-05-04

    Committed behaviour (2) as it was simpler to implement.

     
  • Neil Hodgson

    Neil Hodgson - 2012-05-04
    • status: open-accepted --> open-fixed
     
  • Neil Hodgson

    Neil Hodgson - 2012-06-01
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.