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 | |
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 |
![]() | |
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 |
|
delete |
|
delete |
|
override |
Definition at line 360 of file PerLine.cxx.
void LineAnnotation::ClearAll | ( | ) |
Definition at line 435 of file PerLine.cxx.
References annotations.
Referenced by Scintilla::Document::AnnotationClearAll(), Scintilla::Document::EOLAnnotationClearAll(), Init(), and Scintilla::Document::MarginClearAll().
|
overridevirtual |
|
overridevirtual |
Implements Scintilla::PerLine.
Definition at line 367 of file PerLine.cxx.
References annotations, and line.
Implements Scintilla::PerLine.
Definition at line 374 of file PerLine.cxx.
References annotations, line, and lines.
|
noexcept |
Definition at line 469 of file PerLine.cxx.
References line.
Referenced by Scintilla::Document::AnnotationStyledText(), Scintilla::Document::EOLAnnotationStyledText(), and Scintilla::Document::MarginStyledText().
|
noexcept |
Definition at line 476 of file PerLine.cxx.
|
noexcept |
Definition at line 388 of file PerLine.cxx.
References line.
Referenced by Scintilla::Document::AnnotationStyledText(), Scintilla::Document::EOLAnnotationStyledText(), and Scintilla::Document::MarginStyledText().
|
delete |
|
delete |
|
overridevirtual |
Implements Scintilla::PerLine.
Definition at line 381 of file PerLine.cxx.
References annotations, and line.
void LineAnnotation::SetStyle | ( | Sci::Line | line, |
int | style | ||
) |
Definition at line 439 of file PerLine.cxx.
References annotations, and line.
Referenced by Scintilla::Document::AnnotationSetStyle(), Scintilla::Document::EOLAnnotationSetStyle(), and Scintilla::Document::MarginSetStyle().
void LineAnnotation::SetStyles | ( | Sci::Line | line, |
const unsigned char * | styles | ||
) |
Definition at line 447 of file PerLine.cxx.
References annotations, AnnotationHeader::length, line, AnnotationHeader::lines, and AnnotationHeader::style.
Referenced by Scintilla::Document::AnnotationSetStyles(), and Scintilla::Document::MarginSetStyles().
void LineAnnotation::SetText | ( | Sci::Line | line, |
const char * | text | ||
) |
Definition at line 416 of file PerLine.cxx.
References annotations, AnnotationHeader::length, line, AnnotationHeader::lines, AnnotationHeader::style, Style(), and text.
Referenced by Scintilla::Document::AnnotationSetText(), Scintilla::Document::EOLAnnotationSetText(), and Scintilla::Document::MarginSetText().
|
noexcept |
Definition at line 395 of file PerLine.cxx.
References line.
Referenced by Scintilla::Document::AnnotationStyledText(), Scintilla::Document::EOLAnnotationStyledText(), Scintilla::Document::MarginStyledText(), and SetText().
|
noexcept |
Definition at line 409 of file PerLine.cxx.
References line.
Referenced by Scintilla::Document::AnnotationStyledText(), Scintilla::Document::EOLAnnotationStyledText(), and Scintilla::Document::MarginStyledText().
|
noexcept |
Definition at line 402 of file PerLine.cxx.
References line.
Referenced by Scintilla::Document::AnnotationStyledText(), Scintilla::Document::EOLAnnotationStyledText(), and Scintilla::Document::MarginStyledText().
|
private |
Definition at line 120 of file PerLine.h.
Referenced by ClearAll(), InsertLine(), InsertLines(), RemoveLine(), SetStyle(), SetStyles(), and SetText().