#458 Text Margin Click Selects Line

Cosmetic
closed-invalid
Scintilla (796)
2
2006-07-12
2006-07-08
Dan Petitt
No

If you have a fold margin shown then its very hard to
select a line by clicking to the left edge because it
tends to fold the text.

It would be great that if you set the text margin
with SCI_SETMARGINLEFT then this 'blank' area could
be used for line selection with the appropriate
change in cursor to a right-pointing cursor.

Discussion

  • Neil Hodgson

    Neil Hodgson - 2006-07-12

    Logged In: YES
    user_id=12579

    Add another margin for line selection.

     
  • Neil Hodgson

    Neil Hodgson - 2006-07-12
    • priority: 5 --> 2
    • assigned_to: nobody --> nyamatongwe
    • status: open --> closed-invalid
     
  • Dan Petitt

    Dan Petitt - 2006-07-12

    Logged In: YES
    user_id=721162

    Then you cant do a lineselect drag to select multiple
    lines very easily (if at all).

    Also, you cant change the background colour to the
    document colour and its still too close to the fold
    margin, and as the fold is sensitive throughout and not
    just on the actual visible portion of the graphic (i.e. if
    you had a click 'mask' for the graphics) then you still
    can fold text too easily.

    If you can show me where to look, I will have a go at
    modifying it myself if possible.

    Thanks.

     
  • Neil Hodgson

    Neil Hodgson - 2006-07-12

    Logged In: YES
    user_id=12579

    Lineselect drag is the default margin behaviour.
    SC_MARGIN_BACK.

     

Log in to post a comment.