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
![]() ![]() |
To optimise processing of document modifications by DocWatchers, a hint is passed indicating the scope of the change. More...
#include <Document.h>
Public Member Functions | |
DocModification (int modificationType_, Sci::Position position_=0, Sci::Position length_=0, Sci::Line linesAdded_=0, const char *text_=nullptr, Sci::Line line_=0) noexcept | |
DocModification (int modificationType_, const Action &act, Sci::Line linesAdded_=0) noexcept | |
Public Attributes | |
int | modificationType |
Sci::Position | position |
Sci::Position | length |
Sci::Line | linesAdded |
Negative if lines deleted. More... | |
const char * | text |
Only valid for changes to text, not for changes to style. More... | |
Sci::Line | line |
int | foldLevelNow |
int | foldLevelPrev |
Sci::Line | annotationLinesAdded |
Sci::Position | token |
To optimise processing of document modifications by DocWatchers, a hint is passed indicating the scope of the change.
If the DocWatcher is a document view then this can be used to optimise screen updating.
Definition at line 543 of file Document.h.
|
inlinenoexcept |
Definition at line 556 of file Document.h.
|
inlinenoexcept |
Definition at line 569 of file Document.h.
Sci::Line Scintilla::DocModification::annotationLinesAdded |
Definition at line 553 of file Document.h.
Referenced by Scintilla::Document::AnnotationSetText(), and Scintilla::Editor::NotifyModified().
int Scintilla::DocModification::foldLevelNow |
Definition at line 551 of file Document.h.
Referenced by Scintilla::Editor::NotifyModified(), and Scintilla::Document::SetLevel().
int Scintilla::DocModification::foldLevelPrev |
Definition at line 552 of file Document.h.
Referenced by Scintilla::Editor::NotifyModified(), and Scintilla::Document::SetLevel().
Sci::Position Scintilla::DocModification::length |
Definition at line 547 of file Document.h.
Referenced by Scintilla::Document::NotifyModified(), and Scintilla::Editor::NotifyModified().
Sci::Line Scintilla::DocModification::line |
Definition at line 550 of file Document.h.
Referenced by Scintilla::Document::DeleteAllMarks(), Scintilla::Document::DeleteMarkFromHandle(), and Scintilla::Editor::NotifyModified().
Sci::Line Scintilla::DocModification::linesAdded |
Negative if lines deleted.
Definition at line 548 of file Document.h.
Referenced by Scintilla::Editor::CheckModificationForWrap(), and Scintilla::Editor::NotifyModified().
int Scintilla::DocModification::modificationType |
Definition at line 545 of file Document.h.
Referenced by Scintilla::Editor::CheckModificationForWrap(), Scintilla::Document::NotifyModified(), and Scintilla::Editor::NotifyModified().
Sci::Position Scintilla::DocModification::position |
Definition at line 546 of file Document.h.
Referenced by Scintilla::Editor::CheckModificationForWrap(), Scintilla::Document::NotifyModified(), and Scintilla::Editor::NotifyModified().
const char* Scintilla::DocModification::text |
Only valid for changes to text, not for changes to style.
Definition at line 549 of file Document.h.
Referenced by Scintilla::Editor::NotifyModified().
Sci::Position Scintilla::DocModification::token |
Definition at line 554 of file Document.h.
Referenced by Scintilla::Editor::NotifyModified(), Scintilla::Document::Redo(), Scintilla::Document::TentativeUndo(), and Scintilla::Document::Undo().