ui
ui
MTextViewMTextView.ui::TextViewAppendLines(StringArray lines, String ret) - allocRows() -
appendLine(String text) -
appendLogLine(String text) -
beginXFMTag(ui::AbstractXMLForm form, HashTable attributes) : int -
calcMinimumSizeX() -
calcMinimumSizeY() -
calcPreferredSizeX() -
calcPreferredSizeY() -
centerY() -
colorizeLine(int lineIdx, c32) -
consumeAction(ui::Action action) : int -
endMouseSelection(ui::MouseEvent ev) : int -
expandSelectionToCursor(int ox, oy) -
findTextAndSetCursor(String text) -
getCurrentRow() : String -
getCurrentRowLength() : int -
getCursorPx() : int -
getCursorPy() : int -
getCursorX() : int -
getCursorY() : int -
getCursorYForLine(int linenr) : int - Returns void (if not visible) or cursor y coordinate for the given line number.
getCursorYRel() : float -
getFixedNumCols() : int -
getFixedNumRows() : int - Return fixed number of rows.
getMaxNumCols() : int - Get maximum number of columns.
getMaxNumRows() : int - Get maximum number of rows.
getMinNumCols() : int - Return minimum number of columns.
getMinNumRows() : int - Return minimum number of rows.
getNumCols() : int - Return current number of visible columns.
getNumRows() : int - Return current number of visible rows.
getPercentageVisible() : float -
getSelectedText() : String - Return selected text (concatenates selected region).
getSelectedTextTrimToFirstLine() : String -
getText() : String - Return edited text (concatenates all lines).
getTextLines() : StringArray -
getViewX() : int -
getViewY() : int -
getVisibleRowAttributesByIndex(int visY) : IntArray -
getVisibleRowColorsByIndex(int visY) : IntArray -
getVisibleRowStringByIndex(int visY) -
gotoEnd() -
gotoPixelXY(float x, y) -
gotoPreferredCursorX() -
gotoTop() -
gotoX(int lineOffset) - Goto line offset
gotoXY(int x, y) -
gotoY(int line) - Goto line
gotoYRel(float rel) -
handleCursorMoveHighlightReset() -
haveSelection() : int - Check if a selection is available.
initTextView() -
isCursorXBeforeFirstLineWord() : int -
isMouseFocusLocked() : int -
layoutHierarchy(int bInvalidateSizeCaches, bLayoutFinal) -
makeLineVisible(int lineIdx) -
moveCursorDown() : int -
moveCursorLeft() : int -
moveCursorRight() : int -
moveCursorRightWithinLine() : int -
moveCursorToRow(int row) -
moveCursorUp() : int -
onDraw() -
onKey(Key k) : int -
onKeyboardFocusLost(int bQuiet) -
onLookAndFeelChanged() -
onMouse(ui::MouseEvent ev) : int -
onMouseClick(ui::MouseEvent ev) : int -
onMouseDoubleClick(ui::MouseEvent ev) : int -
onMouseFocus() -
onOpen() -
onResize() -
pageDown() -
pageUp() -
queueUpdateHighlightLine() -
redrawAllRows() -
redrawCurrentRow() -
render() - Render texture stripes. Assumes that the bg has already been filled.
resetAllAttributes() - Resets attributes+colors of all visible lines.
resetLineAttributes(int lineNr) -
scrollDown() -
scrollLeft() -
scrollRight() -
scrollUp() -
selectAll() - Select all text lines
selectNone() - Select nothing
selectWord() - Select word under cursor
setFixedNumCols(int numCols) - Set fixed number of columns and disable dynamic resizing.
setFixedNumRows(int numRows) - Set fixed number of rows and disable dynamic y resizing.
setHighlightLineIdx(int lineIdx, c32) -
setLogMaxLines(int maxLines) - Set number of lines in logview mode.
setMaxNumCols(int numCols) - Set maximum number of columns and enable dynamic x resizing.
setMaxNumRows(int numRows) - Set maximum number of rows and enable dynamic y resizing.
setMinNumCols(int numCols) - Set minimum number of columns and enable dynamic x resizing.
setMinNumRows(int numRows) - Set minimum number of rows and enable dynamic y resizing.
setSelectionEndByPixel(float x, y) -
setSelectionStartByPixel(float x, y) -
setSyntaxHighlighter(Object hl) -
setText(String text) - Set text lines by string. Each line must be terminated with the n character.
showFindDialog() -
showFindDialogSelectedTextOrLastFindString() -
startCaretTimer() -
startSelectionIfEmpty() -
updateDynamicSize() -
updateHighlightLine() -
updateLineSelection(int lineNr, bResetAttributes) -
updatePreferredCursorX() -
updateRequiredSize() -
updateSelection(int bResetAttributes) - Prepare selection rendering for all visible lines. Called if the selection has changed.
validateCursorPosition() -
validateCursorX() -
validateCursorY() -
wantOnMouseClickAfterOnMouseWasHandled() : int - Function AppendLines | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method allocRows | |||
Signature | |||
|
Method beginXFMTag | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
| ||||||||||||||||||||
Method calcMinimumSizeX | |||
Signature | |||
|
Method calcMinimumSizeY | |||
Signature | |||
|
Method calcPreferredSizeX | |||
Signature | |||
|
Method calcPreferredSizeY | |||
Signature | |||
|
Method centerY | |||
Signature | |||
|
Method colorizeLine | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method consumeAction | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
| ||||||||||
Method endMouseSelection | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
Returns | ||||||||||
| ||||||||||
Method expandSelectionToCursor | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method getCurrentRowLength | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getCursorPx | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getCursorPy | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getCursorX | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getCursorY | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getCursorYForLine | ||||||||||
Returns void (if not visible) or cursor y coordinate for the given line number. | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
| ||||||||||
Method getCursorYRel | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getFixedNumCols | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getFixedNumRows | |||||
Return fixed number of rows. | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getMaxNumCols | |||||
Get maximum number of columns. | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getMaxNumRows | |||||
Get maximum number of rows. | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getMinNumCols | |||||
Return minimum number of columns. | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getMinNumRows | |||||
Return minimum number of rows. | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getNumCols | |||||
Return current number of visible columns. | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getNumRows | |||||
Return current number of visible rows. | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getPercentageVisible | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getSelectedText | |||||
Return selected text (concatenates selected region). | |||||
Signature | |||||
| |||||
Returns | |||||
Method getSelectedTextTrimToFirstLine | |||||
Signature | |||||
| |||||
Returns | |||||
Method getText | |||||
Return edited text (concatenates all lines). | |||||
Signature | |||||
| |||||
Returns | |||||
Method getTextLines | |||||
Signature | |||||
| |||||
Returns | |||||
Method getViewX | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getViewY | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getVisibleRowAttributesByIndex | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
Method getVisibleRowColorsByIndex | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
Method getVisibleRowStringByIndex | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method gotoEnd | |||
Signature | |||
|
Method gotoPixelXY | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method gotoPreferredCursorX | |||
Signature | |||
|
Method gotoTop | |||
Signature | |||
|
Method gotoX | |||||
Goto line offset | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method gotoXY | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method gotoY | |||||
Goto line | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method gotoYRel | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method handleCursorMoveHighlightReset | |||
Signature | |||
|
Method haveSelection | |||||
Check if a selection is available. | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method initTextView | |||
Signature | |||
|
Method isCursorXBeforeFirstLineWord | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method isMouseFocusLocked | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method layoutHierarchy | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method makeLineVisible | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method moveCursorDown | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method moveCursorLeft | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method moveCursorRight | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method moveCursorRightWithinLine | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method moveCursorToRow | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method moveCursorUp | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method onDraw | |||
Signature | |||
|
Method onKeyboardFocusLost | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method onLookAndFeelChanged | |||
Signature | |||
|
Method onMouse | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
Returns | ||||||||||
| ||||||||||
Method onMouseClick | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
Returns | ||||||||||
| ||||||||||
Method onMouseDoubleClick | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
Returns | ||||||||||
| ||||||||||
Method onMouseFocus | |||
Signature | |||
|
Method onOpen | |||
Signature | |||
|
Method onResize | |||
Signature | |||
|
Method pageDown | |||
Signature | |||
|
Method pageUp | |||
Signature | |||
|
Method queueUpdateHighlightLine | |||
Signature | |||
|
Method redrawAllRows | |||
Signature | |||
|
Method redrawCurrentRow | |||
Signature | |||
|
Method render | |||
Render texture stripes. Assumes that the bg has already been filled. | |||
Signature | |||
|
Method resetAllAttributes | |||
Resets attributes+colors of all visible lines. | |||
Signature | |||
|
Method resetLineAttributes | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method scrollDown | |||
Signature | |||
|
Method scrollLeft | |||
Signature | |||
|
Method scrollRight | |||
Signature | |||
|
Method scrollUp | |||
Signature | |||
|
Method selectAll | |||
Select all text lines | |||
Signature | |||
|
Method selectNone | |||
Select nothing | |||
Signature | |||
|
Method selectWord | |||
Select word under cursor | |||
Signature | |||
|
Method setFixedNumCols | |||||
Set fixed number of columns and disable dynamic resizing. | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setFixedNumRows | |||||
Set fixed number of rows and disable dynamic y resizing. | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setHighlightLineIdx | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method setLogMaxLines | |||||
Set number of lines in logview mode. | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setMaxNumCols | |||||
Set maximum number of columns and enable dynamic x resizing. | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setMaxNumRows | |||||
Set maximum number of rows and enable dynamic y resizing. | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setMinNumCols | |||||
Set minimum number of columns and enable dynamic x resizing. | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setMinNumRows | |||||
Set minimum number of rows and enable dynamic y resizing. | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setSelectionEndByPixel | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method setSelectionStartByPixel | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method setText | |||||
Set text lines by string. Each line must be terminated with the n character. | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method showFindDialog | |||
Signature | |||
|
Method showFindDialogSelectedTextOrLastFindString | |||
Signature | |||
|
Method startCaretTimer | |||
Signature | |||
|
Method startSelectionIfEmpty | |||
Signature | |||
|
Method updateDynamicSize | |||
Signature | |||
|
Method updateHighlightLine | |||
Signature | |||
|
Method updateLineSelection | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method updatePreferredCursorX | |||
Signature | |||
|
Method updateRequiredSize | |||
Signature | |||
|
Method updateSelection | |||||
Prepare selection rendering for all visible lines. Called if the selection has changed. | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method validateCursorPosition | |||
Signature | |||
|
Method validateCursorX | |||
Signature | |||
|
Method validateCursorY | |||
Signature | |||
|
Method wantOnMouseClickAfterOnMouseWasHandled | |||||
Signature | |||||
| |||||
Returns | |||||
|
auto-generated by "DOG", the TkScript document generator. Thu, 11/Dec/2025 13:42:00