IDE question
IDE question
This might sound silly, but what is the keyboard shortcut to delete current line in IDE?
Scintilla's standard "line-delete" combination (Ctrl+Shift+L) does nothing and Ctrl+Shift-Del only erase from cursor position to EOL, not the whole line.
Thanks!
Scintilla's standard "line-delete" combination (Ctrl+Shift+L) does nothing and Ctrl+Shift-Del only erase from cursor position to EOL, not the whole line.
Thanks!
Re: IDE question
Come on folks! Nobody knows the keyboard shortcut that deletes current line?
BTW Ctrl-Shift-L is Scintilla's standard "delete-line" shortcut but doesn't work in Purebasic IDE. Shouldn't this be considered as a bug?
BTW Ctrl-Shift-L is Scintilla's standard "delete-line" shortcut but doesn't work in Purebasic IDE. Shouldn't this be considered as a bug?
-
MachineCode
- Addict

- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: IDE question
I don't think there is one. What's so hard about [End], then [Shift+Home], then [Del] ?
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!
Re: IDE question
On my laptop that takes quite a lot of dexterity...MachineCode wrote:I don't think there is one. What's so hard about [End], then [Shift+Home], then [Del] ?
Re: IDE question
Three keystrokes instead one.MachineCode wrote:What's so hard about [End], then [Shift+Home], then [Del] ?
I'm wondering why they needed to disable Scintilla's standard shortcut (Ctrl-Shift-L). Honestly, I have never seen any IDE or programmers editor that doesn't provide a "delete-line" keyboard command.
-
gnozal
- PureBasic Expert

- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: IDE question
Iirc there isn't.ssb wrote:Come on folks! Nobody knows the keyboard shortcut that deletes current line?
Scintilla <> SciTE <> Purebasic IDE.ssb wrote:BTW Ctrl-Shift-L is Scintilla's standard "delete-line" shortcut but doesn't work in Purebasic IDE. Shouldn't this be considered as a bug?
The PB IDE defines its own shortcuts : Menu -> File -> Preferences -> General / Shortcuts
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: IDE question
Powerbasic IDE uses Scintilla and inherits all its editing shortcuts except this one.gnozal wrote:Scintilla <> SciTE <> Purebasic IDE.
Great, but I don's see any "delete-line" shortcut there. Do you?gnozal wrote:The PB IDE defines its own shortcuts : Menu -> File -> Preferences -> General / Shortcuts
-
MachineCode
- Addict

- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: IDE question
Ctrl+Shift+L is also three keystrokes.ssb wrote:Three keystrokes instead one.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!
Re: IDE question
Of course you're right! My poor and rusty English!MachineCode wrote:Ctrl+Shift+L is also three keystrokes.ssb wrote:Three keystrokes instead one.
Three keystrokes but a single shortcut action! Better now?
-
MachineCode
- Addict

- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: IDE question
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!
Re: IDE question
[Home] then [Ctrl-Shift-Del]...MachineCode wrote:I don't think there is one. What's so hard about [End], then [Shift+Home], then [Del] ?
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel 
-
MachineCode
- Addict

- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: IDE question
Nice one!TI-994A wrote:[Home] then [Ctrl-Shift-Del]
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!
Re: IDE question
Better, but still two shortcuts action and still don't delete the emptied line. Now we have to wait for fred to make them one in next pb update.TI-994A wrote:[Home] then [Ctrl-Shift-Del]...MachineCode wrote:I don't think there is one. What's so hard about [End], then [Shift+Home], then [Del] ?
I'm sure he understands that "delete-current-line" is much more useful and common function than the ...Ascii table which already has a dedicated keyboard shortcut.
Re: IDE question
I thoroughly agree an IDE should strive to eliminate or reduce repetitive keystrokes
I can duplicate a line or several lines with [Ctrl+D].
But why isn't [Ctrl+L] an equivalent to cut or delete
Yes, I know [Ctrl+L] = goto last line, but that is almost useless since it is not directional and does not span different tabs.
Instead of [Ctrl+L] I have to:
[Home] + [Home] + [Shift + Down x nLines] + [Delete]
Or:
LMClick the Line Numbers + [Delete]
Jeesh...
I can duplicate a line or several lines with [Ctrl+D].
But why isn't [Ctrl+L] an equivalent to cut or delete
Yes, I know [Ctrl+L] = goto last line, but that is almost useless since it is not directional and does not span different tabs.
Instead of [Ctrl+L] I have to:
[Home] + [Home] + [Shift + Down x nLines] + [Delete]
Or:
LMClick the Line Numbers + [Delete]
Jeesh...
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
-
MachineCode
- Addict

- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: IDE question
What do you mean? It goes both backwards and forwards for me.skywalk wrote:I know [Ctrl+L] = goto last line, but that is almost useless since it is not directional
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!

