RichEdit.moveInsertionPoint

Overview | Methods | This Package | All Packages

RichEdit.moveInsertionPoint

Moves the insertion point up to, but not including, the first character in the RichEdit control that is a member of the specified character set.

Syntax

public void moveInsertionPoint( String characterSet )

public void moveInsertionPoint( String characterSet, boolean forward )

public void moveInsertionPoint( String characterSet, boolean forward, boolean negate )

Parameters

characterSet

A string expression that specifies the set of characters to look for when extending the selection, based on the value of the negate parameter.

forward

Set to true to move the cursor forward in the text; otherwise, set to false. The default value for this parameter is true.

negate

Set to true to include in the selection those characters that are not in the character set. Set to false to include in the selection the characters that are in the character set. The default setting for this parameter is false.

Remarks

When the negate parameter is set to true, the character set is found, and the text of the character set is selected, moveInsertionPoint deselects it. If the character set is not selected, and negate is set to true, moveInsertionPoint selects it.