Please Fred,
Do us the favor and enable the CTRL-L shortcut (delete current line) in PB IDE. It is a standard key combination in Scintilla and a function found on every editor ever released.
Thanks
An old suggestion that imho should be considered as a bug
Re: An old suggestion that imho should be considered as a bu
Hi,
in all editors which I use it's CTRL+Y
in all editors which I use it's CTRL+Y
Re: An old suggestion that imho should be considered as a bu
In Notepad++ it's CTRL+L
Re: An old suggestion that imho should be considered as a bu
You are a programmer? Purebasic offers Tool code and Preferences for this very purpose.
Write your Tool and assign it to [Ctrl+l] and in Preferences.
I use the more logical combinations of [Ctrl+d] = Duplicate, and [Ctrl+Shift+d] = Delete.
[Ctrl-l] = Last location or history.
There are many other editing elements that are not available to the user(via Tool code) that should take priority over this.
Write your Tool and assign it to [Ctrl+l] and in Preferences.
I use the more logical combinations of [Ctrl+d] = Duplicate, and [Ctrl+Shift+d] = Delete.
[Ctrl-l] = Last location or history.
There are many other editing elements that are not available to the user(via Tool code) that should take priority over this.

The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: An old suggestion that imho should be considered as a bu
Skywalk, of course we can write IDE tools to extend Scintilla functionality. I do this, for example for SCI_MOVESELECTEDLINESUP, SCI_MOVESELECTEDLINESDOWN, SCI_SETEDGEMODE, and I appreciate that the IDE has this capability.
But it's fine to request adding SCI_LINEDELETE (and others) to the dozens of simple Scintilla commands already mappable within the IDE.
The current method... Doesn't it seem like overkill to write a custom program, build and store it somewhere, add an IDE Tool entry, and launch an external executable every time the shortcut is pressed -- all to send a SCI_LINEDELETE message back to the IDE you're in? (Wouldn't that be silly for SCI_GOTOLINE, or SCI_COPY/PASTE, etc?)
Disclaimer: I've asked for the same thing before
http://www.purebasic.fr/english/viewtop ... =3&t=52122
Related comment: Notepad++'s Ctrl-L shortcut is actually SCI_LINECUT, not SCI_LINEDELETE, meaning it writes the deleted line to your clipboard!
But it's fine to request adding SCI_LINEDELETE (and others) to the dozens of simple Scintilla commands already mappable within the IDE.
The current method... Doesn't it seem like overkill to write a custom program, build and store it somewhere, add an IDE Tool entry, and launch an external executable every time the shortcut is pressed -- all to send a SCI_LINEDELETE message back to the IDE you're in? (Wouldn't that be silly for SCI_GOTOLINE, or SCI_COPY/PASTE, etc?)
Disclaimer: I've asked for the same thing before

http://www.purebasic.fr/english/viewtop ... =3&t=52122
Related comment: Notepad++'s Ctrl-L shortcut is actually SCI_LINECUT, not SCI_LINEDELETE, meaning it writes the deleted line to your clipboard!
An old suggestion that imho should be considered as a bug
I'm also a mechanic; Should I build a steering wheel for the brand new car I bought and didn't had one?skywalk wrote:You are a programmer? Purebasic offers Tool code and Preferences for this very purpose.
Re: An old suggestion that imho should be considered as a bu
I thought I was being helpful? There is a clear way to make your request work. There is no way for others like "reverse search" or "search in Procedures Only" or whatever I can think of. I am merely stating this is certainly NOT a bug and is a Feature Request. But a Feature Request that already has a solution. Nothing personal, I just prefer the many unsupported Feature Requests get a higher priority. Happy days when Fred/freak have time to implement all our requests.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum