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


|