Activedocument Object - MACROMEDIA COLDFUSION STUDIO 4.5-USING COLDFUSION STUDIO Use Manual

For windows 95/98/nt4/2000
Table of Contents

Advertisement

218

ActiveDocument Object

The ActiveDocument object is used to refer to the document currently being displayed
in the editor. To access an open document that isn't active, use the
Application.DocumentCache object.
Properties
CanRedo (WordBool, read-only)
True if changes can be re-done.
CanUndo (WordBool, read-only)
True if changes can be undone.
Filename (OleString, read-only)
Filename of the active document.
Lines(Index: integer) (OleString)
Gets/sets the text of the line at the passed index.Iterating through a document using
the Lines property may be slow, especially for large documents. Allaire recommends
that you only use Lines to evaluate single lines of text. If you must use Lines to update
many lines, you can boost performance by wrapping the update in a
BeginUpdate..EndUpdate
LineCount (integer, read-only
Number of lines in the active document.
Modified (WordBool, read-only)
True if the document has been changed since it was last saved.
ReadOnly (WordBool, read-only)
True if the active document is read-only.
SelStart (integer)
Gets/sets the start of the current selection.
SelLength (integer)
Gets/sets the length of the current selection
SelText (OleString)
Gets/sets the text in the current selection.
TabIndex
Gets/sets the tab index of the document tab.
Text (OleString)
Gets/sets the complete document text.
block.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion studio 4.5

Table of Contents