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.
Summary of Contents for ColdFusion Server 5
Page 18: ...xviii About This Book...
Page 26: ...8 Chapter 1 Setting Up the Product...
Page 42: ...24 Chapter 2 Configuring Browsers and Servers...
Page 60: ...42 Chapter 3 Exploring the Workspace...
Page 100: ...82 Chapter 6 Editing Pages...
Page 126: ...108 Chapter 7 Using Web Development Languages...
Page 212: ...194 Chapter 13 Customizing the Development Environment...
Page 320: ...302 Glossary...