root/branches/mbutscher/work/WikidPadHelp/data/KeyBindingsOnLinuxAndOsx.wiki @ 258

Revision 258, 2.1 kB (checked in by APA, 2 years ago)

WikidPadHelp?: more changes

Line 
1[:page:PageHeader][:toc:]
2+ Key Bindings On Linux And Osx
3
4The original KeyBindings are for MsWindows.
5
6Some of them doesn't work on Linux or [MacOSX] because they are reserved by the Operating System or the Desktop Environment itself. Or due to other reasons.
7
8Additionally the MsWindows' [Ctrl] key is existing on MacOSX as well.
9At least it seems so. But in reality one has to use the "Command" key instead.
10
11Example:
12The original keybinding [Ctrl-Space] for AutoComplete is technically equivalent to the key Command-Space on OSX which in fact is used to start Apple Spotlight. Thus, it can't be used by WikidPad.
13
14As described in page ChangingKeyBindings it is possible to implement workarounds.
15
16This could be done locally in "user_extensions".
17But preferrably You do it globally in the directory "extensions".
18
19Here is a list of already known problems/differences.
20(This is going to be a bit technically for now...)
21
22<<pre
23-----------------------------------------
24
25if wx.Platform == "__WXMSW__":
26    ActivateLinkNewTab="Ctrl-Alt-L"
27    ActivateLinkBackground="Ctrl-Shift-L"
28else:
29#elif wx.Platform == "__WXGTK__":
30    # On Linux (at least with KDE) the above Windows' key bindings doesn't work
31    #    "Ctrl-Alt-L"     creates character 0xFF (and is in KDE command interface)
32    #    "Ctrl-Shift-L"   simply does nothing
33    ActivateLinkNewTab="Alt-Shift-L"
34    ActivateLinkBackground="Alt-Shift-Ctrl-L"
35    # to test: What about MacOSX?   wx.Platform == "__WXMAC__"
36
37-----------------------------------------
38
39if wx.Platform == "__WXMAC__":
40    GoHome="Ctrl-Shift-H"
41    StartIncrementalSearch="Alt-Shift-F"
42    FocusFastSearchField="Alt-Shift-S"
43else:
44    GoHome="Ctrl-Q"
45    StartIncrementalSearch="Ctrl-F"
46    FocusFastSearchField="Ctrl-Shift-F"
47
48-----------------------------------------
49
50ShowSwitchEditorPreview="Ctrl-Shift-Space"
51#if wx.Platform == "__WXMAC__":
52    # no good keybinding found that works on Mac
53    # ShowSwitchEditorPreview="??????"
54
55-----------------------------------------
56
57if wx.Platform == "__WXMAC__":
58    AutoComplete="Alt-Space"
59else:
60    AutoComplete="Ctrl-Space"
61>>
62
63
64[:page:PageFooter]
Note: See TracBrowser for help on using the browser.