aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/KeyMap.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-02-12 03:34:52 +0000
committernyamatongwe <unknown>2002-02-12 03:34:52 +0000
commit1ff8c42c2f48973e873ed61f36a0e3be3c830b84 (patch)
tree8fe49a32298d50683cafe1b03bf44a4d5dd32920 /src/KeyMap.cxx
parent505e208a63d2765f05c79ff4c42d264d83eb868f (diff)
downloadscintilla-mirror-1ff8c42c2f48973e873ed61f36a0e3be3c830b84.tar.gz
Made lexer objects const so they do not show up in map as static / globals.
File specific inline functions marker as static to ensure no bad linking.
Diffstat (limited to 'src/KeyMap.cxx')
-rw-r--r--src/KeyMap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KeyMap.cxx b/src/KeyMap.cxx
index e1fe8e032..761df4c8f 100644
--- a/src/KeyMap.cxx
+++ b/src/KeyMap.cxx
@@ -62,7 +62,7 @@ unsigned int KeyMap::Find(int key, int modifiers) {
return 0;
}
-KeyToCommand KeyMap::MapDefault[] = {
+const KeyToCommand KeyMap::MapDefault[] = {
{SCK_DOWN, SCI_NORM, SCI_LINEDOWN},
{SCK_DOWN, SCI_SHIFT, SCI_LINEDOWNEXTEND},
{SCK_DOWN, SCI_CTRL, SCI_LINESCROLLDOWN},