mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
Clarify some comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32780 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0fd5b1d43f
commit
2177259e39
@ -108,16 +108,19 @@ private:
|
|||||||
void newFunc(FuncCode, std::string const & name, unsigned int attrib, FuncType type);
|
void newFunc(FuncCode, std::string const & name, unsigned int attrib, FuncType type);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is a list of all the LyXFunc names with the
|
* This maps LyX function names to function codes, e.g.:
|
||||||
* coresponding action number. It is usually only used by the
|
* lyx_func_map["ert-insert"] == LFUN_ERT_INSERT
|
||||||
* minibuffer or when assigning commands to keys during init.
|
|
||||||
*/
|
*/
|
||||||
FuncMap lyx_func_map;
|
FuncMap lyx_func_map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is a mapping from action number to an object holding
|
* This maps function codes to objects holding info about the corresponding
|
||||||
* info about this action. f.ex. command name (string),
|
* action. E.g., if
|
||||||
* command attributes (ro)
|
* FuncInfo const & ert = lyx_info_map[LFUN_ERT_INSERT];
|
||||||
|
* then:
|
||||||
|
* ert.name == "ert-insert"'
|
||||||
|
* ert.attrib == Noop
|
||||||
|
* ert.type == Edit
|
||||||
*/
|
*/
|
||||||
InfoMap lyx_info_map;
|
InfoMap lyx_info_map;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user