Coverage for C:\leo.repo\leo-editor\leo\commands\keyCommands.py: 100%
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1# -*- coding: utf-8 -*-
2#@+leo-ver=5-thin
3#@+node:ekr.20150514040140.1: * @file ../commands/keyCommands.py
4#@@first
5"""Leo's key-handling commands."""
6from leo.core import leoGlobals as g
7from leo.commands.baseCommands import BaseEditCommandsClass
8#@+others
9#@+node:ekr.20160514120948.1: ** class KeyHandlerCommandsClass
10class KeyHandlerCommandsClass(BaseEditCommandsClass):
11 """User commands to access the keyHandler class."""
12 #@+others
13 #@+node:ekr.20150514063305.406: *3* menuShortcutPlaceHolder
14 @g.command('menu-shortcut')
15 def menuShortcutPlaceHolder(self, event=None):
16 """
17 This will never be called.
18 A placeholder for the show-bindings command.
19 """
20 #@-others
21#@-others
22#@-leo