→ home
 
→ index of namespace ui
 
→ index of project tkui
 
→ index of module MTextView

Class MTextView.ui::TextView


Synopsis: 

  Base classes:
  Derived classes:
  Methods:
Method allocRows
Signature
allocRows()

 
→ top of page
Method appendLine
Signature
appendLine(Stringtext)
Arguments
Stringtext–

 
→ top of page
Method appendLogLine
Signature
appendLogLine(Stringtext)
Arguments
Stringtext–

 
→ top of page
Method beginXFMTag
Signature
beginXFMTag(ui::AbstractXMLFormform,
  HashTableattributes 
  )  
 :int
Arguments
ui::AbstractXMLFormform–
HashTableattributes–
Returns
int–

 
→ top of page
Method calcMinimumSizeX
Signature
calcMinimumSizeX()

 
→ top of page
Method calcMinimumSizeY
Signature
calcMinimumSizeY()

 
→ top of page
Method calcPreferredSizeX
Signature
calcPreferredSizeX()

 
→ top of page
Method calcPreferredSizeY
Signature
calcPreferredSizeY()

 
→ top of page
Method endMouseSelection
Signature
endMouseSelection(ui::MouseEventev)
 :int
Arguments
Returns
int–

 
→ top of page
Method expandSelectionToCursor
Signature
expandSelectionToCursor(intox,
  intoy 
  )  
Arguments
intox–
intoy–

 
→ top of page
Method getCurrentRow
Signature
getCurrentRow():String
Returns
String–

 
→ top of page
Method getCurrentRowLength
Signature
getCurrentRowLength():int
Returns
int–

 
→ top of page
Method getCursorX
Signature
getCursorX():int
Returns
int–

 
→ top of page
Method getCursorY
Signature
getCursorY():int
Returns
int–

 
→ top of page
Method getCursorYForLine
Returns void (if not visible) or cursor y coordinate for the given line number.
Signature
getCursorYForLine(intlinenr)
 :int
Arguments
intlinenr–
Returns
int–

 
→ top of page
Method getFixedNumCols
Signature
getFixedNumCols():int
Returns
int–

 
→ top of page
Method getFixedNumRows
Return fixed number of rows.
Signature
getFixedNumRows():int
Returns
int–

 
→ top of page
Method getMaxNumCols
Get maximum number of columns.
Signature
getMaxNumCols():int
Returns
int–

 
→ top of page
Method getMaxNumRows
Get maximum number of rows.
Signature
getMaxNumRows():int
Returns
int–

 
→ top of page
Method getMinNumCols
Return minimum number of columns.
Signature
getMinNumCols():int
Returns
int–

 
→ top of page
Method getMinNumRows
Return minimum number of rows.
Signature
getMinNumRows():int
Returns
int–

 
→ top of page
Method getNumCols
Return current number of columns.
Signature
getNumCols():int
Returns
int–

 
→ top of page
Method getNumRows
Return current number of rows.
Signature
getNumRows():int
Returns
int–

 
→ top of page
Method getSelectedText
Return selected text (concatenates selected region).
Signature
getSelectedText():String
Returns
String–

 
→ top of page
Method getText
Return edited text (concatenates all lines).
Signature
getText():String
Returns
String–

 
→ top of page
Method gotoEnd
Signature
gotoEnd()

 
→ top of page
Method gotoPixelXY
Signature
gotoPixelXY(floatx,
  floaty 
  )  
Arguments
floatx–
floaty–

 
→ top of page
Method gotoTop
Signature
gotoTop()

 
→ top of page
Method gotoX
Goto line offset
Signature
gotoX(intlineOffset)
Arguments
intlineOffset–

 
→ top of page
Method gotoXY
Signature
gotoXY(intx,
  inty 
  )  
Arguments
intx–
inty–

 
→ top of page
Method gotoY
Goto line
Signature
gotoY(intline)
Arguments
intline–

 
→ top of page
Method haveSelection
Query if a selection is available.
Signature
haveSelection():int
Returns
int–

 
→ top of page
Method init
Signature
init()

 
→ top of page
Method isMouseFocusLocked
Signature
isMouseFocusLocked():int
Returns
int–

 
→ top of page
Method layoutHierarchy
Signature
layoutHierarchy(intbInvalidateSizeCaches,
  intbLayoutFinal 
  )  
