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 <ViewStyle.h>
Public Types | |
enum class | CaretShape { invisible , line , block , bar } |
Public Member Functions | |
ViewStyle () | |
ViewStyle (const ViewStyle &source) | |
ViewStyle (ViewStyle &&)=delete | |
ViewStyle & | operator= (const ViewStyle &)=delete |
ViewStyle & | operator= (ViewStyle &&)=delete |
~ViewStyle () | |
void | CalculateMarginWidthAndMask () noexcept |
void | Init (size_t stylesSize_=256) |
void | Refresh (Surface &surface, int tabInChars) |
void | ReleaseAllExtendedStyles () noexcept |
int | AllocateExtendedStyles (int numberStyles) |
void | EnsureStyle (size_t index) |
void | ResetDefaultStyle () |
void | ClearStyles () |
void | SetStyleFontName (int styleIndex, const char *name) |
bool | ProtectionActive () const noexcept |
int | ExternalMarginWidth () const noexcept |
int | MarginFromLocation (Point pt) const noexcept |
bool | ValidStyle (size_t styleIndex) const noexcept |
void | CalcLargestMarkerHeight () noexcept |
int | GetFrameWidth () const noexcept |
bool | IsLineFrameOpaque (bool caretActive, bool lineContainsCaret) const noexcept |
ColourOptional | Background (int marksOfLine, bool caretActive, bool lineContainsCaret) const noexcept |
bool | SelectionBackgroundDrawn () const noexcept |
bool | WhitespaceBackgroundDrawn () const noexcept |
ColourDesired | WrapColour () const noexcept |
void | AddMultiEdge (uptr_t wParam, sptr_t lParam) |
bool | SetWrapState (int wrapState_) noexcept |
bool | SetWrapVisualFlags (int wrapVisualFlags_) noexcept |
bool | SetWrapVisualFlagsLocation (int wrapVisualFlagsLocation_) noexcept |
bool | SetWrapVisualStartIndent (int wrapVisualStartIndent_) noexcept |
bool | SetWrapIndentMode (int wrapIndentMode_) noexcept |
bool | WhiteSpaceVisible (bool inIndent) const noexcept |
bool | IsBlockCaretStyle () const noexcept |
bool | IsCaretVisible () const noexcept |
bool | DrawCaretInsideSelection (bool inOverstrike, bool imeCaretBlockOverride) const noexcept |
CaretShape | CaretShapeForMode (bool inOverstrike) const noexcept |
Private Member Functions | |
void | AllocStyles (size_t sizeNew) |
void | CreateAndAddFont (const FontSpecification &fs) |
FontRealised * | Find (const FontSpecification &fs) |
void | FindMaxAscentDescent () |
Private Attributes | |
UniqueStringSet | fontNames |
FontMap | fonts |
Definition at line 80 of file ViewStyle.h.
|
strong |
Enumerator | |
---|---|
invisible | |
line | |
block | |
bar |
Definition at line 206 of file ViewStyle.h.
ViewStyle::ViewStyle | ( | ) |
Definition at line 58 of file ViewStyle.cxx.
References Init().
ViewStyle::ViewStyle | ( | const ViewStyle & | source | ) |
Definition at line 64 of file ViewStyle.cxx.
References additionalCaretColour, alwaysShowCaretLineBackground, annotationStyleOffset, annotationVisible, braceBadLightIndicator, braceBadLightIndicatorSet, braceHighlightIndicator, braceHighlightIndicatorSet, CalcLargestMarkerHeight(), caretcolour, caretLineAlpha, caretLineBackground, caretLineFrame, caretStyle, caretWidth, controlCharSymbol, controlCharWidth, ctrlCharPadding, edgeState, eolAnnotationStyleOffset, eolAnnotationVisible, extraAscent, extraDescent, extraFontFlag, fixedColumnWidth, foldmarginColour, foldmarginHighlightColour, fontNames, hotspotColours, hotspotSingleLine, hotspotUnderline, indicators, indicatorsDynamic, indicatorsSetFore, Init(), lastSegItalicsOffset, leftMarginWidth, marginInside, marginNumberPadding, marginStyleOffset, markers, maskDrawInText, maskInLine, ms, nextExtendedStyle, rightMarginWidth, Scintilla::UniqueStringSet::Save(), selAdditionalAlpha, selAdditionalBackground, selAdditionalForeground, selAlpha, selBackground2, selbar, selbarlight, selColours, selEOLFilled, showCaretLineBackground, someStylesForceCase, someStylesProtected, styles, tabDrawMode, textStart, theEdge, theMultiEdge, viewEOL, viewIndentationGuides, viewWhitespace, whitespaceColours, whitespaceSize, wrapIndentMode, wrapState, wrapVisualFlags, wrapVisualFlagsLocation, wrapVisualStartIndent, and zoomLevel.
|
delete |
ViewStyle::~ViewStyle | ( | ) |
Definition at line 153 of file ViewStyle.cxx.
Definition at line 507 of file ViewStyle.cxx.
References theMultiEdge.
Referenced by Scintilla::Editor::WndProc().
int ViewStyle::AllocateExtendedStyles | ( | int | numberStyles | ) |
Definition at line 357 of file ViewStyle.cxx.
References EnsureStyle(), nextExtendedStyle, STYLE_DEFAULT, and styles.
Referenced by Scintilla::Editor::WndProc().
|
private |
Definition at line 588 of file ViewStyle.cxx.
References STYLE_DEFAULT, and styles.
Referenced by EnsureStyle(), and Init().
|
noexcept |
Definition at line 453 of file ViewStyle.cxx.
References Scintilla::ColourOptional::isSet, SC_ALPHA_NOALPHA, and SC_MARK_BACKGROUND.
Referenced by Scintilla::EditView::DrawEOLAnnotationText(), Scintilla::EditView::DrawFoldDisplayText(), Scintilla::EditView::DrawLine(), and Scintilla::EditView::FillLineRemainder().
|
noexcept |
Definition at line 422 of file ViewStyle.cxx.
References largestMarkerHeight, markers, SC_MARK_PIXMAP, and SC_MARK_RGBAIMAGE.
Referenced by ViewStyle(), and Scintilla::Editor::WndProc().
|
noexcept |
Definition at line 158 of file ViewStyle.cxx.
References fixedColumnWidth, leftMarginWidth, marginInside, markers, maskDrawInText, maskInLine, ms, SC_MARK_BACKGROUND, SC_MARK_EMPTY, and SC_MARK_UNDERLINE.
|
noexcept |
Definition at line 579 of file ViewStyle.cxx.
References CARETSTYLE_BLOCK, CARETSTYLE_INS_MASK, CARETSTYLE_OVERSTRIKE_BLOCK, and line.
Referenced by Scintilla::EditView::DrawCarets().
void ViewStyle::ClearStyles | ( | ) |
Definition at line 381 of file ViewStyle.cxx.
References Scintilla::Platform::Chrome(), STYLE_CALLTIP, STYLE_DEFAULT, STYLE_LINENUMBER, and styles.
Referenced by Scintilla::Editor::WndProc().
|
private |
Definition at line 600 of file ViewStyle.cxx.
References Scintilla::FontSpecification::fontName, and fonts.
Referenced by Refresh().
|
noexcept |
Definition at line 571 of file ViewStyle.cxx.
References CARETSTYLE_BLOCK, CARETSTYLE_BLOCK_AFTER, CARETSTYLE_INS_MASK, and CARETSTYLE_OVERSTRIKE_BLOCK.
Referenced by Scintilla::EditView::DrawCarets().
void ViewStyle::EnsureStyle | ( | size_t | index | ) |
Definition at line 367 of file ViewStyle.cxx.
References AllocStyles(), index, and styles.
Referenced by AllocateExtendedStyles(), Scintilla::ScintillaBase::NotifyLexerChanged(), Scintilla::Editor::StyleGetMessage(), Scintilla::Editor::StyleSetMessage(), and Scintilla::Editor::WndProc().
|
noexcept |
Definition at line 403 of file ViewStyle.cxx.
References fixedColumnWidth, and marginInside.
Referenced by Scintilla::Editor::NotifyDwelling(), and Scintilla::Editor::WndProc().
|
private |
Definition at line 609 of file ViewStyle.cxx.
References Scintilla::FontSpecification::fontName, and fonts.
Referenced by Refresh().
|
private |
Definition at line 620 of file ViewStyle.cxx.
References fonts, maxAscent, and maxDescent.
Referenced by Refresh().
|
noexcept |
Definition at line 438 of file ViewStyle.cxx.
References caretLineFrame, and lineHeight.
Referenced by DrawCaretLineFramed(), Scintilla::EditView::DrawEOL(), and DrawWrapIndentAndMarker().
void ViewStyle::Init | ( | size_t | stylesSize_ = 256 | ) |
Definition at line 184 of file ViewStyle.cxx.
References additionalCaretColour, AllocStyles(), alwaysShowCaretLineBackground, ANNOTATION_HIDDEN, annotationStyleOffset, annotationVisible, aveCharWidth, Scintilla::ForeBackColours::back, braceBadLightIndicator, braceBadLightIndicatorSet, braceHighlightIndicator, braceHighlightIndicatorSet, CalculateMarginWidthAndMask(), caretcolour, caretLineAlpha, caretLineBackground, caretLineFrame, caretStyle, CARETSTYLE_LINE, caretWidth, Scintilla::Platform::Chrome(), Scintilla::Platform::ChromeHighlight(), Scintilla::UniqueStringSet::Clear(), controlCharSymbol, controlCharWidth, ctrlCharPadding, EDGE_NONE, edgeState, EOLANNOTATION_HIDDEN, eolAnnotationStyleOffset, eolAnnotationVisible, extraAscent, extraDescent, extraFontFlag, fixedColumnWidth, foldmarginColour, foldmarginHighlightColour, fontNames, Scintilla::ForeBackColours::fore, hotspotColours, hotspotSingleLine, hotspotUnderline, INDIC_PLAIN, INDIC_SQUIGGLE, INDIC_TT, indicators, indicatorsDynamic, indicatorsSetFore, Scintilla::ivNone, largestMarkerHeight, lastSegItalicsOffset, leftMarginWidth, lineHeight, lineOverlap, marginInside, marginNumberPadding, marginStyleOffset, maxAscent, maxDescent, ms, nextExtendedStyle, Scintilla::none, ResetDefaultStyle(), rightMarginWidth, SC_ALPHA_NOALPHA, SC_MARGIN_NUMBER, SC_MARGIN_SYMBOL, SC_MASK_FOLDERS, SC_MAX_MARGIN, SC_TECHNOLOGY_DEFAULT, SC_WRAPINDENT_FIXED, selAdditionalAlpha, selAdditionalBackground, selAdditionalForeground, selAlpha, selBackground2, selbar, selbarlight, selColours, selEOLFilled, showCaretLineBackground, someStylesForceCase, someStylesProtected, spaceWidth, STYLE_LINENUMBER, styles, tabDrawMode, tabWidth, Scintilla::tdLongArrow, technology, textStart, theEdge, viewEOL, viewIndentationGuides, viewWhitespace, whitespaceColours, whitespaceSize, wrapIndentMode, wrapState, wrapVisualFlags, wrapVisualFlagsLocation, wrapVisualStartIndent, Scintilla::wsInvisible, and zoomLevel.
Referenced by ViewStyle().
|
noexcept |
Definition at line 562 of file ViewStyle.cxx.
References caretStyle, CARETSTYLE_BLOCK, CARETSTYLE_INS_MASK, and CARETSTYLE_OVERSTRIKE_BLOCK.
Referenced by Scintilla::Editor::XYScrollToMakeVisible().
|
noexcept |
Definition at line 567 of file ViewStyle.cxx.
References caretStyle, CARETSTYLE_INVISIBLE, and caretWidth.
Referenced by Scintilla::EditView::DrawCarets().
|
noexcept |
Definition at line 442 of file ViewStyle.cxx.
References SC_ALPHA_NOALPHA.
Referenced by Scintilla::EditView::DrawEOL(), Scintilla::EditView::DrawLine(), and DrawWrapIndentAndMarker().
|
noexcept |
Definition at line 407 of file ViewStyle.cxx.
Referenced by Scintilla::Editor::NotifyMarginClick(), and Scintilla::Editor::NotifyMarginRightClick().
|
noexcept |
Definition at line 399 of file ViewStyle.cxx.
References someStylesProtected.
Referenced by Scintilla::Editor::MovePositionOutsideChar().
void ViewStyle::Refresh | ( | Surface & | surface, |
int | tabInChars | ||
) |
Definition at line 287 of file ViewStyle.cxx.
References aveCharWidth, CalculateMarginWidthAndMask(), Scintilla::Platform::Chrome(), Scintilla::Platform::ChromeHighlight(), controlCharSymbol, controlCharWidth, CreateAndAddFont(), extraAscent, extraDescent, extraFontFlag, Find(), FindMaxAscentDescent(), fixedColumnWidth, Scintilla::FontRealised::font, fonts, indicators, indicatorsDynamic, indicatorsSetFore, leftMarginWidth, lineHeight, lineOverlap, marginInside, maxAscent, maxDescent, selbar, selbarlight, someStylesForceCase, someStylesProtected, spaceWidth, STYLE_CONTROLCHAR, STYLE_DEFAULT, styles, tabWidth, technology, textStart, Scintilla::Surface::WidthText(), and zoomLevel.
Referenced by Scintilla::EditView::FormatRange(), and Scintilla::Editor::RefreshStyleData().
|
noexcept |
Definition at line 353 of file ViewStyle.cxx.
References nextExtendedStyle.
Referenced by Scintilla::Editor::SetDocPointer(), and Scintilla::Editor::WndProc().
void ViewStyle::ResetDefaultStyle | ( | ) |
Definition at line 373 of file ViewStyle.cxx.
References Scintilla::Style::caseMixed, Scintilla::Platform::DefaultFont(), Scintilla::Platform::DefaultFontSize(), fontNames, Scintilla::UniqueStringSet::Save(), SC_CHARSET_DEFAULT, SC_FONT_SIZE_MULTIPLIER, SC_WEIGHT_NORMAL, STYLE_DEFAULT, and styles.
Referenced by Init(), and Scintilla::Editor::WndProc().
|
noexcept |
Definition at line 484 of file ViewStyle.cxx.
References Scintilla::ForeBackColours::back, Scintilla::ColourOptional::isSet, SC_ALPHA_NOALPHA, selAdditionalAlpha, selAlpha, and selColours.
Referenced by Scintilla::EditView::DrawBackground(), and Scintilla::EditView::DrawForeground().
void ViewStyle::SetStyleFontName | ( | int | styleIndex, |
const char * | name | ||
) |
Definition at line 395 of file ViewStyle.cxx.
References fontNames, name, Scintilla::UniqueStringSet::Save(), and styles.
Referenced by Scintilla::Editor::StyleSetMessage().
|
noexcept |
Definition at line 556 of file ViewStyle.cxx.
Referenced by Scintilla::Editor::WndProc().
|
noexcept |
Definition at line 517 of file ViewStyle.cxx.
References Scintilla::character, Scintilla::none, SC_WRAP_CHAR, SC_WRAP_WHITESPACE, SC_WRAP_WORD, Scintilla::whitespace, and Scintilla::word.
Referenced by Scintilla::Editor::WndProc().
|
noexcept |
Definition at line 538 of file ViewStyle.cxx.
Referenced by Scintilla::Editor::WndProc().
|
noexcept |
Definition at line 544 of file ViewStyle.cxx.
Referenced by Scintilla::Editor::WndProc().
|
noexcept |
Definition at line 550 of file ViewStyle.cxx.
Referenced by Scintilla::Editor::WndProc().
|
noexcept |
Definition at line 418 of file ViewStyle.cxx.
|
noexcept |
Definition at line 489 of file ViewStyle.cxx.
References Scintilla::ForeBackColours::back, Scintilla::ColourOptional::isSet, viewWhitespace, whitespaceColours, and Scintilla::wsInvisible.
Referenced by Scintilla::EditView::DrawBackground(), and Scintilla::EditView::DrawForeground().
|
noexcept |
Definition at line 493 of file ViewStyle.cxx.
References Scintilla::wsVisibleAfterIndent, Scintilla::wsVisibleAlways, and Scintilla::wsVisibleOnlyInIndent.
Referenced by Scintilla::EditView::DrawBackground(), and Scintilla::EditView::DrawForeground().
|
noexcept |
Definition at line 499 of file ViewStyle.cxx.
References Scintilla::ForeBackColours::fore, Scintilla::ColourOptional::isSet, STYLE_DEFAULT, styles, and whitespaceColours.
Referenced by Scintilla::EditView::DrawEOL(), and DrawWrapIndentAndMarker().
ColourDesired Scintilla::ViewStyle::additionalCaretColour |
Definition at line 132 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawCarets(), Init(), ViewStyle(), and Scintilla::Editor::WndProc().
bool Scintilla::ViewStyle::alwaysShowCaretLineBackground |
Definition at line 135 of file ViewStyle.h.
Referenced by DrawTranslucentLineState(), Scintilla::EditView::FormatRange(), Init(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::annotationStyleOffset |
Definition at line 147 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawAnnotation(), Init(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::annotationVisible |
Definition at line 146 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawAnnotation(), Init(), Scintilla::Editor::NotifyModified(), Scintilla::Editor::PositionUpOrDown(), Scintilla::Editor::SetAnnotationHeights(), Scintilla::Editor::SetAnnotationVisible(), ViewStyle(), Scintilla::Editor::WndProc(), Scintilla::Editor::WrapLines(), and Scintilla::Editor::WrapOneLine().
XYPOSITION Scintilla::ViewStyle::aveCharWidth |
Definition at line 96 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawCarets(), Scintilla::EditView::DrawEOL(), Scintilla::EditView::DrawEOLAnnotationText(), Scintilla::EditView::DrawFoldDisplayText(), DrawWrapIndentAndMarker(), Init(), Scintilla::EditView::LayoutLine(), Refresh(), and Scintilla::Editor::XYScrollToMakeVisible().
int Scintilla::ViewStyle::braceBadLightIndicator |
Definition at line 153 of file ViewStyle.h.
Referenced by DrawIndicators(), Init(), ViewStyle(), and Scintilla::Editor::WndProc().
bool Scintilla::ViewStyle::braceBadLightIndicatorSet |
Definition at line 152 of file ViewStyle.h.
Referenced by DrawIndicators(), Scintilla::EditView::FormatRange(), Init(), Scintilla::EditView::PaintText(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::braceHighlightIndicator |
Definition at line 151 of file ViewStyle.h.
Referenced by DrawIndicators(), Init(), ViewStyle(), and Scintilla::Editor::WndProc().
bool Scintilla::ViewStyle::braceHighlightIndicatorSet |
Definition at line 150 of file ViewStyle.h.
Referenced by DrawIndicators(), Scintilla::EditView::FormatRange(), Init(), Scintilla::EditView::PaintText(), ViewStyle(), and Scintilla::Editor::WndProc().
ColourDesired Scintilla::ViewStyle::caretcolour |
Definition at line 131 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawCarets(), Init(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::caretLineAlpha |
Definition at line 137 of file ViewStyle.h.
Referenced by DrawCaretLineFramed(), Scintilla::EditView::DrawEOL(), DrawTranslucentLineState(), DrawWrapIndentAndMarker(), Init(), ViewStyle(), and Scintilla::Editor::WndProc().
ColourDesired Scintilla::ViewStyle::caretLineBackground |
Definition at line 136 of file ViewStyle.h.
Referenced by DrawCaretLineFramed(), Scintilla::EditView::DrawEOL(), DrawTranslucentLineState(), DrawWrapIndentAndMarker(), Init(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::caretLineFrame |
Definition at line 133 of file ViewStyle.h.
Referenced by DrawTranslucentLineState(), GetFrameWidth(), Init(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::caretStyle |
Definition at line 138 of file ViewStyle.h.
Referenced by Init(), IsBlockCaretStyle(), IsCaretVisible(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::caretWidth |
Definition at line 139 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawCarets(), Init(), IsCaretVisible(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::controlCharSymbol |
Definition at line 107 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawForeground(), Init(), Refresh(), ViewStyle(), and Scintilla::Editor::WndProc().
XYPOSITION Scintilla::ViewStyle::controlCharWidth |
Definition at line 108 of file ViewStyle.h.
Referenced by Init(), Scintilla::EditView::LayoutLine(), Refresh(), and ViewStyle().
int Scintilla::ViewStyle::ctrlCharPadding |
Definition at line 158 of file ViewStyle.h.
Referenced by Init(), Scintilla::EditView::LayoutLine(), and ViewStyle().
int Scintilla::ViewStyle::edgeState |
Definition at line 154 of file ViewStyle.h.
Referenced by DrawEdgeLine(), Init(), Scintilla::EditView::LayoutLine(), Scintilla::EditView::PaintText(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::eolAnnotationStyleOffset |
Definition at line 149 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawEOLAnnotationText(), Init(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::eolAnnotationVisible |
Definition at line 148 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawEOL(), Scintilla::EditView::DrawEOLAnnotationText(), Init(), Scintilla::Editor::NotifyModified(), Scintilla::Editor::SetEOLAnnotationVisible(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::extraAscent |
Definition at line 143 of file ViewStyle.h.
Referenced by Init(), Refresh(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::extraDescent |
Definition at line 144 of file ViewStyle.h.
Referenced by Init(), Refresh(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::extraFontFlag |
Definition at line 142 of file ViewStyle.h.
Referenced by Init(), Refresh(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::fixedColumnWidth |
Total width of margins.
Definition at line 122 of file ViewStyle.h.
Referenced by Scintilla::Editor::ButtonMoveWithModifiers(), CalculateMarginWidthAndMask(), ExternalMarginWidth(), Scintilla::EditView::FormatRange(), Init(), Scintilla::Editor::PaintSelMargin(), Scintilla::Editor::PointInSelMargin(), Scintilla::Editor::RedrawSelMargin(), Refresh(), Scintilla::Editor::RefreshPixMaps(), ViewStyle(), and Scintilla::Editor::WndProc().
ColourOptional Scintilla::ViewStyle::foldmarginColour |
Definition at line 111 of file ViewStyle.h.
Referenced by Init(), Scintilla::MarginView::RefreshPixMaps(), ViewStyle(), and Scintilla::Editor::WndProc().
ColourOptional Scintilla::ViewStyle::foldmarginHighlightColour |
Definition at line 112 of file ViewStyle.h.
Referenced by Init(), Scintilla::MarginView::RefreshPixMaps(), ViewStyle(), and Scintilla::Editor::WndProc().
|
private |
Definition at line 81 of file ViewStyle.h.
Referenced by Init(), ResetDefaultStyle(), SetStyleFontName(), and ViewStyle().
|
private |
Definition at line 82 of file ViewStyle.h.
Referenced by CreateAndAddFont(), Find(), FindMaxAscentDescent(), Refresh(), and ~ViewStyle().
ForeBackColours Scintilla::ViewStyle::hotspotColours |
Definition at line 113 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawForeground(), Init(), ViewStyle(), and Scintilla::Editor::WndProc().
bool Scintilla::ViewStyle::hotspotSingleLine |
Definition at line 115 of file ViewStyle.h.
Referenced by Init(), Scintilla::Editor::SetHotSpotRange(), ViewStyle(), and Scintilla::Editor::WndProc().
bool Scintilla::ViewStyle::hotspotUnderline |
Definition at line 114 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawForeground(), Init(), ViewStyle(), and Scintilla::Editor::WndProc().
std::vector<Indicator> Scintilla::ViewStyle::indicators |
Definition at line 88 of file ViewStyle.h.
Referenced by Scintilla::BreakFinder::BreakFinder(), Scintilla::EditView::DrawForeground(), DrawIndicator(), DrawIndicators(), Scintilla::ScintillaGTK::Init(), Init(), Refresh(), Scintilla::Editor::SetHoverIndicatorPosition(), ViewStyle(), and Scintilla::Editor::WndProc().
bool Scintilla::ViewStyle::indicatorsDynamic |
Definition at line 89 of file ViewStyle.h.
Referenced by Init(), Refresh(), Scintilla::Editor::SetHoverIndicatorPoint(), Scintilla::Editor::SetHoverIndicatorPosition(), and ViewStyle().
bool Scintilla::ViewStyle::indicatorsSetFore |
Definition at line 90 of file ViewStyle.h.
Referenced by Scintilla::BreakFinder::BreakFinder(), Scintilla::EditView::DrawForeground(), Init(), Refresh(), and ViewStyle().
int Scintilla::ViewStyle::largestMarkerHeight |
Definition at line 87 of file ViewStyle.h.
Referenced by CalcLargestMarkerHeight(), Init(), and Scintilla::Editor::RedrawSelMargin().
int Scintilla::ViewStyle::lastSegItalicsOffset |
Definition at line 159 of file ViewStyle.h.
Referenced by Init(), Scintilla::EditView::LayoutLine(), and ViewStyle().
int Scintilla::ViewStyle::leftMarginWidth |
Margins are ordered: Line Numbers, Selection Margin, Spacing Margin.
Spacing margin on left of text
Definition at line 117 of file ViewStyle.h.
Referenced by CalculateMarginWidthAndMask(), Scintilla::EditView::FormatRange(), Init(), Scintilla::Editor::Paint(), Scintilla::EditView::PaintText(), Scintilla::Editor::PointInSelMargin(), Scintilla::Editor::RectangleFromRange(), Refresh(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::lineHeight |
Definition at line 92 of file ViewStyle.h.
Referenced by Scintilla::ScintillaBase::AutoCompleteStart(), Scintilla::ScintillaBase::CallTipShow(), Scintilla::Editor::DocumentPointFromView(), Scintilla::EditView::DrawForeground(), Scintilla::EditView::DrawIndentGuidesOverEmpty(), Scintilla::EditView::FormatRange(), GetFrameWidth(), Init(), Scintilla::Editor::LineFromLocation(), Scintilla::Editor::LinesOnScreen(), Scintilla::EditView::LocationFromPosition(), Scintilla::Editor::MoveCaretInsideView(), Scintilla::Editor::PageMove(), Scintilla::MarginView::PaintMargin(), Scintilla::EditView::PaintText(), Scintilla::Editor::PositionAfterArea(), Scintilla::Editor::PositionUpOrDown(), Scintilla::Editor::RectangleFromRange(), Scintilla::Editor::RedrawSelMargin(), Refresh(), Scintilla::Editor::RefreshPixMaps(), Scintilla::EditView::RefreshPixMaps(), Scintilla::ScintillaGTK::ScrollText(), Scintilla::ScintillaGTK::SetCandidateWindowPos(), Scintilla::EditView::SPositionFromLocation(), Scintilla::Editor::WndProc(), and Scintilla::Editor::XYScrollToMakeVisible().
int Scintilla::ViewStyle::lineOverlap |
Definition at line 93 of file ViewStyle.h.
Referenced by Init(), Scintilla::Editor::InvalidateRange(), and Refresh().
bool Scintilla::ViewStyle::marginInside |
true: margin included in text view, false: separate views
Definition at line 123 of file ViewStyle.h.
Referenced by CalculateMarginWidthAndMask(), ExternalMarginWidth(), Init(), Scintilla::Editor::Paint(), Scintilla::EditView::PaintText(), Refresh(), and ViewStyle().
int Scintilla::ViewStyle::marginNumberPadding |
Definition at line 157 of file ViewStyle.h.
Referenced by Init(), Scintilla::MarginView::PaintMargin(), and ViewStyle().
int Scintilla::ViewStyle::marginStyleOffset |
Definition at line 145 of file ViewStyle.h.
Referenced by Init(), Scintilla::MarginView::PaintMargin(), ViewStyle(), and Scintilla::Editor::WndProc().
std::vector<LineMarker> Scintilla::ViewStyle::markers |
Definition at line 86 of file ViewStyle.h.
Referenced by CalcLargestMarkerHeight(), CalculateMarginWidthAndMask(), DrawMarkUnderline(), DrawTranslucentLineState(), Scintilla::MarginView::PaintMargin(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::maskDrawInText |
Mask for markers that always draw in text.
Definition at line 120 of file ViewStyle.h.
Referenced by CalculateMarginWidthAndMask(), DrawTranslucentLineState(), Scintilla::Editor::RedrawSelMargin(), and ViewStyle().
int Scintilla::ViewStyle::maskInLine |
Mask for markers to be put into text because there is nowhere for them to go in margin.
Definition at line 119 of file ViewStyle.h.
Referenced by CalculateMarginWidthAndMask(), DrawTranslucentLineState(), Scintilla::Editor::RedrawSelMargin(), and ViewStyle().
unsigned int Scintilla::ViewStyle::maxAscent |
Definition at line 94 of file ViewStyle.h.
Referenced by DrawBlockCaret(), Scintilla::EditView::DrawEOLAnnotationText(), Scintilla::EditView::DrawFoldDisplayText(), Scintilla::EditView::DrawForeground(), DrawIndicator(), Scintilla::DrawStyledText(), DrawTextBlob(), FindMaxAscentDescent(), Scintilla::EditView::FormatRange(), Init(), Scintilla::MarginView::PaintMargin(), and Refresh().
unsigned int Scintilla::ViewStyle::maxDescent |
Definition at line 95 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawForeground(), DrawIndicator(), FindMaxAscentDescent(), Init(), and Refresh().
std::vector<MarginStyle> Scintilla::ViewStyle::ms |
Definition at line 121 of file ViewStyle.h.
Referenced by CalculateMarginWidthAndMask(), Scintilla::EditView::FormatRange(), Init(), Scintilla::Editor::NotifyMarginClick(), Scintilla::Editor::NotifyMarginRightClick(), Scintilla::MarginView::PaintMargin(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::nextExtendedStyle |
Definition at line 85 of file ViewStyle.h.
Referenced by AllocateExtendedStyles(), Init(), ReleaseAllExtendedStyles(), and ViewStyle().
int Scintilla::ViewStyle::rightMarginWidth |
Spacing margin on right of text.
Definition at line 118 of file ViewStyle.h.
Referenced by Scintilla::Editor::ChangeSize(), Scintilla::EditView::FormatRange(), Scintilla::Editor::GetTextRectangle(), Init(), Scintilla::Editor::Paint(), Scintilla::EditView::PaintText(), ViewStyle(), Scintilla::Editor::WndProc(), and Scintilla::Editor::WrapLines().
int Scintilla::ViewStyle::selAdditionalAlpha |
Definition at line 104 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawEOL(), Scintilla::EditView::DrawFoldDisplayText(), DrawTranslucentSelection(), Scintilla::EditView::FillLineRemainder(), Scintilla::EditView::FormatRange(), Init(), SelectionBackgroundDrawn(), ViewStyle(), and Scintilla::Editor::WndProc().
ColourDesired Scintilla::ViewStyle::selAdditionalBackground |
Definition at line 101 of file ViewStyle.h.
Referenced by Init(), ViewStyle(), and Scintilla::Editor::WndProc().
ColourDesired Scintilla::ViewStyle::selAdditionalForeground |
Definition at line 100 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawEOL(), Scintilla::EditView::DrawFoldDisplayText(), Scintilla::EditView::DrawForeground(), Init(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::selAlpha |
Definition at line 103 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawEOL(), Scintilla::EditView::DrawFoldDisplayText(), DrawTranslucentSelection(), Scintilla::EditView::FillLineRemainder(), Scintilla::EditView::FormatRange(), Init(), SelectionBackgroundDrawn(), ViewStyle(), and Scintilla::Editor::WndProc().
ColourDesired Scintilla::ViewStyle::selBackground2 |
Definition at line 102 of file ViewStyle.h.
Referenced by Init(), and ViewStyle().
ColourDesired Scintilla::ViewStyle::selbar |
Definition at line 109 of file ViewStyle.h.
Referenced by Init(), Refresh(), Scintilla::MarginView::RefreshPixMaps(), and ViewStyle().
ColourDesired Scintilla::ViewStyle::selbarlight |
Definition at line 110 of file ViewStyle.h.
Referenced by Init(), Refresh(), Scintilla::MarginView::RefreshPixMaps(), and ViewStyle().
ForeBackColours Scintilla::ViewStyle::selColours |
Definition at line 99 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawEOL(), Scintilla::EditView::DrawFoldDisplayText(), Scintilla::EditView::DrawForeground(), Scintilla::EditView::FillLineRemainder(), Scintilla::EditView::FormatRange(), Init(), SelectionBackgroundDrawn(), ViewStyle(), and Scintilla::Editor::WndProc().
bool Scintilla::ViewStyle::selEOLFilled |
Definition at line 105 of file ViewStyle.h.
Referenced by Scintilla::EditView::FillLineRemainder(), Init(), ViewStyle(), and Scintilla::Editor::WndProc().
bool Scintilla::ViewStyle::showCaretLineBackground |
Definition at line 134 of file ViewStyle.h.
Referenced by DrawTranslucentLineState(), Scintilla::EditView::FormatRange(), Init(), ViewStyle(), and Scintilla::Editor::WndProc().
bool Scintilla::ViewStyle::someStylesForceCase |
Definition at line 141 of file ViewStyle.h.
Referenced by Init(), Scintilla::EditView::LayoutLine(), Refresh(), and ViewStyle().
bool Scintilla::ViewStyle::someStylesProtected |
Definition at line 140 of file ViewStyle.h.
Referenced by Init(), ProtectionActive(), Refresh(), and ViewStyle().
XYPOSITION Scintilla::ViewStyle::spaceWidth |
Definition at line 97 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawAnnotation(), DrawEdgeLine(), Scintilla::EditView::DrawForeground(), Scintilla::EditView::DrawIndentGuidesOverEmpty(), Init(), Scintilla::EditView::LayoutLine(), Scintilla::EditView::PaintText(), Refresh(), and Scintilla::Editor::WndProc().
std::vector<Style> Scintilla::ViewStyle::styles |
Definition at line 84 of file ViewStyle.h.
Referenced by AllocateExtendedStyles(), AllocStyles(), Scintilla::ScintillaBase::AutoCompleteStart(), Scintilla::ScintillaBase::CallTipShow(), Scintilla::ScintillaGTK::CharacterSetID(), ClearStyles(), Scintilla::Editor::CopyRangeToClipboard(), Scintilla::Editor::CopySelectionRange(), Scintilla::Editor::CopyText(), Scintilla::EditView::DrawAnnotation(), DrawBlockCaret(), Scintilla::EditView::DrawCarets(), Scintilla::EditView::DrawEOL(), Scintilla::EditView::DrawEOLAnnotationText(), Scintilla::EditView::DrawFoldDisplayText(), DrawFoldLines(), Scintilla::EditView::DrawForeground(), Scintilla::DrawStyledText(), DrawTextBlob(), DrawTranslucentSelection(), DrawWrapIndentAndMarker(), EnsureStyle(), Scintilla::EditView::FillLineRemainder(), Scintilla::EditView::FormatRange(), Scintilla::ScintillaGTKAccessible::GetAttributesForStyle(), Scintilla::ScintillaGTK::GetGtkSelectionText(), Init(), Scintilla::EditView::LayoutLine(), Scintilla::EditView::LocationFromPosition(), Scintilla::PositionCache::MeasureWidths(), Scintilla::ScintillaGTK::ModifyScrollBars(), Scintilla::Editor::MovePositionOutsideChar(), Scintilla::Editor::Paint(), Scintilla::MarginView::PaintMargin(), Scintilla::EditView::PaintText(), Scintilla::Editor::PositionIsHotspot(), Refresh(), Scintilla::EditView::RefreshPixMaps(), ResetDefaultStyle(), SetStyleFontName(), Scintilla::EditView::SPositionFromLineX(), Scintilla::EditView::SPositionFromLocation(), Scintilla::Editor::StyleGetMessage(), Scintilla::Editor::StyleSetMessage(), Scintilla::Editor::TextWidth(), ViewStyle(), Scintilla::WidestLineWidth(), Scintilla::WidthStyledText(), Scintilla::Editor::WndProc(), Scintilla::ScintillaBase::WndProc(), WrapColour(), and ~ViewStyle().
TabDrawMode Scintilla::ViewStyle::tabDrawMode |
Definition at line 127 of file ViewStyle.h.
Referenced by DrawTabArrow(), Init(), ViewStyle(), and Scintilla::Editor::WndProc().
XYPOSITION Scintilla::ViewStyle::tabWidth |
Definition at line 98 of file ViewStyle.h.
Referenced by Init(), Scintilla::EditView::LayoutLine(), and Refresh().
int Scintilla::ViewStyle::technology |
Definition at line 91 of file ViewStyle.h.
Referenced by Scintilla::EditView::AllocateGraphics(), Scintilla::MarginView::AllocateGraphics(), Scintilla::ScintillaBase::CallTipShow(), Scintilla::EditView::FormatRange(), Init(), Scintilla::Editor::InvalidateStyleData(), and Refresh().
int Scintilla::ViewStyle::textStart |
Starting x position of text within the view.
Definition at line 124 of file ViewStyle.h.
Referenced by Scintilla::Editor::ChangeSize(), Scintilla::Editor::GetTextRectangle(), Init(), Scintilla::EditView::LocationFromPosition(), Scintilla::Editor::PaintContainsMargin(), Scintilla::EditView::PaintText(), Scintilla::Editor::PointInSelMargin(), Scintilla::Editor::RectangleFromRange(), Refresh(), Scintilla::Editor::SPositionFromLocation(), Scintilla::EditView::SPositionFromLocation(), ViewStyle(), Scintilla::Editor::WndProc(), Scintilla::Editor::WrapLines(), and Scintilla::Editor::XFromPosition().
EdgeProperties Scintilla::ViewStyle::theEdge |
Definition at line 155 of file ViewStyle.h.
Referenced by DrawEdgeLine(), Init(), Scintilla::EditView::LayoutLine(), Scintilla::EditView::PaintText(), ViewStyle(), and Scintilla::Editor::WndProc().
std::vector<EdgeProperties> Scintilla::ViewStyle::theMultiEdge |
Definition at line 156 of file ViewStyle.h.
Referenced by AddMultiEdge(), DrawEdgeLine(), Scintilla::EditView::PaintText(), ViewStyle(), and Scintilla::Editor::WndProc().
bool Scintilla::ViewStyle::viewEOL |
Definition at line 130 of file ViewStyle.h.
Referenced by Init(), Scintilla::EditView::LayoutLine(), ViewStyle(), and Scintilla::Editor::WndProc().
IndentView Scintilla::ViewStyle::viewIndentationGuides |
Definition at line 129 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawForeground(), Scintilla::EditView::DrawIndentGuidesOverEmpty(), Scintilla::EditView::FormatRange(), Init(), ViewStyle(), and Scintilla::Editor::WndProc().
WhiteSpaceVisibility Scintilla::ViewStyle::viewWhitespace |
Definition at line 126 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawBackground(), Scintilla::EditView::DrawForeground(), Init(), ViewStyle(), WhitespaceBackgroundDrawn(), and Scintilla::Editor::WndProc().
ForeBackColours Scintilla::ViewStyle::whitespaceColours |
Definition at line 106 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawBackground(), Scintilla::EditView::DrawForeground(), Scintilla::EditView::FormatRange(), Init(), ViewStyle(), WhitespaceBackgroundDrawn(), Scintilla::Editor::WndProc(), and WrapColour().
int Scintilla::ViewStyle::whitespaceSize |
Definition at line 128 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawForeground(), Init(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::wrapIndentMode |
Definition at line 166 of file ViewStyle.h.
Referenced by Init(), Scintilla::EditView::LayoutLine(), ViewStyle(), and Scintilla::Editor::WndProc().
WrapMode Scintilla::ViewStyle::wrapState |
Definition at line 162 of file ViewStyle.h.
Referenced by Init(), Scintilla::EditView::LayoutLine(), ViewStyle(), Scintilla::Editor::WndProc(), and Scintilla::Editor::Wrapping().
int Scintilla::ViewStyle::wrapVisualFlags |
Definition at line 163 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawEOL(), DrawWrapIndentAndMarker(), Init(), Scintilla::EditView::LayoutLine(), Scintilla::MarginView::PaintMargin(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::wrapVisualFlagsLocation |
Definition at line 164 of file ViewStyle.h.
Referenced by Scintilla::EditView::DrawEOL(), DrawWrapIndentAndMarker(), Init(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::wrapVisualStartIndent |
Definition at line 165 of file ViewStyle.h.
Referenced by Init(), Scintilla::EditView::LayoutLine(), ViewStyle(), and Scintilla::Editor::WndProc().
int Scintilla::ViewStyle::zoomLevel |
Definition at line 125 of file ViewStyle.h.
Referenced by Scintilla::EditView::FormatRange(), Init(), Scintilla::Editor::KeyCommand(), Refresh(), ViewStyle(), and Scintilla::Editor::WndProc().