Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Interfaces Pgadmin Support > Mac OS-X and Ke...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 1958 of 2082
Post > Topic >>

Mac OS-X and Key Bindings

by raimund.sacherer@[EMAIL PROTECTED] (Raimund Sacherer) Feb 27, 2008 at 03:55 PM

hello, i have the same problem as stated in this message (cannot reply=20=
=20
to this because i just signed up today):

On Feb 12, 2008 6:02 PM, Laurent Yaish <laurenty ( at ) gmail ( dot
)=20=20
com> wrote:
 > Hey folks,
 >
 > Would it be possible to change the pgAdmin keyboard shortcuts for=20=20
OS X
 > to make use of common Mac shorcuts?
 > Some examples:
 > - in the Query window, Cmd + arrow would be great instead of the
 > current Fn + arrow to navigate to beggining or end of a line/do***ent
 > - Cmd + w to close a window

The query tool ones may well be out of our hands as the
wxStyledTextControl handles most of the editting grunt work. The other
ones are on the TODO already :-)

and a quick-google after wxStyledTextControl delivers:
http://www.yellowbrain.com/stc/keymap.html
---- SNIP ----
wxStyledTextCtrl - Key Mapping and Execution
	=95 CmdKeyAssign
	=95 CmdKeyClear
	=95 CmdKeyClearAll
	=95 CmdKeyExecute
---- SNIP ----
backgrounder:

The STC has a default mapping between certain keys and functions. This=20=
=20
is simplified/summarized below, but also see the source files: contrib/=20
src/stc/Scintilla/src/KeyMap.cxx and contrib/src/stc/Scintilla/include/=20
Scintilla.iface.

The actual keystroke mappings occur in a platform-adaptation layer,=20=20
e.g., see contrib/src/stc/ScintillaWx.cpp.

---- SNIP -----



So, if i would have more time i would dig into this and create some=20=20
better KeyMappings (either through definition in file, or through=20=20
inline modification via CmdKeyAssign ...) for the Control for OSX, but=20=
=20
i am currently swamped with work ...



but maybe another guy can have a look on it, or i will check it in a=20=20
few weeks/month ....



best regards



Raimund Sacherer
---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster
 




 1 Posts in Topic:
Mac OS-X and Key Bindings
raimund.sacherer@[EMAIL P  2008-02-27 15:55:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Thu Jul 24 1:47:47 CDT 2008.