SelectCurTabs

Syntax

SelectCurTabs

Remarks

Extends the selection forward from the insertion point until a paragraph with different tab stops is encountered.

Example

This example determines the position of the first tab stop in the current paragraph, and then sets the same tab stop for the next series of paragraphs that have tab settings different from those in the original paragraph. Because NextTab() returns a position in points, points are also used in the FormatTabs instruction.


n = NextTab(0)
SelectCurTabs
CharRight
SelectCurTabs
FormatTabs .Position = Str$(n) + "pt"

See Also

FormatTabs, SelectCurAlignment, SelectCurIndent, SelectCurSpacing