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

Abel akronix5 at xxxxx
Tue Jul 12 23:47:42 UTC 2016


Hi!

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

Greetings,

*                                                       Abel.*
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

_______________________________________________
Users mailing list
Users at lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/users/attachments/20160713/f32e0db4/attachment.html>


More information about the Users mailing list