[Geany-Users] Keybindings to delete from current char to the end/begining of line

Matthew Brush mbrush at xxxxx
Tue May 17 04:21:53 UTC 2016


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.

Cheers,
Matthew Brush

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



More information about the Users mailing list