packages feed

WEditor 0.2.0.0 → 0.2.0.1

raw patch · 2 files changed

+2/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

WEditor.cabal view
@@ -1,5 +1,5 @@ name:                WEditor-version:             0.2.0.0+version:             0.2.0.1 synopsis:            Generic text-editor logic for use with fixed-width fonts.  description:
WEditor/Document.hs view
@@ -276,7 +276,7 @@ updateDocView :: ViewAction -> EditingDocument c -> EditingDocument c updateDocView _ da@(EditingDocument _ _ _ _ h _ _ _) | h <= 0 = da updateDocView FillView da@(EditingDocument bs e as w h k c p) = revised where-  revised = EditingDocument bs e as w h (boundOffset h k2) c p+  revised = EditingDocument bs e as w h (boundOffset h (min before k2)) c p   before = paraLinesBefore da   after  = paraLinesAfter  da   k2 = if after >= h-k-1  -- The view is already full.