Using JavaScript in HomeSite 4.0, Part II: The ActiveDocument Object's Methods, Part III | WebReference

Using JavaScript in HomeSite 4.0, Part II: The ActiveDocument Object's Methods, Part III


Using JavaScript in HomeSite 4.0, Part II

The ActiveDocument Object's Methods, Part III

Save()Boolean

Saves changes to the active document. Returns a true value if successful, a false value otherwise.

SelectAll()None

Selects all the text in the active document.

SetCaretPos(x, y)None

Sets the insertion point position. The column number is x and the line number is y.

SelectLine(index)None

Highlight the given line.

SelectCurrentLine()None

Highlights the current line.

Undo()None

Performs a single undo operation.

Unindent()None

Shifts the current line one character to the left.

https://www.internet.com

Produced by Yehuda Shiran and Tomer Shiran

Created: September 27, 1999
Revised: September 27, 1999

URL: https://www.webreference.com/js/column49/activemet3.html