Description |
Parent class: XControl
Clear |
Clears marked text
Copy |
Copy marked text
Cut |
Cut marked text
GetSelection |
LONG& start starting point of selection
LONG& end end point
Query the boundarys of the current selection
Paste |
Paste text from the clipboard
SelectText |
LONG firstChar begin of marking-area
LONG lastChar end of marking-area
Marks an area of text
XMultiLineEdit |
XWindow * owner | the owner of the XMultiLineEdit | |||||||
XRect * rect | the rectangle | |||||||
USHORT id | id of the window | |||||||
ULONG style | style, valid values are:
(can be or-ed) | |||||||
const char * string | text to display |
Constructs an XMultiLineEdit
GetLineCount |
LONG lines
Query the number of lines
GetLineFromChar |
LONG point index
LONG line-number
Query the line number of the point given in parameter 1
GetLineLength |
LONG point index
LONG length of the line
Query the length of the line which contains the point given in parameter 1
GetLineStart |
LONG line line-number
LONG point of begining
Query the starting point of the line given in parameter 1
EnableOverWrite |
BOOL overwrite TRUE=overWrite, FALSE=disable overWrite
Enables/disables overwrite-mode
EnableRefresh |
BOOL enable TRUE=enable, FALSE=disable refresh
Enable/disable window-refresh
GetFirstChar |
LONG number
Query the number of the first visible char
GetTextLength |
LONG length
Returns the length of the text in the MLE including linebreaks (\n)
InsertString |
const char * text text to insert
Insert a string at the current cursor-position
IsChanged |
BOOL result
Query if the content has changed
IsReadOnly |
BOOL result
Query if readonly-mode is active
Search |
XMLESearch * searchClass pointer to an initialized instance of XMLESearch
BOOL result
Search and/or replace strings in the text (see XMLESearch for details)
SetLimit |
LONG length maximum size
Set maximum number of charakters
SetReadOnly |
BOOL readOnly TRUE=enable, FALSE=disable readonly-mode
Enable/disable readonly-mode
ShowFirstChar |
LONG firstChar the first char to display
Select the point of the text to start displaying
CanUndo |
BOOL result
Query if an undo-operation is possible
ResetUndo |
Reset the undo-buffer
Undo |
BOOL result
Undo the last action
EnableWrap |
BOOL wrap TRUE=enable, FALSE=disable word-wrap
Enable/disable word-wrap
IsWrap |
BOOL result
Query if word-wrap is active