Arguments
intbInvalidateSizeCaches–
intbLayoutFinal–

 
→ top of page
Method moveCursorDown
Signature
moveCursorDown():int
Returns
int–

 
→ top of page
Method moveCursorLeft
Signature
moveCursorLeft():int
Returns
int–

 
→ top of page
Method moveCursorRight
Signature
moveCursorRight():int
Returns
int–

 
→ top of page
Method moveCursorRightWithinLine
Signature
moveCursorRightWithinLine():int
Returns
int–

 
→ top of page
Method moveCursorToRow
Signature
moveCursorToRow(introw)
Arguments
introw–

 
→ top of page
Method moveCursorUp
Signature
moveCursorUp():int
Returns
int–

 
→ top of page
Method onDraw
Signature
onDraw()

 
→ top of page
Method onKey
Signature
onKey(Keyk)
 :int
Arguments
Keyk–
Returns
int–

 
→ top of page
Method onKeyboardFocusLost
Signature
onKeyboardFocusLost(intbQuiet)
Arguments
intbQuiet–

 
→ top of page
Method onMouse
Signature
onMouse(ui::MouseEventev)
 :int
Arguments
Returns
int–

 
→ top of page
Method onMouseClick
Signature
onMouseClick(ui::MouseEventev)
 :int
Arguments
Returns
int–

 
→ top of page
Method onMouseDoubleClick
Signature
onMouseDoubleClick(ui::MouseEventev)
 :int
Arguments
Returns
int–

 
→ top of page
Method onMouseFocus
Signature
onMouseFocus()

 
→ top of page
Method onOpen
Signature
onOpen()

 
→ top of page
Method onResize
Signature
onResize()

 
→ top of page
Method pageDown
Signature
pageDown()

 
→ top of page
Method pageUp
Signature
pageUp()

 
→ top of page
Method redrawAllRows
Signature
redrawAllRows()

 
→ top of page
Method redrawCurrentRow
Signature
redrawCurrentRow()

 
→ top of page
Method render
Render texture stripes. Assumes that the bg has already been filled.
Signature
render()

 
→ top of page
Method resetAllAttributes
Resets attributes+colors of all visible lines.
Signature
resetAllAttributes()

 
→ top of page
Method resetLineAttributes
Signature
resetLineAttributes(intlineNr)
Arguments
intlineNr–

 
→ top of page
Method scrollDown
Signature
scrollDown()

 
→ top of page
Method scrollLeft
Signature
scrollLeft()

 
→ top of page
Method scrollRight
Signature
scrollRight()

 
→ top of page
Method scrollUp
Signature
scrollUp()

 
→ top of page
Method selectAll
Select all text lines
Signature
selectAll()

 
→ top of page
Method selectNone
Select nothing
Signature
selectNone()

 
→ top of page
Method selectWord
Select word under cursor
Signature
selectWord()

 
→ top of page
Method setFixedNumCols
Set fixed number of columns and disable dynamic resizing.
Signature
setFixedNumCols(intnumCols)
Arguments
intnumCols–

 
→ top of page
Method setFixedNumRows
Set fixed number of rows and disable dynamic y resizing.
Signature
setFixedNumRows(intnumRows)
Arguments
intnumRows–

 
→ top of page
Method setLogMaxLines
Set number of lines in logview mode.
Signature
setLogMaxLines(intmaxLines)
Arguments
intmaxLines–

 
→ top of page
Method setMaxNumCols
Set maximum number of columns and enable dynamic x resizing.
Signature
setMaxNumCols(intnumCols)
Arguments
intnumCols–

 
→ top of page
Method setMaxNumRows
Set maximum number of rows and enable dynamic y resizing.
Signature
setMaxNumRows(intnumRows)
Arguments
intnumRows–

 
→ top of page
Method setMinNumCols
Set minimum number of columns and enable dynamic x resizing.
Signature
setMinNumCols(intnumCols)
Arguments
intnumCols–

 
→ top of page
Method setMinNumRows
Set minimum number of rows and enable dynamic y resizing.
Signature
setMinNumRows(intnumRows)
Arguments
intnumRows–

 
→ top of page
Method setSelectionEndByPixel
Signature
setSelectionEndByPixel(floatx,
  floaty 
  )  
