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
![]() ![]() |
#include <PerLine.h>
Public Member Functions | |
LineLevels () | |
LineLevels (const LineLevels &)=delete | |
LineLevels (LineLevels &&)=delete | |
void | operator= (const LineLevels &)=delete |
void | operator= (LineLevels &&)=delete |
~LineLevels () override | |
void | Init () override |
void | InsertLine (Sci::Line line) override |
void | InsertLines (Sci::Line line, Sci::Line lines) override |
void | RemoveLine (Sci::Line line) override |
void | ExpandLevels (Sci::Line sizeNew=-1) |
void | ClearLevels () |
int | SetLevel (Sci::Line line, int level, Sci::Line lines) |
int | GetLevel (Sci::Line line) const noexcept |
![]() | |
virtual | ~PerLine () |
virtual void | Init ()=0 |
virtual void | InsertLine (Sci::Line line)=0 |
virtual void | InsertLines (Sci::Line line, Sci::Line lines)=0 |
virtual void | RemoveLine (Sci::Line line)=0 |
Private Attributes | |
SplitVector< int > | levels |
|
delete |
|
delete |
|
override |
Definition at line 217 of file PerLine.cxx.
void LineLevels::ClearLevels | ( | ) |
Definition at line 255 of file PerLine.cxx.
References levels.
Referenced by Scintilla::Document::ClearLevels().
void LineLevels::ExpandLevels | ( | Sci::Line | sizeNew = -1 | ) |
Definition at line 251 of file PerLine.cxx.
References levels, and SC_FOLDLEVELBASE.
Referenced by SetLevel().
|
noexcept |
Definition at line 273 of file PerLine.cxx.
References line, and SC_FOLDLEVELBASE.
Referenced by Scintilla::Document::GetLevel().
|
overridevirtual |
|
overridevirtual |
Implements Scintilla::PerLine.
Definition at line 224 of file PerLine.cxx.
References levels, line, and SC_FOLDLEVELBASE.
Implements Scintilla::PerLine.
Definition at line 231 of file PerLine.cxx.
References levels, line, lines, and SC_FOLDLEVELBASE.
|
delete |
|
delete |
|
overridevirtual |
Implements Scintilla::PerLine.
Definition at line 238 of file PerLine.cxx.
References levels, line, and SC_FOLDLEVELHEADERFLAG.
Definition at line 259 of file PerLine.cxx.
References ExpandLevels(), levels, line, and lines.
Referenced by Scintilla::Document::SetLevel().
|
private |
Definition at line 77 of file PerLine.h.
Referenced by ClearLevels(), ExpandLevels(), Init(), InsertLine(), InsertLines(), RemoveLine(), and SetLevel().