@hackage WEditor0.2.0.2

Generic text-editor logic for use with fixed-width fonts.

This package contains interfaces and implementations of text-editing idioms that can be wired up to UI libraries to create a text-editor widget.

The goal is to provide:

  • Dynamic line wrapping that preserves the cursor and edit positions.

  • Customizable line-wrapping policies and word-hyphenation policies.

  • Automatic management of a dynamically-sized viewable area.

  • Support for novel character types.

Also see WEditorHyphen for language-specific hyphenation rules.