## Description

Include file: xmle.h

Parent class: XControl

### Overview

### Functions

#### Clear

#### Remarks

Clears marked text

#### Copy

#### Remarks

Copy marked text

#### Cut

#### Remarks

Cut marked text

#### GetSelection

#### Parameters

LONG& start starting point of selection
LONG& end end point

#### Remarks

Query the boundarys of the current selection

#### Paste

#### Remarks

Paste text from the clipboard

#### SelectText

#### Parameters

LONG firstChar begin of marking-area
LONG lastChar end of marking-area

#### Remarks

Marks an area of text

#### XMultiLineEdit

#### Parameters

XWindow * owner | the owner of the XMultiLineEdit
XRect * rect | the rectangle
USHORT id | id of the window
ULONG style | style, valid values are:
MLE_BORDER
MLE_READONLY
MLE_WORDWRAP
MLE_HORZSCROLL
MLE_VERTSCROLL
MLE_IGNORETAB
MLE_DISABLEUNDO
(can be or-ed)
const char * string | text to display

#### Remarks

Constructs an XMultiLineEdit

#### GetLineCount

#### Return-Value

LONG lines

#### Remarks

Query the number of lines

#### GetLineFromChar

#### Parameters

LONG point index

#### Return-Value

LONG line-number

#### Remarks

Query the line number of the point given in parameter 1

#### GetLineLength

#### Parameters

LONG point index

#### Return-Value

LONG length of the line

#### Remarks

Query the length of the line which contains the point given in parameter 1

#### GetLineStart

#### Parameters

LONG line line-number

#### Return-Value

LONG point of begining

#### Remarks

Query the starting point of the line given in parameter 1

#### EnableOverWrite

#### Parameters

BOOL overwrite TRUE=overWrite, FALSE=disable overWrite

#### Remarks

Enables/disables overwrite-mode

#### EnableRefresh

#### Parameters

BOOL enable TRUE=enable, FALSE=disable refresh

#### Remarks

Enable/disable window-refresh

#### GetFirstChar

#### Return-Value

LONG number

#### Remarks

Query the number of the first visible char

#### GetTextLength

#### Return-Value

LONG length

#### Remarks

Returns the length of the text in the MLE including linebreaks (\n)

#### InsertString

#### Parameters

const char * text text to insert

#### Remarks

Insert a string at the current cursor-position

#### IsChanged

#### Return-Value

BOOL result

#### Remarks

Query if the content has changed

#### IsReadOnly

#### Return-Value

BOOL result

#### Remarks

Query if readonly-mode is active

#### Search

#### Parameters

XMLESearch * searchClass pointer to an initialized instance of XMLESearch

#### Return-Value

BOOL result

#### Remarks

Search and/or replace strings in the text (see XMLESearch for details)

#### SetLimit

#### Parameters

LONG length maximum size

#### Remarks

Set maximum number of charakters

#### SetReadOnly

#### Parameters

BOOL readOnly TRUE=enable, FALSE=disable readonly-mode

#### Remarks

Enable/disable readonly-mode

#### ShowFirstChar

#### Parameters

LONG firstChar the first char to display

#### Remarks

Select the point of the text to start displaying

#### CanUndo

#### Return-Value

BOOL result

#### Remarks

Query if an undo-operation is possible

#### ResetUndo

#### Remarks

Reset the undo-buffer

#### Undo

#### Return-Value

BOOL result

#### Remarks

Undo the last action

#### EnableWrap

#### Parameters

BOOL wrap TRUE=enable, FALSE=disable word-wrap

#### Remarks

Enable/disable word-wrap

#### IsWrap

#### Return-Value

BOOL result

#### Remarks

Query if word-wrap is active

This document was generated by Jens von Pilgrim's Autodoc