Name

GroveCommand

Synopsis

class GroveCommand : public CommandSernaApi::Command {
public:
  

  enum CommandFlags { CF_NONE =  0, CF_NOVISUAL =  01, CF_NOSKEL =  02, CF_RMATT =  04, CF_BATCH =  010 };
  // construct/copy/destruct
  GroveCommand(SernaApiBase *);
  ~GroveCommand();

  // public member functions

  CommandFlags flags() const;
  GroveNode validationContext() const;
  GrovePos pos() const;
};

Description

GroveCommand construct/copy/destruct

  1. GroveCommand(SernaApiBase * );


  2. ~GroveCommand();


GroveCommand public member functions

  1. CommandFlags flags() const;

    Returns command flags as above.


  2. GroveNode validationContext() const;

    Returns validation context for this command (root of the subtree which should be re-validated after command execution)


  3. GrovePos pos() const;

    Returns suggested cursor position after command execution.