Padding the left of the editor (like Notepad++)

Post Reply
sl23
Posts: 211
Joined: 29.01.2013 10:04

Padding the left of the editor (like Notepad++)

Post by sl23 »

I often find it fiddly to click between smaller characters and the left edge of the editor field. Notepad++ solves this by allowing users to set a small margin using a "Padding" setting. This is configurable between 0 and 10 pixels and allows users to more easily add a cursor to the left edge of the editor field.

Would you please consider this addition, it's really helpful. Thanks ;)
Live for an ideal and leave no place in the mind for anything else.
main Alexey
Posts: 3004
Joined: 25.08.2021 18:15

Re: Padding the left of the editor (like Notepad++)

Post by main Alexey »

we have option "gutter_width_empty": 2.
but it don't allow clicks there to place caret there. this maybe can be added. this will be ok then.
main Alexey
Posts: 3004
Joined: 25.08.2021 18:15

Re: Padding the left of the editor (like Notepad++)

Post by main Alexey »

added: click on this 'empty' area is handled now. but what is not handled: mouse-down and move to select a block. this is harder to add, maybe will see later...
sl23
Posts: 211
Joined: 29.01.2013 10:04

Re: Padding the left of the editor (like Notepad++)

Post by sl23 »

ok, Thanks very much for adding that! :D
I'll let you know once I can try it out.
Live for an ideal and leave no place in the mind for anything else.
sl23
Posts: 211
Joined: 29.01.2013 10:04

Re: Padding the left of the editor (like Notepad++)

Post by sl23 »

You're a genius! Thank you!
Works perfect :D
Live for an ideal and leave no place in the mind for anything else.
Post Reply