moreF

Types

moreF :: F [String] (InputMsg (Int, String))

Description

moreF is used to display a text in a rectangular display area with a scrollbar attached to the right.

Input

The text to display as a list of lines. Tab characters are expanded (tab stops in every 8 character position). Long lines are wrapped.

Output

If the user clicks in the text, the line number and the contents of that line is output.

Example

 moreF

See Also

Related fudgets: moreFileF, moreShellF, pickListF, displayF, textF.

Bugs

The line wrapping is implemented as a preprocessor. This means that when the user clicks in the text, moreF outputs information corresponding to a physical line (as it appears on the screen), which may not be so useful. Use pickListF instead, if this is a problem.