mglib

Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes

textmarkup/

mg_tm_firstline.pro


Routines

Routines from mg_tm_firstline.pro

mg_tm_firstline_gettext, firstline, tree [, /done]

Helper routine to strip out text from MGtmText tags and add them to the firstline tree.

result = mg_tm_firstline(tree)

Get the first line of text given a markup tree and return it as another markup tree (copying nodes in the original tree where necessary).

Routine details

top mg_tm_firstline_gettext

mg_tm_firstline_gettext, firstline, tree [, /done]

Helper routine to strip out text from MGtmText tags and add them to the firstline tree.

Parameters

firstline in required type=MGtmTag

parent to add text nodes to

tree in required type=MGtmNode

the current tree to examine

Keywords

done out optional type=boolean

set to a named variable to determine if the first sentence is complete

top mg_tm_firstline

result = mg_tm_firstline(tree)

Get the first line of text given a markup tree and return it as another markup tree (copying nodes in the original tree where necessary).

Return value

another markup tree

Parameters

tree in required type=object

markup tree

File attributes

Modification date: Wed May 14 15:07:14 2014
Lines: 38
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.