Update Changelog
commitb4183982e410f918548fc0f4f0b63ddfe6bdc83b
authorAli Abrar <aliabrar@gmail.com>
dateFri 9 Apr 2021, 14:02 (6 years ago)
parent67379e4
ChangeLog.md+3
@@ -3,6 +3,9 @@
33## Unreleased
44* Remove text-icu dependency and switch to `wcwidth` from vty package to compute character width in `Data.Text.Zipper`.
55* `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
69
710## 0.1.4.1
811* Migrate to new dependent-sum / dependent-map (after the "some" package split)
src/Data/Text/Zipper.hs+1−1
@@ -1,5 +1,5 @@
11{-|
2−Module: Potato.Data.Text.Zipper
2+Module: Data.Text.Zipper
33Description: A zipper for text documents that allows convenient editing and navigation
44
55'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.