class EE::UI::Doc::TextUndoCommandSelection¶
#include <textundostack.hpp> class TextUndoCommandSelection: public EE::UI::Doc::TextUndoCommand { public: // construction TextUndoCommandSelection(const Uint64& id, const size_t& cursorIdx, const TextRanges& selection, const Time& timestamp); // methods const TextRanges& getSelection() const; size_t getCursorIdx() const; virtual nlohmann::json toJSON() const; static TextUndoCommandSelection fromJSON(nlohmann::json j, Uint64 id); };
Inherited Members¶
public: // methods const Uint64& getId() const; const TextUndoCommandType& getType() const; const Time& getTimestamp() const; virtual nlohmann::json toJSON() const = 0;