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
![]() ![]() |
Styling buffer using one element for each run rather than using a filled buffer. More...
Classes | |
class | Accessor |
class | Action |
Actions are used to store all the information required to perform one undo/redo step. More... | |
class | ActionDuration |
The ActionDuration class stores the average time taken for some action such as styling or wrapping a line. More... | |
class | AutoComplete |
class | AutoLineLayout |
Convenience class to ensure LineLayout objects are always disposed. More... | |
class | AutoSurface |
A smart pointer class to ensure Surfaces are set up and deleted correctly. More... | |
class | BreakFinder |
class | CallTip |
class | Caret |
struct | CaretPolicies |
struct | CaretPolicy |
class | CaseFolder |
class | CaseFolderTable |
class | CaseFolderUnicode |
class | Catalogue |
class | CatalogueModules |
class | CellBuffer |
Holder for an expandable array of characters that supports undo and line markers. More... | |
class | CharacterCategoryMap |
class | CharacterIndexer |
class | CharacterSet |
class | CharClassify |
struct | Chunk |
class | ColourAlpha |
Holds an RGBA colour. More... | |
class | ColourDesired |
class | ColourOptional |
class | ColourStop |
Holds an element of a gradient with an RGBA colour and a relative position. More... | |
class | Converter |
Encapsulate g_iconv safely. More... | |
struct | CountWidths |
class | DefaultLexer |
class | DocModification |
To optimise processing of document modifications by DocWatchers, a hint is passed indicating the scope of the change. More... | |
class | Document |
class | DocWatcher |
A class that wants to receive notifications from a Document must be derived from DocWatcher and implement the notification methods. More... | |
class | DynamicLibrary |
Dynamic Library (DLL/SO/...) loading. More... | |
struct | EdgeProperties |
class | EditModel |
class | Editor |
class | EditView |
EditView draws the main text area. More... | |
class | ElapsedPeriod |
struct | FillResult |
class | Font |
class | FontAlias |
struct | FontMeasurements |
struct | FontParameters |
Font management. More... | |
class | FontRealised |
struct | FontSpecification |
struct | ForeBackColours |
class | GObjectWatcher |
class | HighlightDelimiter |
class | ICaseConverter |
class | IContractionState |
class | IDecoration |
class | IDecorationList |
class | Idler |
class | IDocument |
class | IDocumentWithLineEnd |
class | ILexer |
class | ILexerWithIdentity |
class | ILexerWithMetaData |
class | ILexerWithSubStyles |
class | ILineVector |
class | IListBoxDelegate |
class | Indicator |
struct | IntegerRectangle |
class | KeyMap |
class | KeyModifiers |
class | KeyToCommand |
class | LexAccessor |
class | LexerBase |
class | LexerModule |
A LexerModule is responsible for lexing and folding a particular language. More... | |
class | LexerNoExceptions |
class | LexerSimple |
struct | LexicalClass |
class | LexInterface |
class | LineAnnotation |
class | LineLayout |
class | LineLayoutCache |
class | LineLevels |
class | LineMarker |
class | LineMarkers |
class | LineState |
class | LineTabstops |
class | ListBox |
struct | ListBoxEvent |
Listbox management. More... | |
class | MarginStyle |
class | MarginView |
MarginView draws the margins. More... | |
struct | MarkerHandleNumber |
This holds the marker identifier and the marker type to display. More... | |
class | MarkerHandleSet |
A marker handle set contains any number of MarkerHandleNumbers. More... | |
class | Menu |
Menu management. More... | |
class | OptionSet |
class | Partitioning |
Divide an interval into multiple partitions. More... | |
class | PerLine |
class | Platform |
Platform class used to retrieve system wide parameters such as double click speed and chrome colour. More... | |
class | Point |
A geometric point class. More... | |
class | PointDocument |
A point in document space. More... | |
class | PositionCache |
class | PositionCacheEntry |
class | PRectangle |
A geometric rectangle class. More... | |
struct | PrintParameters |
class | PropSetSimple |
class | Range |
The range class represents a range of text in a document. More... | |
struct | RegexError |
class | RegexSearchBase |
Interface class for regular expression searching. More... | |
class | Representation |
class | RESearch |
class | RGBAImage |
A translucent image stored as a sequence of RGBA bytes. More... | |
class | RGBAImageSet |
A collection of RGBAImage pixmaps indexed by integer id. More... | |
class | RunStyles |
class | ScintillaBase |
class | ScintillaGTK |
class | ScintillaGTKAccessible |
class | Selection |
class | SelectionPosition |
struct | SelectionRange |
struct | SelectionSegment |
class | SelectionText |
Hold a piece of text selected for copying or dragging, along with encoding and selection format information. More... | |
class | SparseState |
class | SparseVector |
class | SpecialRepresentations |
class | SplitVector |
class | SplitVectorWithRangeAdd |
A split vector of integers with a method for adding a value to all elements in a range. More... | |
class | Style |
struct | StyleAndColour |
class | StyleContext |
struct | StyledText |
class | SubStyles |
class | Surface |
A surface abstracts a place to draw. More... | |
class | SurfaceImpl |
struct | TextSegment |
class | Timer |
class | UndoGroup |
class | UndoHistory |
class | UniqueStringSet |
class | ViewStyle |
class | Window |
Class to hide the details of window manipulation. More... | |
class | WordClassifier |
class | WordList |
class | WorkNeeded |
When platform has a way to generate an event before painting, accumulate needed styling range and other work items in WorkNeeded to avoid unnecessary work inside paint handler. More... | |
struct | WrapPending |
class | XPM |
Hold a pixmap in XPM format. More... | |
Typedefs | |
typedef float | XYPOSITION |
typedef double | XYACCUMULATOR |
typedef void * | FontID |
typedef void * | SurfaceID |
typedef void * | WindowID |
typedef void * | MenuID |
typedef void * | TickerID |
typedef void * | Function |
typedef void * | IdlerID |
typedef bool(* | PFNIsCommentLeader) (Accessor &styler, Sci_Position pos, Sci_Position len) |
typedef void(* | LexerFunction) (Sci_PositionU startPos, Sci_Position lengthDoc, int initStyle, WordList *keywordlists[], Accessor &styler) |
typedef ILexer *(* | LexerFactoryFunction) () |
typedef void(* | DrawTabArrowFn) (Surface *surface, PRectangle rcTab, int ymid) |
typedef void(* | DrawLineMarkerFn) (Surface *surface, PRectangle &rcWhole, Font &fontForCharacter, int tFold, int marginStyle, const void *lineMarker) |
typedef void(* | DrawWrapMarkerFn) (Surface *surface, PRectangle rcPlace, bool isEndMarker, ColourDesired wrapColour) |
typedef std::vector< int > | TabstopList |
typedef std::map< unsigned int, Representation > | MapRepresentation |
using | UniqueString = std::unique_ptr< const char[]> |
typedef std::map< FontSpecification, std::unique_ptr< FontRealised > > | FontMap |
Functions | |
std::string | ConvertText (const char *s, size_t len, const char *charSetDest, const char *charSetSource, bool transliterations, bool silent) |
CharacterCategory | CategoriseCharacter (int character) |
bool | IsIdStart (int character) |
bool | IsIdContinue (int character) |
bool | IsXidStart (int character) |
bool | IsXidContinue (int character) |
int | CompareCaseInsensitive (const char *a, const char *b) noexcept |
int | CompareNCaseInsensitive (const char *a, const char *b, size_t len) noexcept |
constexpr bool | IsASpace (int ch) noexcept |
constexpr bool | IsASpaceOrTab (int ch) noexcept |
constexpr bool | IsADigit (int ch) noexcept |
bool | IsADigit (int ch, int base) noexcept |
constexpr bool | IsASCII (int ch) noexcept |
constexpr bool | IsLowerCase (int ch) noexcept |
constexpr bool | IsUpperCase (int ch) noexcept |
constexpr bool | IsUpperOrLowerCase (int ch) noexcept |
constexpr bool | IsAlphaNumeric (int ch) noexcept |
constexpr bool | isspacechar (int ch) noexcept |
Check if a character is a space. More... | |
constexpr bool | iswordchar (int ch) noexcept |
constexpr bool | iswordstart (int ch) noexcept |
bool | isoperator (int ch) noexcept |
template<typename T > | |
T | MakeUpperCase (T ch) noexcept |
template<typename T > | |
T | MakeLowerCase (T ch) noexcept |
int | Maximum (int a, int b) noexcept |
template<typename T , size_t count> | |
void | StringCopy (T(&dest)[count], const T *source) |
ICaseConverter * | ConverterFor (enum CaseConversion conversion) |
const char * | CaseConvert (int character, enum CaseConversion conversion) |
size_t | CaseConvertString (char *converted, size_t sizeConverted, const char *mixed, size_t lenMixed, enum CaseConversion conversion) |
std::string | CaseConvertString (const std::string &s, enum CaseConversion conversion) |
std::unique_ptr< IContractionState > | ContractionStateCreate (bool largeDocument) |
bool | DBCSIsLeadByte (int codePage, char ch) noexcept |
constexpr bool | IsDBCSCodePage (int codePage) noexcept |
std::unique_ptr< IDecoration > | DecorationCreate (bool largeDocument, int indicator) |
std::unique_ptr< IDecorationList > | DecorationListCreate (bool largeDocument) |
RegexSearchBase * | CreateRegexSearch (CharClassify *charClassTable) |
Factory function for RegexSearchBase. More... | |
constexpr int | LevelNumber (int level) noexcept |
bool | ValidStyledText (const ViewStyle &vs, size_t styleOffset, const StyledText &st) noexcept |
static int | WidthStyledText (Surface *surface, const ViewStyle &vs, int styleOffset, const char *text, const unsigned char *styles, size_t len) |
int | WidestLineWidth (Surface *surface, const ViewStyle &vs, int styleOffset, const StyledText &st) |
void | DrawTextNoClipPhase (Surface *surface, PRectangle rc, const Style &style, XYPOSITION ybase, const char *s, int len, DrawPhase phase) |
void | DrawStyledText (Surface *surface, const ViewStyle &vs, int styleOffset, PRectangle rcText, const StyledText &st, size_t start, size_t length, DrawPhase phase) |
void | ExternalLexerLoad (const char *path) |
void | DrawWrapMarker (Surface *surface, PRectangle rcPlace, bool isEndMarker, ColourDesired wrapColour) |
static int | SubstituteMarkerIfEmpty (int markerCheck, int markerDefault, const ViewStyle &vs) noexcept |
constexpr bool | IsEOLChar (int ch) noexcept |
constexpr bool | IsSpaceOrTab (int ch) noexcept |
size_t | UTF8Length (const wchar_t *uptr, size_t tlen) noexcept |
void | UTF8FromUTF16 (const wchar_t *uptr, size_t tlen, char *putf, size_t len) noexcept |
void | UTF8FromUTF32Character (int uch, char *putf) noexcept |
size_t | UTF16Length (const char *s, size_t len) noexcept |
constexpr unsigned char | TrailByteValue (unsigned char c) |
size_t | UTF16FromUTF8 (const char *s, size_t len, wchar_t *tbuf, size_t tlen) |
size_t | UTF32Length (const char *s, size_t len) noexcept |
size_t | UTF32FromUTF8 (const char *s, size_t len, unsigned int *tbuf, size_t tlen) |
std::wstring | WStringFromUTF8 (const char *s, size_t len) |
unsigned int | UTF16FromUTF32Character (unsigned int val, wchar_t *tbuf) noexcept |
int | UTF8Classify (const unsigned char *us, size_t len) noexcept |
int | UTF8DrawBytes (const unsigned char *us, int len) noexcept |
bool | UTF8IsValid (const char *s, size_t len) noexcept |
std::string | FixInvalidUTF8 (const std::string &text) |
int | UnicodeFromUTF8 (const unsigned char *us) noexcept |
constexpr bool | UTF8IsTrailByte (unsigned char ch) noexcept |
constexpr bool | UTF8IsAscii (int ch) noexcept |
bool | UTF8IsSeparator (const unsigned char *us) noexcept |
bool | UTF8IsNEL (const unsigned char *us) noexcept |
constexpr bool | UTF8IsMultibyteLineEnd (unsigned char ch0, unsigned char ch1, unsigned char ch2) noexcept |
constexpr unsigned int | UTF16CharLength (wchar_t uch) noexcept |
constexpr unsigned int | UTF16LengthFromUTF8ByteCount (unsigned int byteCount) noexcept |
UniqueString | UniqueStringCopy (const char *text) |
Equivalent to strdup but produces a std::unique_ptr<const char[]> allocation to go into collections. More... | |
constexpr bool | IsNullOrEmpty (const char *text) noexcept |
Variables | |
const GIConv | iconvhBad = (GIConv)(-1) |
const gsize | sizeFailure = static_cast<gsize>(-1) |
constexpr const float | componentMaximum = 255.0f |
Holds an RGB colour with 8 bits for each component. More... | |
constexpr size_t | maxExpansionCaseConversion = 3 |
const unsigned char | UTF8BytesOfLead [256] |
constexpr int | UTF8MaxBytes = 4 |
constexpr int | unicodeReplacementChar = 0xFFFD |
constexpr int | UTF8SeparatorLength = 3 |
constexpr int | UTF8NELLength = 2 |
Styling buffer using one element for each run rather than using a filled buffer.
typedef void(* Scintilla::DrawLineMarkerFn) (Surface *surface, PRectangle &rcWhole, Font &fontForCharacter, int tFold, int marginStyle, const void *lineMarker) |
Definition at line 16 of file LineMarker.h.
typedef void(* Scintilla::DrawTabArrowFn) (Surface *surface, PRectangle rcTab, int ymid) |
Definition at line 43 of file EditView.h.
typedef void(* Scintilla::DrawWrapMarkerFn) (Surface *surface, PRectangle rcPlace, bool isEndMarker, ColourDesired wrapColour) |
Definition at line 15 of file MarginView.h.
typedef void* Scintilla::FontID |
Definition at line 87 of file Platform.h.
typedef std::map<FontSpecification, std::unique_ptr<FontRealised> > Scintilla::FontMap |
Definition at line 49 of file ViewStyle.h.
typedef void* Scintilla::Function |
Definition at line 92 of file Platform.h.
typedef void* Scintilla::IdlerID |
Definition at line 93 of file Platform.h.
typedef ILexer *(* Scintilla::LexerFactoryFunction) () |
Definition at line 19 of file LexerModule.h.
typedef void(* Scintilla::LexerFunction) (Sci_PositionU startPos, Sci_Position lengthDoc, int initStyle, WordList *keywordlists[], Accessor &styler) |
Definition at line 17 of file LexerModule.h.
typedef std::map<unsigned int, Representation> Scintilla::MapRepresentation |
Definition at line 169 of file PositionCache.h.
typedef void* Scintilla::MenuID |
Definition at line 90 of file Platform.h.
typedef bool(* Scintilla::PFNIsCommentLeader) (Accessor &styler, Sci_Position pos, Sci_Position len) |
Definition at line 19 of file Accessor.h.
typedef void* Scintilla::SurfaceID |
Definition at line 88 of file Platform.h.
typedef std::vector<int> Scintilla::TabstopList |
typedef void* Scintilla::TickerID |
Definition at line 91 of file Platform.h.
using Scintilla::UniqueString = typedef std::unique_ptr<const char[]> |
Definition at line 22 of file UniqueString.h.
typedef void* Scintilla::WindowID |
Definition at line 89 of file Platform.h.
typedef double Scintilla::XYACCUMULATOR |
Definition at line 82 of file Platform.h.
typedef float Scintilla::XYPOSITION |
Definition at line 81 of file Platform.h.
anonymous enum |
anonymous enum |
Enumerator | |
---|---|
wsSpace | |
wsTab | |
wsSpaceTab | |
wsInconsistent |
Definition at line 13 of file Accessor.h.
anonymous enum |
Enumerator | |
---|---|
UTF8MaskWidth | |
UTF8MaskInvalid |
Definition at line 54 of file UniConversion.h.
anonymous enum |
Enumerator | |
---|---|
SURROGATE_LEAD_FIRST |
Definition at line 81 of file UniConversion.h.
anonymous enum |
Enumerator | |
---|---|
SURROGATE_LEAD_LAST |
Definition at line 82 of file UniConversion.h.
anonymous enum |
Enumerator | |
---|---|
SURROGATE_TRAIL_FIRST |
Definition at line 83 of file UniConversion.h.
anonymous enum |
Enumerator | |
---|---|
SURROGATE_TRAIL_LAST |
Definition at line 84 of file UniConversion.h.
anonymous enum |
Enumerator | |
---|---|
SUPPLEMENTAL_PLANE_FIRST |
Definition at line 85 of file UniConversion.h.
Enumerator | |
---|---|
insertAction | |
removeAction | |
startAction | |
containerAction |
Definition at line 28 of file CellBuffer.h.
Enumerator | |
---|---|
CaseConversionFold | |
CaseConversionUpper | |
CaseConversionLower |
Definition at line 15 of file CaseConvert.h.
Enumerator | |
---|---|
ccLu | |
ccLl | |
ccLt | |
ccLm | |
ccLo | |
ccMn | |
ccMc | |
ccMe | |
ccNd | |
ccNl | |
ccNo | |
ccPc | |
ccPd | |
ccPs | |
ccPe | |
ccPi | |
ccPf | |
ccPo | |
ccSm | |
ccSc | |
ccSk | |
ccSo | |
ccZs | |
ccZl | |
ccZp | |
ccCc | |
ccCf | |
ccCs | |
ccCo | |
ccCn |
Definition at line 13 of file CharacterCategory.h.
enum Scintilla::DrawPhase |
The view may be drawn in separate phases.
Enumerator | |
---|---|
drawBack | |
drawIndicatorsBack | |
drawText | |
drawIndentationGuides | |
drawIndicatorsFore | |
drawSelectionTranslucent | |
drawLineTranslucent | |
drawFoldLines | |
drawCarets | |
drawAll |
Definition at line 23 of file EditView.h.
|
strong |
Enumerator | |
---|---|
eightBit | |
unicode | |
dbcs |
Definition at line 21 of file Document.h.
|
strong |
Enumerator | |
---|---|
eightBit | |
unicode | |
dbcs |
Definition at line 13 of file LexAccessor.h.
Enumerator | |
---|---|
ivNone | |
ivReal | |
ivLookForward | |
ivLookBoth |
Definition at line 43 of file ViewStyle.h.
enum Scintilla::PointEnd |
Enumerator | |
---|---|
peDefault | |
peLineEnd | |
peSubLineEnd |
Definition at line 41 of file PositionCache.h.
Enumerator | |
---|---|
tdLongArrow | |
tdStrikeOut |
Definition at line 47 of file ViewStyle.h.
Enumerator | |
---|---|
wsInvisible | |
wsVisibleAlways | |
wsVisibleAfterIndent | |
wsVisibleOnlyInIndent |
Definition at line 45 of file ViewStyle.h.
|
strong |
Enumerator | |
---|---|
none | |
word | |
character | |
whitespace |
Definition at line 51 of file ViewStyle.h.
const char * Scintilla::CaseConvert | ( | int | character, |
enum CaseConversion | conversion | ||
) |
Definition at line 804 of file CaseConvert.cxx.
References character.
size_t Scintilla::CaseConvertString | ( | char * | converted, |
size_t | sizeConverted, | ||
const char * | mixed, | ||
size_t | lenMixed, | ||
enum CaseConversion | conversion | ||
) |
Definition at line 811 of file CaseConvert.cxx.
Referenced by CaseConvertString(), and Scintilla::ScintillaGTK::CaseMapString().
std::string Scintilla::CaseConvertString | ( | const std::string & | s, |
enum CaseConversion | conversion | ||
) |
Definition at line 818 of file CaseConvert.cxx.
References CaseConvertString(), and maxExpansionCaseConversion.
CharacterCategory Scintilla::CategoriseCharacter | ( | int | character | ) |
Definition at line 3867 of file CharacterCategory.cxx.
References ccCn, and character.
Referenced by Scintilla::CharacterCategoryMap::CategoryFor(), is_wc_cat_id_start(), IsIdContinue(), IsIdentifierCharacter(), IsIdStart(), jl_op_suffix_char(), never_id_char(), u_IsHaskellSymbol(), u_iswalnum(), u_iswalpha(), and u_iswupper().
|
noexcept |
Definition at line 18 of file CharacterSet.cxx.
References MakeUpperCase().
Referenced by calculateFoldCmake(), classifyWordCmake(), ColouriseBatchDoc(), and NsisCmp().
|
noexcept |
Definition at line 33 of file CharacterSet.cxx.
References MakeUpperCase().
Referenced by Sorter::operator()(), and Scintilla::AutoComplete::Select().
std::unique_ptr< IContractionState > Scintilla::ContractionStateCreate | ( | bool | largeDocument | ) |
Definition at line 413 of file ContractionState.cxx.
Referenced by Scintilla::EditModel::EditModel(), Scintilla::Editor::SetDocPointer(), and Scintilla::Editor::WndProc().
ICaseConverter * Scintilla::ConverterFor | ( | enum CaseConversion | conversion | ) |
Definition at line 797 of file CaseConvert.cxx.
Referenced by Scintilla::CaseFolderUnicode::CaseFolderUnicode().
std::string Scintilla::ConvertText | ( | const char * | s, |
size_t | len, | ||
const char * | charSetDest, | ||
const char * | charSetSource, | ||
bool | transliterations, | ||
bool | silent | ||
) |
Definition at line 722 of file ScintillaGTK.cxx.
References Scintilla::Converter::Convert(), and sizeFailure.
Referenced by Scintilla::ScintillaGTK::CaseFolderForEncoding(), Scintilla::ScintillaGTK::CaseMapString(), Scintilla::ScintillaGTK::CommitThis(), Scintilla::ScintillaGTK::EncodedFromUTF8(), CaseFolderDBCS::Fold(), Scintilla::ScintillaGTK::GetGtkSelectionText(), Scintilla::ScintillaGTK::GetSelection(), Scintilla::ScintillaGTKAccessible::GetTextRangeUTF8(), Scintilla::ScintillaGTKAccessible::InsertStringUTF8(), Scintilla::ScintillaGTK::PreeditChangedInlineThis(), and Scintilla::ScintillaGTK::TargetAsUTF8().
RegexSearchBase * Scintilla::CreateRegexSearch | ( | CharClassify * | charClassTable | ) |
Factory function for RegexSearchBase.
Definition at line 3308 of file Document.cxx.
Referenced by Scintilla::Document::FindText().
|
noexcept |
std::unique_ptr< IDecoration > Scintilla::DecorationCreate | ( | bool | largeDocument, |
int | indicator | ||
) |
Definition at line 301 of file Decoration.cxx.
std::unique_ptr< IDecorationList > Scintilla::DecorationListCreate | ( | bool | largeDocument | ) |
Definition at line 308 of file Decoration.cxx.
Referenced by Scintilla::Document::Document().
void Scintilla::DrawStyledText | ( | Surface * | surface, |
const ViewStyle & | vs, | ||
int | styleOffset, | ||
PRectangle | rcText, | ||
const StyledText & | st, | ||
size_t | start, | ||
size_t | length, | ||
DrawPhase | phase | ||
) |
Definition at line 135 of file EditView.cxx.
References DrawTextNoClipPhase(), Scintilla::PRectangle::left, Scintilla::ViewStyle::maxAscent, Scintilla::StyledText::multipleStyles, Scintilla::PRectangle::right, Scintilla::StyledText::style, Scintilla::StyledText::styles, Scintilla::ViewStyle::styles, Scintilla::StyledText::text, Scintilla::PRectangle::top, and Scintilla::Surface::WidthText().
Referenced by Scintilla::EditView::DrawAnnotation(), and Scintilla::MarginView::PaintMargin().
void Scintilla::DrawTextNoClipPhase | ( | Surface * | surface, |
PRectangle | rc, | ||
const Style & | style, | ||
XYPOSITION | ybase, | ||
const char * | s, | ||
int | len, | ||
DrawPhase | phase | ||
) |
Definition at line 119 of file EditView.cxx.
References Scintilla::Style::back, drawBack, drawText, Scintilla::Surface::DrawTextNoClip(), Scintilla::Surface::DrawTextTransparent(), Scintilla::Surface::FillRectangle(), Scintilla::Style::font, and Scintilla::Style::fore.
Referenced by DrawStyledText(), and Scintilla::MarginView::PaintMargin().
void Scintilla::DrawWrapMarker | ( | Surface * | surface, |
PRectangle | rcPlace, | ||
bool | isEndMarker, | ||
ColourDesired | wrapColour | ||
) |
Definition at line 57 of file MarginView.cxx.
References Scintilla::IntegerRectangle::Height(), Scintilla::IntegerRectangle::left, Scintilla::Surface::LineTo(), Scintilla::Surface::MoveTo(), Scintilla::Surface::PenColour(), Scintilla::IntegerRectangle::right, Scintilla::IntegerRectangle::top, and Scintilla::IntegerRectangle::Width().
Referenced by Scintilla::EditView::DrawEOL(), DrawWrapIndentAndMarker(), and Scintilla::MarginView::PaintMargin().
void Scintilla::ExternalLexerLoad | ( | const char * | path | ) |
Definition at line 217 of file ExternalLexer.cxx.
Referenced by Scintilla::ScintillaBase::WndProc().
std::string Scintilla::FixInvalidUTF8 | ( | const std::string & | text | ) |
Definition at line 372 of file UniConversion.cxx.
References text, UTF8Classify(), UTF8MaskInvalid, and UTF8MaskWidth.
|
constexprnoexcept |
Definition at line 119 of file CharacterSet.h.
Referenced by ColorizeMarkdownDoc(), ColorizeTxt2tagsDoc(), ColouriseABAQUSDoc(), ColouriseCamlDoc(), ColouriseCoffeeScriptDoc(), ColouriseDocument(), ColouriseErlangDoc(), ColouriseFortranDoc(), ColouriseLispDoc(), ColouriseLuaDoc(), ColourisePascalDoc(), ColourisePowerShellDoc(), ColouriseRDoc(), ColouriseTCLDoc(), ColouriseVHDLDoc(), FoldFortranDoc(), LexerPerl::InterpolateSegment(), IsANumberChar(), IsValidNumber(), IsWordCharacter(), LexerBash::Lex(), LexerCPP::Lex(), LexerD::Lex(), LexerHaskell::Lex(), LexerHTML::Lex(), LexerJulia::Lex(), LexerPerl::Lex(), LexerPython::Lex(), LexerRust::Lex(), LexerSQL::Lex(), LexerVerilog::Lex(), resumeCharacter(), resumeNumber(), ResumeString(), ScanCharacterLiteralOrLifetime(), ScanDigits(), ScanNHexas(), ScanNumericEscape(), Scintilla::Document::WordPartLeft(), and Scintilla::Document::WordPartRight().
|
inlinenoexcept |
Definition at line 123 of file CharacterSet.h.
|
constexprnoexcept |
Definition at line 149 of file CharacterSet.h.
Referenced by IsHaskellAlphaNumeric(), isoperator(), iswordchar(), iswordstart(), and Scintilla::CharClassify::SetDefaultCharClasses().
|
constexprnoexcept |
Definition at line 133 of file CharacterSet.h.
Referenced by ColouriseCOBOLDoc(), ColouriseForthDoc(), ColouriseLispDoc(), ColouriseYAMLLine(), LexerPerl::Fold(), IsAlphabetic(), IsAnHaskellOperatorChar(), IsAnOperator(), isCOBOLwordchar(), isCOBOLwordstart(), IsDoxygen(), IsHaskellAlphaNumeric(), IsHaskellLetter(), IsHaskellUpperCase(), IsIdentifierCharacter(), IsIdentifierContinue(), IsIdentifierFirstCharacter(), IsIdentifierStart(), isLispoperator(), isLispwordstart(), IsOperatorCharacter(), IsOperatorFirstCharacter(), IsWord(), IsWordStart(), IsWordStartCharacter(), latexIsLetter(), LexerAsm::Lex(), LexerD::Lex(), LexerHTML::Lex(), LexerLaTeX::Lex(), ResumeRawString(), ResumeString(), ScanCharacterLiteralOrLifetime(), Scintilla::Document::WordPartLeft(), and Scintilla::Document::WordPartRight().
|
constexprnoexcept |
Definition at line 111 of file CharacterSet.h.
Referenced by ColouriseCoffeeScriptDoc(), ColouriseDocument(), ColouriseFortranDoc(), ColouriseLuaDoc(), ColouriseMatlabOctaveDoc(), LexerAsm::Fold(), LexerD::Fold(), LexerJulia::Fold(), LexerRust::Fold(), FoldMatlabOctaveDoc(), FoldPascalDoc(), FoldPowerShellDoc(), IsSeparatorOrDelimiterCharacter(), IsSpaceToEOL(), LexerBash::Lex(), LexerCPP::Lex(), LexerD::Lex(), LexerHTML::Lex(), LexerJulia::Lex(), LexerPerl::Lex(), and LexerSQL::Lex().
|
constexprnoexcept |
Definition at line 115 of file CharacterSet.h.
Referenced by ClassifyPascalWordFoldPoint(), ColorizeMarkdownDoc(), ColorizeTxt2tagsDoc(), ColouriseFortranDoc(), ColouriseLuaDoc(), ColourisePowerShellDoc(), disambiguateBareword(), LexerVerilog::Fold(), FoldPowerShellDoc(), FollowToLineEnd(), HasPrevLineContent(), IsCommentLine(), LexerSQL::IsCommentLine(), IsValidHrule(), LexerAsm::Lex(), LexerHTML::Lex(), LexerPerl::Lex(), LexerPython::Lex(), podLineScan(), and SkipWhiteSpace().
|
constexprnoexcept |
|
inlineconstexprnoexcept |
Definition at line 13 of file PositionCache.h.
Referenced by Scintilla::Editor::PasteRectangular().
bool Scintilla::IsIdContinue | ( | int | character | ) |
Definition at line 3990 of file CharacterCategory.cxx.
References CategoriseCharacter(), ccLl, ccLm, ccLo, ccLt, ccLu, ccMc, ccMn, ccNd, ccNl, ccPc, and character.
Referenced by IsXidContinue().
bool Scintilla::IsIdStart | ( | int | character | ) |
Definition at line 3975 of file CharacterCategory.cxx.
References CategoriseCharacter(), ccLl, ccLm, ccLo, ccLt, ccLu, ccNl, and character.
Referenced by IsXidStart().
|
constexprnoexcept |
Definition at line 137 of file CharacterSet.h.
Referenced by IsUpperOrLowerCase(), LexerCPP::Lex(), Scintilla::Document::WordPartLeft(), and Scintilla::Document::WordPartRight().
|
constexprnoexcept |
Definition at line 18 of file UniqueString.h.
References text.
Referenced by Scintilla::EditModel::SetDefaultFoldDisplayText().
|
inlinenoexcept |
Definition at line 172 of file CharacterSet.h.
References IsAlphaNumeric().
Referenced by ColouriseCoffeeScriptDoc(), ColouriseErlangDoc(), ColouriseFortranDoc(), ColouriseMatlabOctaveDoc(), ColourisePowerShellDoc(), ColouriseRbDoc(), ColouriseTCLDoc(), ColouriseVHDLDoc(), isCOBOLoperator(), LexerCPP::Lex(), LexerD::Lex(), LexerPython::Lex(), LexerSQL::Lex(), and LexerVerilog::Lex().
|
constexprnoexcept |
Check if a character is a space.
This is ASCII specific but is safe with chars >= 0x80.
Definition at line 160 of file CharacterSet.h.
Referenced by AtTermStart(), ColouriseBatchDoc(), ColouriseCOBOLDoc(), ColouriseMakeLine(), ColourisePODoc(), ColourisePropsLine(), ColouriseRbDoc(), ColouriseTCLDoc(), ColouriseYAMLLine(), FindNextNonEmptyLineState(), LexerBash::Fold(), LexerPerl::Fold(), LexerSQL::Fold(), LexerVerilog::Fold(), FoldCOBOLDoc(), FoldCSSDoc(), FoldFortranDoc(), FoldLispDoc(), FoldLuaDoc(), FoldNoBoxVHDLDoc(), FoldPODoc(), FoldPropsDoc(), FoldRbDoc(), FoldRDoc(), isLispwordstart(), LexerVerilog::Lex(), Scintilla::Document::WordPartLeft(), and Scintilla::Document::WordPartRight().
|
inlineconstexprnoexcept |
Definition at line 17 of file PositionCache.h.
Referenced by Scintilla::Document::GetLineIndentPosition(), IsAllSpacesOrTabs(), Scintilla::Document::IsWhiteLine(), Scintilla::EditView::LayoutLine(), and Scintilla::Document::SafeSegment().
|
constexprnoexcept |
Definition at line 141 of file CharacterSet.h.
Referenced by IsUpperOrLowerCase(), LexerBash::Lex(), Scintilla::Document::WordPartLeft(), and Scintilla::Document::WordPartRight().
|
constexprnoexcept |
Definition at line 145 of file CharacterSet.h.
References IsLowerCase(), and IsUpperCase().
|
constexprnoexcept |
Definition at line 164 of file CharacterSet.h.
References IsAlphaNumeric().
Referenced by LexerSQL::Fold(), FoldFortranDoc(), FoldLuaDoc(), and FoldNoBoxVHDLDoc().
|
constexprnoexcept |
Definition at line 168 of file CharacterSet.h.
References IsAlphaNumeric().
Referenced by ColouriseRbDoc().
bool Scintilla::IsXidContinue | ( | int | character | ) |
Definition at line 4013 of file CharacterCategory.cxx.
References character, and IsIdContinue().
bool Scintilla::IsXidStart | ( | int | character | ) |
Definition at line 4004 of file CharacterCategory.cxx.
References character, and IsIdStart().
|
constexprnoexcept |
Definition at line 167 of file Document.h.
References SC_FOLDLEVELNUMBERMASK.
Referenced by DrawFoldLines(), Scintilla::Editor::FoldAll(), Scintilla::Editor::FoldChanged(), Scintilla::Editor::FoldExpand(), Scintilla::Document::GetFoldParent(), Scintilla::Document::GetHighlightDelimiters(), Scintilla::Document::GetLastChild(), IsSubordinate(), and Scintilla::MarginView::PaintMargin().
|
inlinenoexcept |
Definition at line 196 of file CharacterSet.h.
Referenced by Scintilla::Editor::CaseMapString(), getRangeLowered(), LexerHTML::Lex(), and Scintilla::StyleContext::MatchIgnoreCase().
|
inlinenoexcept |
Definition at line 188 of file CharacterSet.h.
Referenced by Scintilla::Editor::CaseMapString(), CompareCaseInsensitive(), and CompareNCaseInsensitive().
|
inlinenoexcept |
Definition at line 70 of file LexerModule.h.
Referenced by LexerHaskell::Fold(), and FoldYAMLDoc().
void Scintilla::StringCopy | ( | T(&) | dest[count], |
const T * | source | ||
) |
Definition at line 19 of file StringCopy.h.
References count.
|
staticnoexcept |
Definition at line 174 of file MarginView.cxx.
References SC_MARK_EMPTY.
Referenced by Scintilla::MarginView::PaintMargin().
|
constexpr |
Definition at line 100 of file UniConversion.cxx.
Referenced by UTF16FromUTF8(), and UTF32FromUTF8().
|
inlinenoexcept |
Definition at line 33 of file UniConversion.h.
References UTF8BytesOfLead.
Referenced by Scintilla::Document::CharacterAfter(), Scintilla::Document::CharacterBefore(), Scintilla::Document::ExtractCharacter(), and Scintilla::Document::GetCharacterAndWidth().
UniqueString Scintilla::UniqueStringCopy | ( | const char * | text | ) |
Equivalent to strdup but produces a std::unique_ptr<const char[]> allocation to go into collections.
Definition at line 19 of file UniqueString.cxx.
References text.
Referenced by Scintilla::UniqueStringSet::Save(), and Scintilla::EditModel::SetDefaultFoldDisplayText().
|
inlineconstexprnoexcept |
Definition at line 87 of file UniConversion.h.
References SURROGATE_LEAD_FIRST, and SURROGATE_LEAD_LAST.
|
noexcept |
Definition at line 243 of file UniConversion.cxx.
References SUPPLEMENTAL_PLANE_FIRST, SURROGATE_LEAD_FIRST, and SURROGATE_TRAIL_FIRST.
size_t Scintilla::UTF16FromUTF8 | ( | const char * | s, |
size_t | len, | ||
wchar_t * | tbuf, | ||
size_t | tlen | ||
) |
Definition at line 106 of file UniConversion.cxx.
References SURROGATE_LEAD_FIRST, SURROGATE_TRAIL_FIRST, TrailByteValue(), UTF16LengthFromUTF8ByteCount(), and UTF8BytesOfLead.
Referenced by WStringFromUTF8().
|
noexcept |
Definition at line 88 of file UniConversion.cxx.
References UTF16LengthFromUTF8ByteCount(), and UTF8BytesOfLead.
Referenced by WStringFromUTF8().
|
inlineconstexprnoexcept |
Definition at line 91 of file UniConversion.h.
Referenced by UTF16FromUTF8(), and UTF16Length().
size_t Scintilla::UTF32FromUTF8 | ( | const char * | s, |
size_t | len, | ||
unsigned int * | tbuf, | ||
size_t | tlen | ||
) |
Definition at line 176 of file UniConversion.cxx.
References TrailByteValue(), and UTF8BytesOfLead.
Referenced by Scintilla::Editor::InsertCharacter(), and WStringFromUTF8().
|
noexcept |
Definition at line 165 of file UniConversion.cxx.
References UTF8BytesOfLead.
Referenced by WStringFromUTF8().
|
noexcept |
Definition at line 279 of file UniConversion.cxx.
References UTF8BytesOfLead, UTF8IsTrailByte(), and UTF8MaskInvalid.
Referenced by Scintilla::Document::CharacterAfter(), Scintilla::Document::CharacterBefore(), Scintilla::Document::ExtractCharacter(), Scintilla::Document::FindText(), FixInvalidUTF8(), Scintilla::Document::GetCharacterAndWidth(), Scintilla::Document::InGoodUTF8(), Scintilla::Document::LenChar(), Scintilla::Document::NextPosition(), UTF8DrawBytes(), Scintilla::CellBuffer::UTF8IsCharacterBoundary(), and UTF8IsValid().
|
noexcept |
Definition at line 350 of file UniConversion.cxx.
References UTF8Classify(), UTF8MaskInvalid, and UTF8MaskWidth.
Referenced by Scintilla::BreakFinder::Next().
|
noexcept |
Definition at line 39 of file UniConversion.cxx.
References SURROGATE_LEAD_FIRST, and SURROGATE_TRAIL_LAST.
|
noexcept |
Definition at line 68 of file UniConversion.cxx.
|
inlineconstexprnoexcept |
Definition at line 50 of file UniConversion.h.
Referenced by Scintilla::CellBuffer::BasicDeleteChars(), Scintilla::CellBuffer::BasicInsertString(), Scintilla::Document::CharacterAfter(), Scintilla::Document::CharacterBefore(), Scintilla::EditView::DrawEOL(), Scintilla::Document::ExtractCharacter(), Scintilla::Document::FindText(), Scintilla::Document::GetCharacterAndWidth(), Scintilla::Document::LenChar(), Scintilla::Document::NextPosition(), and Scintilla::Document::WordCharacterClass().
|
constexprnoexcept |
Definition at line 75 of file UniConversion.h.
Referenced by Scintilla::CellBuffer::BasicInsertString(), Scintilla::CellBuffer::ContainsLineEnd(), and Scintilla::CellBuffer::ResetLineEnds().
|
inlinenoexcept |
Definition at line 70 of file UniConversion.h.
Referenced by Scintilla::CellBuffer::BasicDeleteChars(), Scintilla::CellBuffer::BasicInsertString(), Scintilla::Document::LineEnd(), and Scintilla::CellBuffer::UTF8LineEndOverlaps().
|
inlinenoexcept |
Definition at line 64 of file UniConversion.h.
Referenced by Scintilla::CellBuffer::BasicDeleteChars(), Scintilla::CellBuffer::BasicInsertString(), Scintilla::Document::LineEnd(), and Scintilla::CellBuffer::UTF8LineEndOverlaps().
|
inlineconstexprnoexcept |
Definition at line 46 of file UniConversion.h.
Referenced by Scintilla::CellBuffer::BasicDeleteChars(), Scintilla::CellBuffer::BasicInsertString(), Scintilla::Document::CharacterBefore(), Scintilla::Document::InGoodUTF8(), Scintilla::Document::MovePositionOutsideChar(), Scintilla::Document::NextPosition(), UTF8Classify(), and Scintilla::CellBuffer::UTF8IsCharacterBoundary().
|
noexcept |
Definition at line 355 of file UniConversion.cxx.
References UTF8Classify(), UTF8MaskInvalid, and UTF8MaskWidth.
Referenced by Scintilla::CellBuffer::BasicDeleteChars(), and Scintilla::CellBuffer::BasicInsertString().
|
noexcept |
Definition at line 19 of file UniConversion.cxx.
References SURROGATE_LEAD_FIRST, and SURROGATE_TRAIL_LAST.
|
noexcept |
Definition at line 69 of file EditView.cxx.
Referenced by Scintilla::EditView::DrawAnnotation(), Scintilla::EditView::DrawEOLAnnotationText(), and Scintilla::MarginView::PaintMargin().
int Scintilla::WidestLineWidth | ( | Surface * | surface, |
const ViewStyle & | vs, | ||
int | styleOffset, | ||
const StyledText & | st | ||
) |
Definition at line 99 of file EditView.cxx.
References Scintilla::StyledText::length, Scintilla::StyledText::LineLength(), Scintilla::StyledText::multipleStyles, Scintilla::StyledText::style, Scintilla::StyledText::styles, Scintilla::ViewStyle::styles, Scintilla::StyledText::text, WidthStyledText(), and Scintilla::Surface::WidthText().
Referenced by Scintilla::EditView::DrawAnnotation(), and Scintilla::MarginView::PaintMargin().
|
static |
Definition at line 82 of file EditView.cxx.
References Scintilla::ViewStyle::styles, text, and Scintilla::Surface::WidthText().
Referenced by WidestLineWidth().
std::wstring Scintilla::WStringFromUTF8 | ( | const char * | s, |
size_t | len | ||
) |
Definition at line 229 of file UniConversion.cxx.
References UTF16FromUTF8(), UTF16Length(), UTF32FromUTF8(), and UTF32Length().
|
constexpr |
Holds an RGB colour with 8 bits for each component.
Definition at line 186 of file Platform.h.
Referenced by Scintilla::ColourAlpha::GetAlphaComponent(), Scintilla::ColourDesired::GetBlueComponent(), Scintilla::ColourDesired::GetGreenComponent(), and Scintilla::ColourDesired::GetRedComponent().
const GIConv Scintilla::iconvhBad = (GIConv)(-1) |
Definition at line 11 of file Converter.h.
Referenced by Scintilla::Converter::Close(), Scintilla::Converter::Converter(), and Scintilla::Converter::Succeeded().
|
constexpr |
Definition at line 34 of file CaseConvert.h.
Referenced by CaseConvertString(), and Scintilla::ScintillaGTK::CaseMapString().
const gsize Scintilla::sizeFailure = static_cast<gsize>(-1) |
Definition at line 12 of file Converter.h.
Referenced by Scintilla::Converter::Convert(), and ConvertText().
|
constexpr |
Definition at line 15 of file UniConversion.h.
Referenced by Scintilla::Document::CharacterAfter(), Scintilla::Document::CharacterBefore(), and Scintilla::Document::ExtractCharacter().
const unsigned char Scintilla::UTF8BytesOfLead |
Definition at line 254 of file UniConversion.cxx.
Referenced by Scintilla::Document::CharacterAfter(), Scintilla::Document::ExtractCharacter(), Scintilla::Document::FindText(), Scintilla::Document::GetCharacterAndWidth(), Scintilla::Document::InGoodUTF8(), Scintilla::Document::LenChar(), Scintilla::SurfaceImpl::MeasureWidths(), Scintilla::Document::NextPosition(), Scintilla::Document::SafeSegment(), UnicodeFromUTF8(), UTF16FromUTF8(), UTF16Length(), UTF32FromUTF8(), UTF32Length(), and UTF8Classify().
|
constexpr |
Definition at line 13 of file UniConversion.h.
Referenced by Scintilla::Document::CharacterAfter(), Scintilla::Document::CharacterBefore(), Scintilla::SpecialRepresentations::ClearRepresentation(), Scintilla::ScintillaGTK::CommitThis(), Scintilla::Document::ExtractCharacter(), Scintilla::Document::FindText(), Scintilla::Document::GetCharacterAndWidth(), Scintilla::Document::InGoodUTF8(), Scintilla::Document::LenChar(), Scintilla::Document::NextPosition(), Scintilla::ScintillaGTK::PreeditChangedInlineThis(), Scintilla::SpecialRepresentations::SetRepresentation(), Scintilla::CellBuffer::UTF8IsCharacterBoundary(), and Scintilla::Editor::WndProc().
|
constexpr |
Definition at line 69 of file UniConversion.h.
Referenced by Scintilla::Document::LineEnd().
|
constexpr |
Definition at line 63 of file UniConversion.h.
Referenced by Scintilla::CellBuffer::BasicInsertString(), and Scintilla::Document::LineEnd().