@hackage WEditor0.2.1.1

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 text-editor widgets.

The goal is to provide:

  • Automatic management of a dynamically-sized viewable area, with preservation of the cursor position and minimal view disruption during resizing.

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

  • Support for user-defined character types.

Also see WEditorHyphen for language-specific hyphenation rules.