/// possible "permissions" for an action
enum func_attrib {
- Noop = 0, //< nothing special about this func
- ReadOnly = 1, //< can be used in RO mode (perhaps this should change); no automatic markDirty
+ Noop = 0, //< Nothing special about this func
+ ReadOnly = 1, //< Can be used in RO mode (perhaps this should change); no automatic markDirty
NoBuffer = 2, //< Can be used when there is no document open
Argument = 4, //< Requires argument
NoUpdate = 8, //< Does not (usually) require update
/// Return the name (and argument) associated with the given (pseudo) action
std::string const getActionName(FuncCode action) const;
- func_type const getActionType(FuncCode action) const;
+ func_type getActionType(FuncCode action) const;
/// True if the command has `flag' set
bool funcHasFlag(FuncCode action, func_attrib flag) const;