- ~this
~this()
Undocumented in source.
- _firstVisibleLine
int _firstVisibleLine;
Undocumented in source.
- _maxLineWidth
int _maxLineWidth;
Undocumented in source.
- _numVisibleLines
int _numVisibleLines;
Undocumented in source.
- _visibleLines
dstring[] _visibleLines;
Undocumented in source.
- _visibleLinesMeasurement
int[][] _visibleLinesMeasurement;
Undocumented in source.
- _visibleLinesWidths
int[] _visibleLinesWidths;
Undocumented in source.
- _visibleLinesHighlights
CustomCharProps[][] _visibleLinesHighlights;
Undocumented in source.
- _visibleLinesHighlightsBuf
CustomCharProps[][] _visibleLinesHighlightsBuf;
Undocumented in source.
- lineCount
int lineCount()
Undocumented in source. Be warned that the author may not have intended to support it.
- updateMaxLineWidth
void updateMaxLineWidth()
Undocumented in source. Be warned that the author may not have intended to support it.
- minFontSize
int minFontSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- minFontSize
int minFontSize [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- maxFontSize
int maxFontSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- maxFontSize
int maxFontSize [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- layout
void layout(Rect rc)
Set widget rectangle to specified value and layout widget contents. (Step 2 of two phase layout).
- measureVisibleText
Point measureVisibleText()
Undocumented in source. Be warned that the author may not have intended to support it.
- updateHScrollBar
void updateHScrollBar()
update horizontal scrollbar widget position
- updateVScrollBar
void updateVScrollBar()
update verticat scrollbar widget position
- onHScroll
bool onHScroll(ScrollEvent event)
process horizontal scrollbar event
- onVScroll
bool onVScroll(ScrollEvent event)
process vertical scrollbar event
- _enableScrollAfterText
bool _enableScrollAfterText;
Undocumented in source.
- ensureCaretVisible
void ensureCaretVisible(bool center)
Undocumented in source. Be warned that the author may not have intended to support it.
- textPosToClient
Rect textPosToClient(TextPosition p)
Undocumented in source. Be warned that the author may not have intended to support it.
- clientToTextPos
TextPosition clientToTextPos(Point pt)
Undocumented in source. Be warned that the author may not have intended to support it.
- handleAction
bool handleAction(Action a)
Undocumented in source. Be warned that the author may not have intended to support it.
- fullContentSize
Point fullContentSize()
calculate full content size in pixels
- measure
void measure(int parentWidth, int parentHeight)
- highlightLineRange
void highlightLineRange(DrawBuf buf, Rect lineRect, uint color, TextRange r)
Undocumented in source. Be warned that the author may not have intended to support it.
- drawLineBackground
void drawLineBackground(DrawBuf buf, int lineIndex, Rect lineRect, Rect visibleRect)
override to custom highlight of line background
- drawExtendedArea
void drawExtendedArea(DrawBuf buf)
Undocumented in source. Be warned that the author may not have intended to support it.
- _tokenHighlightColors
CustomCharProps[ubyte] _tokenHighlightColors;
Undocumented in source.
- setTokenHightlightColor
void setTokenHightlightColor(ubyte tokenCategory, uint color, bool underline, bool strikeThrough)
set highlight options for particular token category
- clearTokenHightlightColors
void clearTokenHightlightColors()
- handleCustomLineHighlight
CustomCharProps[] handleCustomLineHighlight(int line, dstring txt, CustomCharProps[] buf)
Custom text color and style highlight (using text highlight) support.
- _matchingBraces
TextRange _matchingBraces;
Undocumented in source.
- _showWhiteSpaceMarks
bool _showWhiteSpaceMarks;
Undocumented in source.
- showWhiteSpaceMarks
bool showWhiteSpaceMarks [@property getter]
when true, show marks for tabs and spaces at beginning and end of line, and tabs inside line
- showWhiteSpaceMarks
bool showWhiteSpaceMarks [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- findMaxTabMarkColumn
int findMaxTabMarkColumn(int lineIndex)
find max tab mark column position for line
- drawTabPositionMarks
void drawTabPositionMarks(DrawBuf buf, FontRef font, int lineIndex, Rect lineRect)
Undocumented in source. Be warned that the author may not have intended to support it.
- drawWhiteSpaceMarks
void drawWhiteSpaceMarks(DrawBuf buf, FontRef font, dstring txt, int tabSize, Rect lineRect, Rect visibleRect)
Undocumented in source. Be warned that the author may not have intended to support it.
- drawClient
void drawClient(DrawBuf buf)
Undocumented in source. Be warned that the author may not have intended to support it.
- onLeftPaneMouseClick
bool onLeftPaneMouseClick(MouseEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
- getLeftPaneIconsPopupMenu
MenuItem getLeftPaneIconsPopupMenu(int line)
Undocumented in source. Be warned that the author may not have intended to support it.
- _findPanel
FindPanel _findPanel;
Undocumented in source.
- createFindPanel
void createFindPanel(bool selectionOnly, bool replaceMode)
- closeFindPanel
void closeFindPanel()
- onDraw
void onDraw(DrawBuf buf)
Draw widget at its position to buffer
Read only edit box for displaying logs with lines append operation