text-zipper 0.2 → 0.2.1
raw patch · 2 files changed
+6/−1 lines, 2 files
Files
- src/Data/Text/Zipper.hs +5/−0
- text-zipper.cabal +1/−1
src/Data/Text/Zipper.hs view
@@ -21,6 +21,7 @@ , currentLine , cursorPosition , lineLengths+ , getLineLimit -- *Navigation and editing functions , moveCursor@@ -56,6 +57,10 @@ , null_ :: a -> Bool , lineLimit :: Maybe Int }++-- | Get the line limit, if any, for a zipper.+getLineLimit :: TextZipper a -> Maybe Int+getLineLimit = lineLimit instance (Eq a) => Eq (TextZipper a) where a == b = and [ toLeft a == toLeft b
text-zipper.cabal view
@@ -1,5 +1,5 @@ name: text-zipper-version: 0.2+version: 0.2.1 synopsis: A text editor zipper library description: This library provides a zipper and API for editing text. license: BSD3