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
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Scintilla::DocModification Class Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ DocModification() [1/2]

Scintilla::DocModification::DocModification ( int  modificationType_,
Sci::Position  position_ = 0,
Sci::Position  length_ = 0,
Sci::Line  linesAdded_ = 0,
const char *  text_ = nullptr,
Sci::Line  line_ = 0 
)
inlinenoexcept

Definition at line 556 of file Document.h.

◆ DocModification() [2/2]

Scintilla::DocModification::DocModification ( int  modificationType_,
const Action act,
Sci::Line  linesAdded_ = 0 
)
inlinenoexcept

Definition at line 569 of file Document.h.

Member Data Documentation

◆ annotationLinesAdded

Sci::Line Scintilla::DocModification::annotationLinesAdded

◆ foldLevelNow

int Scintilla::DocModification::foldLevelNow

Definition at line 551 of file Document.h.

Referenced by Scintilla::Editor::NotifyModified(), and Scintilla::Document::SetLevel().

◆ foldLevelPrev

int Scintilla::DocModification::foldLevelPrev

Definition at line 552 of file Document.h.

Referenced by Scintilla::Editor::NotifyModified(), and Scintilla::Document::SetLevel().

◆ length

Sci::Position Scintilla::DocModification::length

◆ line

◆ linesAdded

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().

◆ modificationType

int Scintilla::DocModification::modificationType

◆ position

◆ text

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().

◆ token


The documentation for this class was generated from the following file: