]> git.lyx.org Git - lyx.git/blobdiff - src/KeyMap.h
inset-edit should not make a buffer dirty (it edits the external files used by the...
[lyx.git] / src / KeyMap.h
index b4f4cd133125f8af918461f5a837fe62b57a1dd2..cc7c15595915cf3ec9ea94e65125f8e4d964536c 100644 (file)
@@ -56,9 +56,11 @@ public:
                    unsigned int r = 0);
 
 
-       /// if a keybinding has been defined.
-       bool hasBinding(KeySequence const & seq, FuncRequest const & func,
-                       unsigned int r = 0);
+       /// returns the function bound to this key sequence, or 
+       /// FuncRequest::unknown if no binding exists for it.
+       /// @param r an internal recursion counter
+       // FIXME Surely there's a better way to do that?
+       FuncRequest getBinding(KeySequence const & seq, unsigned int r = 0);
 
        /// clear all bindings
        void clear();