on develop help sign in
Update Changelog
b418398Ali Abrar
ChangeLog.md+3
@@ -3,6 +3,9 @@
3## Unreleased
3## Unreleased
4* Remove text-icu dependency and switch to `wcwidth` from vty package to compute character width in `Data.Text.Zipper`.
4* Remove text-icu dependency and switch to `wcwidth` from vty package to compute character width in `Data.Text.Zipper`.
5* `goToDisplayLinePosition` in `Data.Text.Zipper` correctly accounts for character width now.
5* `goToDisplayLinePosition` in `Data.Text.Zipper` correctly accounts for character width now.
6+* (#40 Add alignment support to TextZipper)[https://github.com/reflex-frp/reflex-vty/pull/40]
7+ * Add alignment (left/center/right) support to TextZipper
8+ * Add basic unit tests for newly created alignment methods in TextZipper
6
9
7## 0.1.4.1
10## 0.1.4.1
8* Migrate to new dependent-sum / dependent-map (after the "some" package split)
11* Migrate to new dependent-sum / dependent-map (after the "some" package split)
src/Data/Text/Zipper.hs+1−1
@@ -1,5 +1,5 @@
1{-|
1{-|
2−Module: Potato.Data.Text.Zipper
2+Module: Data.Text.Zipper
3Description: A zipper for text documents that allows convenient editing and navigation
3Description: A zipper for text documents that allows convenient editing and navigation
4
4
5'TextZipper' is designed to be help manipulate the contents of a text input field. It keeps track of the logical lines of text (i.e., lines separated by user-entered newlines) and the current cursor position. Several functions are defined in this module to navigate and edit the TextZipper from the cursor position.
5'TextZipper' is designed to be help manipulate the contents of a text input field. It keeps track of the logical lines of text (i.e., lines separated by user-entered newlines) and the current cursor position. Several functions are defined in this module to navigate and edit the TextZipper from the cursor position.