
240
Chapter 14 Scripting the Visual Tools Object Model
SelectAll
Syntax
SelectAll();
Description
Selects all the text in the active document.
SelectCurrentLine
Syntax
SelectCurrentLine();
Description
Highlights the current line.
SelectLine
Syntax
SelectLine(Index: Integer);
Description
Highlights the passed line.
SetCaretPos
Syntax
SetCaretPos(x, y: Integer);
Description
Sets the current column/line.
TextPosToEditorPos
Syntax
TextPosToEditorPos(var nPos:OleVariant):WordBool;
Description
Boolean. Converts an index in a text string in a VBScript script to the corresponding
editor position. Takes into account tabs and newlines, which count as two characters
in the text but only as one in the editor. Returns the
nPos
parameter as an
OleVariant,
but its actual type is
integer
.
This method is only supported in VBScript.
Undo
Syntax
Undo();
Description
Performs a single undo operation.
Unindent
Syntax
Unindent();
Description
Removes the indent in the current selection.
Содержание ColdFusion Server 5
Страница 18: ...xviii About This Book...
Страница 26: ...8 Chapter 1 Setting Up the Product...
Страница 42: ...24 Chapter 2 Configuring Browsers and Servers...
Страница 60: ...42 Chapter 3 Exploring the Workspace...
Страница 100: ...82 Chapter 6 Editing Pages...
Страница 126: ...108 Chapter 7 Using Web Development Languages...
Страница 212: ...194 Chapter 13 Customizing the Development Environment...
Страница 320: ...302 Glossary...