UserLand Software Home  |  Manila  |  Radio  |  Support  |  News

DocServer

Prev | Next | Wp Verbs > wp.inTextMode

wp.inTextMode

Syntax wp.inTextMode ()

Params None required.

Action Determines whether the document in the target window is in text mode or not.

Returns True if the document in the target window is in text mode, false if it is not.

Examples edit (@examples.["Sample Outline 1"]);
op.go (flatup, infinity);
wp.setTextMode (true);
wp.inTextMode ()

   » true

You can use word processing verbs to manipulate the contents of the outline in ways that are not possible with the Outline Processing verbs. For example, you could type and execute these lines after placing the outline in text mode as described above:
wp.selectWord ();

wp.getSelText ()


   » 1

Frontier selects the number 1 at the end of the first summit.

Notes Word processing text windows are always in text mode. Outlines and tables can be placed into text mode so that word processing-style editing can be applied to their contents.

See Also wp.getSelect

wp.setSelect

wp.go

wp.selectWord

wp.getSelText

Prev | Next | Wp Verbs > wp.inTextMode

Anonymization by Anonymouse.org ~ Adverts
Anonymouse better ad-free, faster and with encryption?
X