It is currently Sat May 25, 2013 3:00 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: IDE question
PostPosted: Fri May 25, 2012 1:08 pm 
Offline
User
User

Joined: Wed Jun 21, 2006 11:09 am
Posts: 16
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!


Top
 Profile  
 
 Post subject: Re: IDE question
PostPosted: Sat May 26, 2012 12:09 pm 
Offline
User
User

Joined: Wed Jun 21, 2006 11:09 am
Posts: 16
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?


Top
 Profile  
 
 Post subject: Re: IDE question
PostPosted: Sat May 26, 2012 12:21 pm 
Offline
Addict
Addict

Joined: Tue Feb 22, 2011 1:16 pm
Posts: 1460
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!


Top
 Profile  
 
 Post subject: Re: IDE question
PostPosted: Sat May 26, 2012 12:43 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Apr 27, 2007 12:38 pm
Posts: 528
Location: Finland
MachineCode wrote:
I don't think there is one. What's so hard about [End], then [Shift+Home], then [Del] ?


On my laptop that takes quite a lot of dexterity...


Top
 Profile  
 
 Post subject: Re: IDE question
PostPosted: Sat May 26, 2012 12:45 pm 
Offline
User
User

Joined: Wed Jun 21, 2006 11:09 am
Posts: 16
MachineCode wrote:
What's so hard about [End], then [Shift+Home], then [Del] ?

Three keystrokes instead one. :wink:
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.


Top
 Profile  
 
 Post subject: Re: IDE question
PostPosted: Sat May 26, 2012 1:01 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4231
Location: Strasbourg / France
ssb wrote:
Come on folks! Nobody knows the keyboard shortcut that deletes current line?
Iirc there isn't.
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?
Scintilla <> SciTE <> Purebasic IDE.
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).


Top
 Profile  
 
 Post subject: Re: IDE question
PostPosted: Sat May 26, 2012 1:10 pm 
Offline
User
User

Joined: Wed Jun 21, 2006 11:09 am
Posts: 16
gnozal wrote:
Scintilla <> SciTE <> Purebasic IDE.

Powerbasic IDE uses Scintilla and inherits all its editing shortcuts except this one.

gnozal wrote:
The PB IDE defines its own shortcuts : Menu -> File -> Preferences -> General / Shortcuts

Great, but I don's see any "delete-line" shortcut there. Do you?


Top
 Profile  
 
 Post subject: Re: IDE question
PostPosted: Sat May 26, 2012 1:12 pm 
Offline
Addict
Addict

Joined: Tue Feb 22, 2011 1:16 pm
Posts: 1460
ssb wrote:
Three keystrokes instead one. :wink:

Ctrl+Shift+L is also three keystrokes. ;)

_________________
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!


Top
 Profile  
 
 Post subject: Re: IDE question
PostPosted: Sat May 26, 2012 1:15 pm 
Offline
User
User

Joined: Wed Jun 21, 2006 11:09 am
Posts: 16
MachineCode wrote:
ssb wrote:
Three keystrokes instead one. :wink:

Ctrl+Shift+L is also three keystrokes. ;)

Of course you're right! My poor and rusty English! :D
Three keystrokes but a single shortcut action! Better now?


Top
 Profile  
 
 Post subject: Re: IDE question
PostPosted: Sat May 26, 2012 1:24 pm 
Offline
Addict
Addict

Joined: Tue Feb 22, 2011 1:16 pm
Posts: 1460
:lol:

_________________
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!


Top
 Profile  
 
 Post subject: Re: IDE question
PostPosted: Sat May 26, 2012 1:27 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Feb 19, 2011 3:47 am
Posts: 392
MachineCode wrote:
I don't think there is one. What's so hard about [End], then [Shift+Home], then [Del] ?
[Home] then [Ctrl-Shift-Del]...

_________________
Texas Instruments 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!


Top
 Profile  
 
 Post subject: Re: IDE question
PostPosted: Sat May 26, 2012 1:33 pm 
Offline
Addict
Addict

Joined: Tue Feb 22, 2011 1:16 pm
Posts: 1460
TI-994A wrote:
[Home] then [Ctrl-Shift-Del]

Nice one!

_________________
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!


Top
 Profile  
 
 Post subject: Re: IDE question
PostPosted: Sat May 26, 2012 1:34 pm 
Offline
User
User

Joined: Wed Jun 21, 2006 11:09 am
Posts: 16
TI-994A wrote:
MachineCode wrote:
I don't think there is one. What's so hard about [End], then [Shift+Home], then [Del] ?
[Home] then [Ctrl-Shift-Del]...

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. :lol:
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.


Top
 Profile  
 
 Post subject: Re: IDE question
PostPosted: Sat May 26, 2012 4:24 pm 
Online
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 1387
Location: Boston, MA
I thoroughly agree an IDE should strive to eliminate or reduce repetitive keystrokes :evil:

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] :evil:
Or:
LMClick the Line Numbers + [Delete]

Jeesh... :(

_________________
To understand recursion, you must first understand recursion. ~ unknown
I never make stupid mistakes. Only very, very clever ones. ~ John Peel


Top
 Profile  
 
 Post subject: Re: IDE question
PostPosted: Sun May 27, 2012 12:17 am 
Offline
Addict
Addict

Joined: Tue Feb 22, 2011 1:16 pm
Posts: 1460
skywalk wrote:
I know [Ctrl+L] = goto last line, but that is almost useless since it is not directional

What do you mean? It goes both backwards and forwards for me.

_________________
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye