36bool ValidStyledText(
const ViewStyle &vs,
size_t styleOffset,
const StyledText &st)
noexcept;
37int WidestLineWidth(Surface *surface,
const ViewStyle &vs,
int styleOffset,
const StyledText &st);
40void DrawStyledText(Surface *surface,
const ViewStyle &vs,
int styleOffset, PRectangle rcText,
41 const StyledText &st,
size_t start,
size_t length,
DrawPhase phase);
67 enum PhasesDraw { phasesOne, phasesTwo, phasesMultiple };
100 bool SetTwoPhaseDraw(
bool twoPhaseDraw)
noexcept;
101 bool SetPhasesDraw(
int phases)
noexcept;
102 bool LinesOverlap() const noexcept;
104 void ClearAllTabstops() noexcept;
108 int GetNextTabstop(
Sci::
Line line,
int x) const noexcept;
109 void LinesAddedOrRemoved(
Sci::
Line lineOfPos,
Sci::
Line linesAdded);
111 void DropGraphics(
bool freeObjects);
112 void AllocateGraphics(const
ViewStyle &vsDraw);
123 bool charPosition,
bool virtualSpace, const
ViewStyle &vs);
139 int xStart,
PRectangle rcLine,
int subLine) const;
Convenience class to ensure LineLayout objects are always disposed.
AutoLineLayout(LineLayoutCache &llc_, LineLayout *ll_) noexcept
AutoLineLayout(const AutoLineLayout &)=delete
~AutoLineLayout() noexcept
AutoLineLayout(AutoLineLayout &&)=delete
LineLayout * operator->() const noexcept
AutoLineLayout & operator=(const AutoLineLayout &)=delete
AutoLineLayout & operator=(AutoLineLayout &&)=delete
void Set(LineLayout *ll_) noexcept
EditView draws the main text area.
EditView(EditView &&)=delete
EditView(const EditView &)=delete
void operator=(EditView &&)=delete
PrintParameters printParameters
std::unique_ptr< Surface > pixmapIndentGuide
PhasesDraw
In phasesTwo mode, drawing is performed in two phases, first the background and then the foreground.
bool bufferedDraw
In bufferedDraw mode, graphics operations are drawn to a pixmap and then copied to the screen.
void operator=(const EditView &)=delete
std::unique_ptr< LineTabstops > ldTabstops
bool imeCaretBlockOverride
std::unique_ptr< Surface > pixmapLine
int tabWidthMinimumPixels
std::unique_ptr< Surface > pixmapIndentGuideHighlight
bool additionalCaretsVisible
bool additionalCaretsBlink
DrawTabArrowFn customDrawTabArrow
Some platforms, notably PLAT_CURSES, do not support Scintilla's native DrawTabArrow function for draw...
DrawWrapMarkerFn customDrawWrapMarker
void Dispose(LineLayout *ll) noexcept
A geometric rectangle class.
A point in document space.
The range class represents a range of text in a document.
A surface abstracts a place to draw.
unsigned long int lineNumber
A Position is a position within a document between two characters or at the beginning or end.
Styling buffer using one element for each run rather than using a filled buffer.
void DrawTextNoClipPhase(Surface *surface, PRectangle rc, const Style &style, XYPOSITION ybase, const char *s, int len, DrawPhase phase)
bool ValidStyledText(const ViewStyle &vs, size_t styleOffset, const StyledText &st) noexcept
void DrawStyledText(Surface *surface, const ViewStyle &vs, int styleOffset, PRectangle rcText, const StyledText &st, size_t start, size_t length, DrawPhase phase)
void(* DrawWrapMarkerFn)(Surface *surface, PRectangle rcPlace, bool isEndMarker, ColourDesired wrapColour)
DrawPhase
The view may be drawn in separate phases.
@ drawSelectionTranslucent
void(* DrawTabArrowFn)(Surface *surface, PRectangle rcTab, int ymid)
int WidestLineWidth(Surface *surface, const ViewStyle &vs, int styleOffset, const StyledText &st)
PrintParameters() noexcept