BSD-3-Clause licensed by Jonathan Daugherty
Maintained by cygnus@foobox.com
This version can be pinned in stack with:text-zipper-0.12@sha256:e96110598fc25e57a99ffcd8e583351af8b325b813aa5e3bd0adc627e3e02b6b,1472

Module documentation for 0.12

Depends on 4 packages(full list with versions):
Used by 2 packages in nightly-2022-08-04(full list with versions):

This library provides a zipper and API for editing text.

Changes

0.12

API changes:

  • Added moveCursorClosest to allow cursor placement as near as possible to a specified location.

0.11

API changes:

  • Added gotoBOF, gotoEOF, killToBOF, and killToEOF functions (thanks Itai Y. Efrat)

0.10.1

  • WordSpec: fix a test verification bug (fixed #11)
  • WordSpec: generation of random text should never include newlines

0.10

  • Integrated word editing and navigation functions courtesy of Hans-Peter Deifel’s hledger-iadd project (see Data.Text.Zipper.Generic.Words)
  • Added currentChar, nextChar, and previousChar (thanks @kRITZCREEK)

0.9

  • insertChar and insertMany now only insert printable characters and newlines (subject to text zipper line limits)
  • The GenericTextZipper class now requires a new method, toList :: a -> [Char]

0.8.3

  • Fixed insertMany accidental addition of trailing newline

0.8.2

  • Fixed insertMany for zippers with no line limit

0.8.1

  • Added Github links and CHANGELOG to package

0.8

  • Added ‘transposeChars’ function

0.7.1

  • Generic: import everything from Monoid for older GHCs

0.7

  • API changes: Add Generic module to abstract over text container types

0.6.1

  • Make insertMany respect the zipper’s line limit

0.6

  • Add insertMany for faster bulk insertion

0.5

  • Added killToBOL function (thanks Hans-Peter Deifel)
  • Enabled -Wall
  • Added dependency on deepseq
  • Added NFData instance for TextZipper

0.4

  • Added clearZipper
  • Added isFirstLine (thanks Kwang Yul Seo)
  • Renamed lastLine to isLastLine (thanks Kwang Yul Seo)

0.3.1

  • Fixed export of vectorZipper

0.3

  • Added vectorZipper for zipping over vectors of characters

0.2.1

  • Exported getLineLimit to permit obtaining a zipper’s line limit

0.2

  • Added support for limiting the number of lines in the zipper
  • insertChar “\n” is now equivalent to breakLine
  • Improved Show instance for TextZipper

0.1.1

  • Updated package metadata

0.1

Initial release (originally split off from vty-ui)