ui
tkui
MTextView
MTextView.ui::TextView
allocRows()
-
appendLine(String text)
-
appendLogLine(String text)
-
beginXFMTag(ui::AbstractXMLForm form, HashTable attributes) : int
-
calcMinimumSizeX()
-
calcMinimumSizeY()
-
calcPreferredSizeX()
-
calcPreferredSizeY()
-
endMouseSelection(ui::MouseEvent ev) : int
-
expandSelectionToCursor(int ox, oy)
-
getCurrentRow() : String
-
getCurrentRowLength() : int
-
getCursorX() : int
-
getCursorY() : int
-
getCursorYForLine(int linenr) : int
- Returns void (if not visible) or cursor y coordinate for the given line number.
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 columns.
getNumRows() : int
- Return current number of rows.
getSelectedText() : String
- Return selected text (concatenates selected region).
getText() : String
- Return edited text (concatenates all lines).
gotoEnd()
-
gotoPixelXY(float x, y)
-
gotoTop()
-
gotoX(int lineOffset)
- Goto line offset
gotoXY(int x, y)
-
gotoY(int line)
- Goto line
haveSelection() : int
- Query if a selection is available.
init()
-
isMouseFocusLocked() : int
-
layoutHierarchy(int bInvalidateSizeCaches, bLayoutFinal)
-
moveCursorDown() : int
-
moveCursorLeft() : int
-
moveCursorRight() : int
-
moveCursorRightWithinLine() : int
-
moveCursorToRow(int row)
-
moveCursorUp() : int
-
onDraw()
-
onKey(Key k) : int
-
onKeyboardFocusLost(int bQuiet)
-
onMouse(ui::MouseEvent ev) : int
-
onMouseClick(ui::MouseEvent ev) : int
-
onMouseDoubleClick(ui::MouseEvent ev) : int
-
onMouseFocus()
-
onOpen()
-
onResize()
-
pageDown()
-
pageUp()
-
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.
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)
-
setText(String text)
- Set text lines by string. Each line must be terminated with the n character.
startCaretTimer()
-
startSelectionIfEmpty()
-
updateDynamicSize()
-
updateLineSelection(int lineNr)
-
updateRequiredSize()
-
updateSelection()
- Prepare selection rendering for all visible lines. Called if the selection has changed.
validateCursorX()
-
validateCursorY()
- Method allocRows | |||
Signature | |||
|
Method beginXFMTag | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
|
Method calcMinimumSizeX | |||
Signature | |||
|
Method calcMinimumSizeY | |||
Signature | |||
|
Method calcPreferredSizeX | |||
Signature | |||
|
Method calcPreferredSizeY | |||
Signature | |||
|
Method endMouseSelection | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
Returns | ||||||||||
|
Method expandSelectionToCursor | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method getCurrentRowLength | |||||
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 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 columns. | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getNumRows | |||||
Return current number of rows. | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getSelectedText | |||||
Return selected text (concatenates selected region). | |||||
Signature | |||||
| |||||
Returns | |||||
Method getText | |||||
Return edited text (concatenates all lines). | |||||
Signature | |||||
| |||||
Returns | |||||
Method gotoEnd | |||
Signature | |||
|
Method gotoPixelXY | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method gotoTop | |||
Signature | |||
|
Method gotoX | |||||
Goto line offset | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method gotoXY | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method gotoY | |||||
Goto line | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method haveSelection | |||||
Query if a selection is available. | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method init | |||
Signature | |||
|
Method isMouseFocusLocked | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method layoutHierarchy | |||||||||||||||
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 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 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 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 startCaretTimer | |||
Signature | |||
|
Method startSelectionIfEmpty | |||
Signature | |||
|
Method updateDynamicSize | |||
Signature | |||
|
Method updateLineSelection | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method updateRequiredSize | |||
Signature | |||
|
Method updateSelection | |||
Prepare selection rendering for all visible lines. Called if the selection has changed. | |||
Signature | |||
|
Method validateCursorX | |||
Signature | |||
|
Method validateCursorY | |||
Signature | |||
|
auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 14:27:06