Pelles C forum

Pelles C => General discussions => Topic started by: Athan on May 05, 2014, 04:50:33 PM

Title: IDE: Delete Line shortcut
Post by: Athan on May 05, 2014, 04:50:33 PM
Am I blind? ??? What's the shortcut key or assignable command for "delete current line"?
Title: Re: IDE: Delete Line shortcut
Post by: Robert on May 06, 2014, 07:22:24 AM
Quote from: Athan on May 05, 2014, 04:50:33 PM
Am I blind? ??? What's the shortcut key or assignable command for "delete current line"?

Please feel your way to

http://forum.pellesc.de/index.php?topic=2561.0
Title: Re: IDE: Delete Line shortcut
Post by: Athan on May 06, 2014, 07:57:56 AM
So, there is no delete-cursor-line shortcut? :(
Too bad; I am accustomed to using the CTRL-Y (or CTRL-DEL) keys in any editor I work with...
Title: Re: IDE: Delete Line shortcut
Post by: jj2007 on May 06, 2014, 08:28:10 AM
Quote from: Athan on May 06, 2014, 07:57:56 AMI am accustomed to using the CTRL-Y (or CTRL-DEL) keys in any editor I work with...

While you are writing your next reply, try pressing, in the middle of a sentence, Ctrl-Z or Alt Backspace; then, immediately after, press Ctrl-Y. You will notice that this key has an important standard Windows function.

Of course, you can override any standard GUI key, but is that a good idea??
Title: Re: IDE: Delete Line shortcut
Post by: Athan on May 06, 2014, 08:47:23 AM
Quote from: jj2007 on May 06, 2014, 08:28:10 AMOf course, you can override any standard GUI key, but is that a good idea??
It definitely is, when someone use that specific shortcut key combi since early eighties :)
Afterall the key itself is not the problem, but the missing function in Pelles C IDE.
Title: Re: IDE: Delete Line shortcut
Post by: TimoVJL on May 06, 2014, 01:56:35 PM
Those old WordStar times ...., 'When i was young' as in Patricia Kaas song.

Someone should start developing Add-In for that purpose.

Example code attached.
Title: Re: IDE: Delete Line shortcut
Post by: Athan on May 06, 2014, 02:15:53 PM
Quote from: TimoVJL on May 06, 2014, 01:56:35 PM
Those old WordStar times ...., 'When i was young' as in Patricia Kaas song.
Those were the days! :)
Thanks for the code Timo!