Math, //< Mathematics
Buffer, //< Buffer and window related
Layout, //< Font, Layout and textclass related
Math, //< Mathematics
Buffer, //< Buffer and window related
Layout, //< Font, Layout and textclass related
/// possible "permissions" for an action
enum FuncAttribs {
Noop = 0, //< Nothing special about this func
/// possible "permissions" for an action
enum FuncAttribs {
Noop = 0, //< Nothing special about this func
NoBuffer = 2, //< Can be used when there is no document open
Argument = 4, //< Requires argument
NoUpdate = 8, //< Does not (usually) require update
SingleParUpdate = 16, //< Usually only requires this par updated
AtPoint = 32, //< dispatch first to inset at cursor if there is one
NoBuffer = 2, //< Can be used when there is no document open
Argument = 4, //< Requires argument
NoUpdate = 8, //< Does not (usually) require update
SingleParUpdate = 16, //< Usually only requires this par updated
AtPoint = 32, //< dispatch first to inset at cursor if there is one
* Creates a FuncRequest from a string of the form:
* lyx-function [argument]
* where the argument is optional and "lyx-function" is in the form you'd
* Creates a FuncRequest from a string of the form:
* lyx-function [argument]
* where the argument is optional and "lyx-function" is in the form you'd
/// True if the command has `flag' set
bool funcHasFlag(FuncCode action, FuncAttribs flag) const;
/// True if the command has `flag' set
bool funcHasFlag(FuncCode action, FuncAttribs flag) const;