Bug fixes:
- The zipper constructors now ignores non-printable characters (see also #13)
insertMany
now no longer drops the input following a non-printable character (#13)
API changes:
- Added
moveCursorClosest
to allow cursor placement as near as possible to a specified location.
API changes:
- Added
gotoBOF
,gotoEOF
,killToBOF
, andkillToEOF
functions (thanks Itai Y. Efrat)
- WordSpec: fix a test verification bug (fixed #11)
- WordSpec: generation of random text should never include newlines
- 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)
- 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]
- Fixed insertMany accidental addition of trailing newline
- Fixed insertMany for zippers with no line limit
- Added Github links and CHANGELOG to package
- Added 'transposeChars' function
- Generic: import everything from Monoid for older GHCs
- API changes: Add Generic module to abstract over text container types
- Make insertMany respect the zipper's line limit
- Add insertMany for faster bulk insertion
- Added killToBOL function (thanks Hans-Peter Deifel)
- Enabled -Wall
- Added dependency on deepseq
- Added NFData instance for TextZipper
- Added clearZipper
- Added isFirstLine (thanks Kwang Yul Seo)
- Renamed lastLine to isLastLine (thanks Kwang Yul Seo)
- Fixed export of vectorZipper
- Added vectorZipper for zipping over vectors of characters
- Exported getLineLimit to permit obtaining a zipper's line limit
- Added support for limiting the number of lines in the zipper
- insertChar "\n" is now equivalent to breakLine
- Improved Show instance for TextZipper
- Updated package metadata
Initial release (originally split off from vty-ui)