List of keyboard shortcuts

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Blue
Addict
Addict
Posts: 964
Joined: Fri Oct 06, 2006 4:41 am
Location: Canada

List of keyboard shortcuts

Post by Blue »

It would be really nice to have a full and accurate list of keyboard shortcuts used by the PB IDE.

I looked everywhere but couldn't find one.
I went toi the Scintilla website and documentation: less than useless.

I now know about <Control><D> duplicating the current line or current selection because a good soul on this forum told me, but I feel very strongly that users shouldn't have to rely on information hunting and fellow coders' good will for something this basic (no pun intended).

Anybody know if there's a keyboard command for changing a selection's case from UpperCase to LowerCase and vice-versa ?
PB Forums : Proof positive that 2 heads (or more...) are better than one :idea:
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

IDE,
Menu: File -> Preferences
General / Shortcuts
oh... and have a nice day.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: List of keyboard shortcuts

Post by PB »

> I now know about <Control><D> duplicating the current line or current selection

That's a Scintilla shortcut, not a PureBasic IDE one. PureBasic uses Scintilla
for the editor, so look at the "Keyboard Commands" section here:

http://scintilla.sourceforge.net/SciTEDoc.html
User avatar
Blue
Addict
Addict
Posts: 964
Joined: Fri Oct 06, 2006 4:41 am
Location: Canada

Post by Blue »

Thaks for the reminder, Kaeru Gaman
Kaeru Gaman wrote:IDE,
Menu: File -> Preferences
General / Shortcuts
Yes, of course... I make use of those optionss aplenty to adjust the IDE to my liking, but I never quite tought of the shortcut list ... as a list :oops: (although it does list the PB-implemented shortcuts, indeed)
But that list is incomplete (limited to what is specific to PB?). It tells the user nothing about (for instance) <Control><D> for Duplicating a selection or the current line.
Surely a new PB buyer can't be expected to simply bump into that particular kbd command simply by accident, or to mysteriously develop some kind of infused knowledge ?

It seems obvious to me that the Help file should present a complete list of any and all shortcuts.

The distinction that PB (the friendly user, just above) makes to the effect that <Control><D> is not an IDE shortcut, but a Scintilla one, does not hold water.
From the user's point of view, it's all one and the same thing.
Last edited by Blue on Wed Jul 09, 2008 5:48 am, edited 1 time in total.
PB Forums : Proof positive that 2 heads (or more...) are better than one :idea:
User avatar
Blue
Addict
Addict
Posts: 964
Joined: Fri Oct 06, 2006 4:41 am
Location: Canada

Re: List of keyboard shortcuts

Post by Blue »

PB wrote:>That's a Scintilla shortcut, not a PureBasic IDE one. PureBasic uses Scintilla
for the editor, so look at the "Keyboard Commands" section here:
http://scintilla.sourceforge.net/SciTEDoc.html
Thank you, PB, for that link. I'll certainly look carefully at what's there.

But allow me to wonder aloud at the process, for a moment.
In order to figure out other possible keyboard commands in the PB IDE i have to look at the documentation of an application I didn't even know existed until PB (the user) referred me to it, just now...
Great !
Who would have thought ? I've certainly seen better and less tortuous ways of getting acquainted with the software I purchase.
PB Forums : Proof positive that 2 heads (or more...) are better than one :idea:
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: List of keyboard shortcuts

Post by PB »

> In order to figure out other possible keyboard commands in the
> PB IDE i have to look at the documentation of an application
> I didn't even know existed

I know. Scintilla is an open-source programmer's editor, and many languages
use it. It's not uncommon. But for newbies, they don't know this. Perhaps the
manual should mention it and refer to the documentation for it.

> the Help file should present a complete list of any and all shortcuts

You can see from my comment above that this wouldn't be practical, because
Scintilla is always changing due to being an on-going project.
User avatar
Blue
Addict
Addict
Posts: 964
Joined: Fri Oct 06, 2006 4:41 am
Location: Canada

Re: List of keyboard shortcuts

Post by Blue »

PB wrote:>[...]
You can see from my comment above that this wouldn't be practical, because
Scintilla is always changing due to being an on-going project.
I'm sure you have guessed by now that I'll disagree with you on that... :D
Practical or not, complete or not, some kind of a list is still a minimum requirement present in every other software I can think of.

I've looked at the page you suggested (Scite documentation) and found it quite helpful indeed. Thanks again, PB (The user, NOT the software!)
Most of the shortcuts presented there work well in the PB IDE Editor, and most of them are quite useful.
Unfortunately, no shortcut for changing the case of a selection.
Strange.
Am i really the only clumsy amateur programmer who happens to hit the CapsLock key without realizing it ??? :oops:
That would a most embarrassing discovery... :lol:
I hope my mother doesn't read this forum.
PB Forums : Proof positive that 2 heads (or more...) are better than one :idea:
Post Reply