]> git.lyx.org Git - lyx.git/blobdiff - src/KeyMap.h
Update it.po
[lyx.git] / src / KeyMap.h
index ee992de628142f75c600bdfdd6e1b38eeee368ea..f76fa85f2adf63a0018ce82d42b56dd34ed78965 100644 (file)
@@ -56,11 +56,13 @@ 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
+       /// clear all bindings
        void clear();
 
        /** Parse a bind file. If a valid unbind_map is given, put \unbind 
@@ -104,7 +106,8 @@ public:
        Bindings findBindings(FuncRequest const & func) const;
 
        /// Given an action, print the keybindings.
-       docstring printBindings(FuncRequest const & func) const;
+       docstring printBindings(FuncRequest const & func,
+                               KeySequence::outputFormat format) const;
 
        struct Binding {
                Binding(FuncRequest const & r, KeySequence const & s, ItemType t)