Page 1 of 1

List of keyboard shortcuts

Posted: Tue Jul 08, 2008 10:10 am
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 ?

Posted: Tue Jul 08, 2008 10:42 am
by Kaeru Gaman
IDE,
Menu: File -> Preferences
General / Shortcuts

Re: List of keyboard shortcuts

Posted: Tue Jul 08, 2008 11:58 am
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

Posted: Wed Jul 09, 2008 5:14 am
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.

Re: List of keyboard shortcuts

Posted: Wed Jul 09, 2008 5:31 am
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.

Re: List of keyboard shortcuts

Posted: Wed Jul 09, 2008 9:29 am
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.

Re: List of keyboard shortcuts

Posted: Thu Jul 10, 2008 6:10 am
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.