/// type for map between an action and its info
typedef std::map<kb_action, func_info> info_map;
/// type for map between an action and its info
typedef std::map<kb_action, func_info> info_map;
Noop = 0, //< nothing special about this func
ReadOnly = 1, //< can be used in RO mode (perhaps this should change)
NoBuffer = 2, //< Can be used when there is no document open
Noop = 0, //< nothing special about this func
ReadOnly = 1, //< can be used in RO mode (perhaps this should change)
NoBuffer = 2, //< Can be used when there is no document open
- Argument = 4 //< Requires argument
+ Argument = 4, //< Requires argument
+ NoUpdate = 8, //< Does not (usually) require update
+ SingleParUpdate = 16 //< Usually only requires this par updated
* If you include arguments in func_name, a new pseudoaction
* will be created if needed.
*/
* If you include arguments in func_name, a new pseudoaction
* will be created if needed.
*/
/// True if the command has `flag' set
bool funcHasFlag(kb_action action, func_attrib flag) const;
/// True if the command has `flag' set
bool funcHasFlag(kb_action action, func_attrib flag) const;