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

#include <PerLine.h>

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

Public Member Functions

 LineAnnotation ()
 
 LineAnnotation (const LineAnnotation &)=delete
 
 LineAnnotation (LineAnnotation &&)=delete
 
void operator= (const LineAnnotation &)=delete
 
void operator= (LineAnnotation &&)=delete
 
 ~LineAnnotation () 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
 
bool MultipleStyles (Sci::Line line) const noexcept
 
int Style (Sci::Line line) const noexcept
 
const char * Text (Sci::Line line) const noexcept
 
const unsigned char * Styles (Sci::Line line) const noexcept
 
void SetText (Sci::Line line, const char *text)
 
void ClearAll ()
 
void SetStyle (Sci::Line line, int style)
 
void SetStyles (Sci::Line line, const unsigned char *styles)
 
int Length (Sci::Line line) const noexcept
 
int Lines (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< std::unique_ptr< char[]> > annotations
 

Detailed Description

Definition at line 119 of file PerLine.h.

Constructor & Destructor Documentation

◆ LineAnnotation() [1/3]

Scintilla::LineAnnotation::LineAnnotation ( )
inline

Definition at line 122 of file PerLine.h.

◆ LineAnnotation() [2/3]

Scintilla::LineAnnotation::LineAnnotation ( const LineAnnotation )
delete

◆ LineAnnotation() [3/3]

Scintilla::LineAnnotation::LineAnnotation ( LineAnnotation &&  )
delete

◆ ~LineAnnotation()

LineAnnotation::~LineAnnotation ( )
override

Definition at line 360 of file PerLine.cxx.

Member Function Documentation

◆ ClearAll()

void LineAnnotation::ClearAll ( )

◆ Init()

void LineAnnotation::Init ( )
overridevirtual

Implements Scintilla::PerLine.

Definition at line 363 of file PerLine.cxx.

References ClearAll().

◆ InsertLine()

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

Implements Scintilla::PerLine.

Definition at line 367 of file PerLine.cxx.

References annotations, and line.

◆ InsertLines()

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

Implements Scintilla::PerLine.

Definition at line 374 of file PerLine.cxx.

References annotations, line, and lines.

◆ Length()

int LineAnnotation::Length ( Sci::Line  line) const
noexcept

◆ Lines()

int LineAnnotation::Lines ( Sci::Line  line) const
noexcept

Definition at line 476 of file PerLine.cxx.

References line, and lines.

◆ MultipleStyles()

bool LineAnnotation::MultipleStyles ( Sci::Line  line) const
noexcept

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ RemoveLine()

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

Implements Scintilla::PerLine.

Definition at line 381 of file PerLine.cxx.

References annotations, and line.

◆ SetStyle()

void LineAnnotation::SetStyle ( Sci::Line  line,
int  style 
)

◆ SetStyles()

void LineAnnotation::SetStyles ( Sci::Line  line,
const unsigned char *  styles 
)

◆ SetText()

◆ Style()

int LineAnnotation::Style ( Sci::Line  line) const
noexcept

◆ Styles()

const unsigned char * LineAnnotation::Styles ( Sci::Line  line) const
noexcept

◆ Text()

const char * LineAnnotation::Text ( Sci::Line  line) const
noexcept

Member Data Documentation

◆ annotations

SplitVector<std::unique_ptr<char []> > Scintilla::LineAnnotation::annotations
private

Definition at line 120 of file PerLine.h.

Referenced by ClearAll(), InsertLine(), InsertLines(), RemoveLine(), SetStyle(), SetStyles(), and SetText().


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