I finally do it myself. Here it's the pull request to merge with master: https://github.com/geany/geany/pull/1134



On 2016-05-16 05:50 PM, Abel wrote:
On 17/05/16 02:44, Matthew Brush wrote:
On 2016-05-16 04:09 PM, Abel wrote:
OK. So, technically, there is no way to have a shortcut for delete from
beginning to current position?

*Technically* there is a keyboard shortcut, it's Shift+Home+Delete,
though you probably knew that one already :)
Not really, I never thought that shift + Home/End might select from
current to beginning / end.  Nice tip!!

Nevertheless, it would be interesting to have an analogous version to
cntrl + shift + delete for deleting to start, shouldn't it?

It might not be that hard to add if it's supported by Scintilla[0], though the docs don't give enough information for me to tell. Maybe `SCI_DELLINELEFT`? Would probably require reading Scintilla's code or just testing it out.

You could make an Issue on Github[1] and see if anyone wants to add it, or do it yourself, of course.

Matthew Brush

[0]: http://www.scintilla.org/ScintillaDoc.html#KeyboardCommands
[1]: https://github.com/geany/geany/issues/new

Users mailing list