Arguments
floatx–
floaty–

 
→ top of page
Method setSelectionStartByPixel
Signature
setSelectionStartByPixel(floatx,
  floaty 
  )  
Arguments
floatx–
floaty–

 
→ top of page
Method setText
Set text lines by string. Each line must be terminated with the n character.
Signature
setText(Stringtext)
Arguments
Stringtext–

 
→ top of page
Method startCaretTimer
Signature
startCaretTimer()

 
→ top of page
Method startSelectionIfEmpty
Signature
startSelectionIfEmpty()

 
→ top of page
Method updateDynamicSize
Signature
updateDynamicSize()

 
→ top of page
Method updateLineSelection
Signature
updateLineSelection(intlineNr)
Arguments
intlineNr–

 
→ top of page
Method updateRequiredSize
Signature
updateRequiredSize()

 
→ top of page
Method updateSelection
Prepare selection rendering for all visible lines. Called if the selection has changed.
Signature
updateSelection()

 
→ top of page
Method validateCursorX
Signature
validateCursorX()

 
→ top of page
Method validateCursorY
Signature
validateCursorY()

 
→ top of page
 

Project Modules:MAbstractXMLForm , MAcceleratorKey , MAcceleratorList , MAction , MActionConsumer , MActionProvider , MBezierEdit , MButton , MCharFilter , MCharFilterFloat , MCharFilterFloatExpr , MCharFilterHex , MCharFilterHexExpr , MCheckBox , MChoiceDialog , MColorBox , MColorButton , MComboBox , MComboBoxTM , MComposite , MControl , MCursorShapes , MDial , MDialog , MDynamicPopupMenuAction , MFBO , MFloatAction , MFloatField , MFloatingLayer , MFloatParam , MFloatParamEditor , MFont , MFontResource , MForm , MFT2Face , MFT2FontCache , MFT2Glyph , MGeometry4f , MHiddenPanel , MHSVColorPicker , MIcon , MIconCache , MInfoDialog , MIntAction , MKeyAction , MLabel , MLayer , MLayerSwitch , MLayout , MLookAndFeel , MLookAndFeel_DarkFawn , MLookAndFeel_Gray , MLookAndFeel_LightFawn , MLookAndFeel_LightGray , MMouseEvent , MOpaquePanel , MPanel , MPNGIcon , MPoint2f , MPopupMenu , MPopupMenuBar , MPopupMenuBarButton , MPopupMenuButton , MPopupMenuCheckButton , MPopupMenuFolderButton , MPopupMenuSeparator , MPopupMenuWindowDock , MRadioButton , MRadioButtonGroup , MRectangle2f , MRepeatButton , MScroller , MScrollPane , MSize2f , MSizeGroup , MSizeGroupX , MSizeGroupXY , MSizeGroupY , MSlider , MSpacer , MSplitPane , MStatusBar , MStringAction , MStringDialog , MSuperBorderLayout , MTabbedView , MTableCellEditor , MTableCellEditorCheckBox , MTableCellEditorComboBox , MTableCellEditorFloatParam , MTableModel , MTableView , MTableViewData , MTableViewHeader , MTabSwitch , MTextEdit , MTextEditDialog , MTextField , MTextFieldIncDec , MTextInputDialog , MTextView , MTimerAction , MTitledPanel , MToolTip , MTransparentPanel , MTreeTableModel , MTreeTableNode , MUI , MUIConstants , MUIPluginLoader , MUIRenderer , MValueAction , MVector2f , MView , MViewPane , MWindow , MWindowDock , MWindowTitleBar , MXFMObject , MXMLForm 
Project Classes:ColorBox , HSVColorPicker , ui::AbstractXMLForm , ui::AcceleratorKey , ui::AcceleratorList , ui::Action , ui::ActionConsumer , ui::ActionProvider , ui::BezierEdit , ui::BezierEditState , ui::BezierHistory , ui::BorderLayout , ui::Button , ui::CharFilter , ui::CharFilterFloat , ui::CharFilterFloatExpr , ui::CharFilterHex , ui::CharFilterHexExpr , ui::CheckBox , ui::ChoiceDialog , ui::ColorButton , ui::ComboBox , ui::ComboBoxPopup , ui::ComboBoxTM , ui::Composite , ui::Control , ui::CursorShapes , ui::Dial , ui::Dialog , ui::DynamicPopupMenuAction , ui::FBO , ui::FloatAction , ui::FloatField , ui::FloatingLayer , ui::FloatParam , ui::FloatParamEditor , ui::Font , ui::FontResource , ui::Form , ui::FT2Face , ui::FT2FontCache , ui::FT2FontResource , ui::FT2Glyph , ui::FT2LocalFileFontResource , ui::FT2PakFileFontResource , ui::Geometry4f , ui::HiddenPanel , ui::Icon , ui::IconCache , ui::InfoDialog , ui::IntAction , ui::KeyAction , ui::KeyRepeatAction , ui::KeyRepeatConsumer , ui::Label , ui::Layer , ui::LayerSwitch , ui::Layout , ui::LookAndFeel , ui::LookAndFeel_DarkFawn , ui::LookAndFeel_Gray , ui::LookAndFeel_LightFawn , ui::LookAndFeel_LightGray , ui::MouseEvent , ui::MouseHoldAction , ui::MouseHoldConsumer , ui::OpaquePanel , ui::Panel , ui::PNGIcon , ui::Point2f , ui::PopupMenu , ui::PopupMenuBar , ui::PopupMenuBarButton , ui::PopupMenuButton , ui::PopupMenuCheckButton , ui::PopupMenuFolderButton , ui::PopupMenuRadioButton , ui::PopupMenuSeparator , ui::PopupMenuWindowDock , ui::RadioButton , ui::RadioButtonGroup , ui::Rectangle2f , ui::RepeatButton , ui::Scroller , ui::ScrollPane , ui::Size2f , ui::SizeGroup , ui::SizeGroupX , ui::SizeGroupXY , ui::SizeGroupY , ui::Slider , ui::Spacer , ui::SplitPane , ui::StatusBar , ui::StatusBarListener , ui::StatusBarMessage , ui::StringAction , ui::StringDialog , ui::StringDialogTextField , ui::SuperBorderLayout , ui::TabbedView , ui::TableCellEditor , ui::TableCellEditorCheckBox , ui::TableCellEditorComboBox , ui::TableCellEditorFloatParam , ui::TableModel , ui::TableView , ui::TableViewData , ui::TableViewHeader , ui::TabSwitch , ui::TabSwitchLabelPanel , ui::TextEdit , ui::TextEditDialog , ui::TextField , ui::TextFieldIncDec , ui::TextInputDialog , ui::TextView , ui::TimerAction , ui::TitledPanel , ui::ToolTip , ui::TransparentPanel , ui::TreeTableModel , ui::TreeTableNode , ui::TriadKeyConsumer , ui::UI , ui::UIConstants , ui::UIRenderer , ui::ValueAction , ui::Vector2f , ui::View , ui::ViewPane , ui::Window , ui::WindowDock , ui::WindowTitleBar , ui::XFMObject , ui::XMLForm 
Project Functions:getTableViewStepSizeDec , getTableViewStepSizeInc , Screen_onApplicationActive , Screen_onClose , Screen_onDraw , Screen_onDropFiles , Screen_onExpose , Screen_onInputFocusActive , Screen_onKeyboard , Screen_onMouse , Screen_onMouseFocusActive , Screen_onOpen , Screen_onResize , Screen_onTimer 
All Namespaces:default , ui 
All Projects:core , debugtext , tkfreetype2 , tkmath , tkmidi , tkopengl , tkportaudio , tksdl , tkui , tkunit 


auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 14:27:06