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::LineLevels Class Reference

#include <PerLine.h>

Inheritance diagram for Scintilla::LineLevels:
[legend]
Collaboration diagram for Scintilla::LineLevels:
[legend]

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
 
- Public Member Functions inherited from Scintilla::PerLine
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
 

Detailed Description

Definition at line 76 of file PerLine.h.

Constructor & Destructor Documentation

◆ LineLevels() [1/3]

Scintilla::LineLevels::LineLevels ( )
inline

Definition at line 79 of file PerLine.h.

◆ LineLevels() [2/3]

Scintilla::LineLevels::LineLevels ( const LineLevels )
delete

◆ LineLevels() [3/3]

Scintilla::LineLevels::LineLevels ( LineLevels &&  )
delete

◆ ~LineLevels()

LineLevels::~LineLevels ( )
override

Definition at line 217 of file PerLine.cxx.

Member Function Documentation

◆ ClearLevels()

void LineLevels::ClearLevels ( )

Definition at line 255 of file PerLine.cxx.

References levels.

Referenced by Scintilla::Document::ClearLevels().

◆ ExpandLevels()

void LineLevels::ExpandLevels ( Sci::Line  sizeNew = -1)

Definition at line 251 of file PerLine.cxx.

References levels, and SC_FOLDLEVELBASE.

Referenced by SetLevel().

◆ GetLevel()

int LineLevels::GetLevel ( Sci::Line  line) const
noexcept

Definition at line 273 of file PerLine.cxx.

References line, and SC_FOLDLEVELBASE.

Referenced by Scintilla::Document::GetLevel().

◆ Init()

void LineLevels::Init ( )
overridevirtual

Implements Scintilla::PerLine.

Definition at line 220 of file PerLine.cxx.

References levels.

◆ InsertLine()

void LineLevels::InsertLine ( Sci::Line  line)
overridevirtual

Implements Scintilla::PerLine.

Definition at line 224 of file PerLine.cxx.

References levels, line, and SC_FOLDLEVELBASE.

◆ InsertLines()

void LineLevels::InsertLines ( Sci::Line  line,
Sci::Line  lines 
)
overridevirtual

Implements Scintilla::PerLine.

Definition at line 231 of file PerLine.cxx.

References levels, line, lines, and SC_FOLDLEVELBASE.

◆ operator=() [1/2]

void Scintilla::LineLevels::operator= ( const LineLevels )
delete

◆ operator=() [2/2]

void Scintilla::LineLevels::operator= ( LineLevels &&  )
delete

◆ RemoveLine()

void LineLevels::RemoveLine ( Sci::Line  line)
overridevirtual

Implements Scintilla::PerLine.

Definition at line 238 of file PerLine.cxx.

References levels, line, and SC_FOLDLEVELHEADERFLAG.

◆ SetLevel()

int LineLevels::SetLevel ( Sci::Line  line,
int  level,
Sci::Line  lines 
)

Definition at line 259 of file PerLine.cxx.

References ExpandLevels(), levels, line, and lines.

Referenced by Scintilla::Document::SetLevel().

Member Data Documentation

◆ levels

SplitVector<int> Scintilla::LineLevels::levels
private

Definition at line 77 of file PerLine.h.

Referenced by ClearLevels(), ExpandLevels(), Init(), InsertLine(), InsertLines(), RemoveLine(), and SetLevel().


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