geany
1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
![]() ![]() |
Actions are used to store all the information required to perform one undo/redo step. More...
#include <CellBuffer.h>
Public Member Functions | |
Action () noexcept | |
Action (const Action &other)=delete | |
Action & | operator= (const Action &other)=delete |
Action & | operator= (const Action &&other)=delete |
Action (Action &&other) noexcept=default | |
~Action () | |
void | Create (actionType at_, Sci::Position position_=0, const char *data_=nullptr, Sci::Position lenData_=0, bool mayCoalesce_=true) |
void | Clear () noexcept |
Public Attributes | |
actionType | at |
Sci::Position | position |
std::unique_ptr< char[]> | data |
Sci::Position | lenData |
bool | mayCoalesce |
Actions are used to store all the information required to perform one undo/redo step.
Definition at line 33 of file CellBuffer.h.
|
noexcept |
Definition at line 303 of file CellBuffer.cxx.
References at, lenData, mayCoalesce, position, and Scintilla::startAction.
|
delete |
|
defaultnoexcept |
Action::~Action | ( | ) |
Definition at line 310 of file CellBuffer.cxx.
|
noexcept |
Definition at line 325 of file CellBuffer.cxx.
void Action::Create | ( | actionType | at_, |
Sci::Position | position_ = 0 , |
||
const char * | data_ = nullptr , |
||
Sci::Position | lenData_ = 0 , |
||
bool | mayCoalesce_ = true |
||
) |
Definition at line 313 of file CellBuffer.cxx.
References at, data, lenData, mayCoalesce, and position.
actionType Scintilla::Action::at |
Definition at line 35 of file CellBuffer.h.
Referenced by gen-api-gtkdoc.DoxygenProcess::__process_element(), Action(), Scintilla::UndoHistory::AppendAction(), Create(), gen-api-gtkdoc.DoxygenProcess::get_return(), gen-api-gtkdoc.DoxygenProcess::get_since(), gen-api-gtkdoc.DoxygenProcess::join_annot(), Scintilla::CellBuffer::PerformRedoStep(), Scintilla::CellBuffer::PerformUndoStep(), gen-api-gtkdoc.DoxygenProcess::process_element(), Scintilla::Document::Redo(), Scintilla::Document::TentativeUndo(), and Scintilla::Document::Undo().
std::unique_ptr<char[]> Scintilla::Action::data |
Definition at line 37 of file CellBuffer.h.
Referenced by Clear(), Create(), Scintilla::CellBuffer::PerformRedoStep(), Scintilla::CellBuffer::PerformUndoStep(), Scintilla::Document::Redo(), Scintilla::Document::TentativeUndo(), and Scintilla::Document::Undo().
Sci::Position Scintilla::Action::lenData |
Definition at line 38 of file CellBuffer.h.
Referenced by Action(), Scintilla::UndoHistory::AppendAction(), Clear(), Create(), Scintilla::CellBuffer::PerformRedoStep(), Scintilla::CellBuffer::PerformUndoStep(), Scintilla::Document::Redo(), Scintilla::Document::TentativeUndo(), and Scintilla::Document::Undo().
bool Scintilla::Action::mayCoalesce |
Definition at line 39 of file CellBuffer.h.
Referenced by Action(), Scintilla::UndoHistory::AppendAction(), Create(), and Scintilla::Document::Undo().
Sci::Position Scintilla::Action::position |
Definition at line 36 of file CellBuffer.h.
Referenced by Action(), Scintilla::UndoHistory::AppendAction(), Create(), Scintilla::CellBuffer::PerformRedoStep(), Scintilla::CellBuffer::PerformUndoStep(), Scintilla::Document::Redo(), Scintilla::Document::TentativeUndo(), and Scintilla::Document::Undo().