spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript / column49


Using JavaScript in HomeSite 4.0, Part II

Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

The ActiveDocument Object's Methods, Part II

Indent()None

Indents the line where the insertion point (I Beam) is.

InsertTag(startTag, endTag, deleteSelectionFlag) )None

Inserts a pair of tags at the current insertion point position, removing the current selection if deleteSelectionFlag is true. The insertion point will be placed between the start and end tags. If deleteSelectionFlag is false, the current selection will be surrounded by the new tag pair.

InsertText(newString, deleteSelectionFlag) )None

Inserts a string the current insertion point position, removing the current selection if deleteSelectionFlag is true. The insertion point will be placed between the start and end tags. If deleteSelectionFlag is false, the new text will be inserted before the current selection, and no text will be selected at the outset.

Print(noSettingPromptFlag)None

Prints the active document. Prompts the user for print settings if noSettingPromptFlag is false.

ReplaceAll(searchString, replaceString, matchCaseFlag)None

Replaces all occurrences of searchString with replaceString, matching case if matchCaseFlag is true. Returns the number of successful replacements.

Redo()None

Performs a single redo operation.

Reload(promptToSaveFlag)None

Reloads the active document from disk, prompting the user to save changes if promptToSaveFlag is true.

http://www.internet.com

Produced by Yehuda Shiran and Tomer Shiran

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles · Object Oriented Programming- The Banking Application - Login
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
DiVitas's Mobile UC Now Available on the Latest Devices · Review: FON Fonera 2.0n · Chip Market Recovering From '08 Collapse


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

URL: http://www.webreference.com/js/column49/activemet2.html