packages feed

WEditor 0.2.1.0 → 0.2.1.1

raw patch · 2 files changed

+7/−7 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

WEditor.cabal view
@@ -1,20 +1,20 @@ name:                WEditor-version:             0.2.1.0+version:             0.2.1.1 synopsis:            Generic text-editor logic for use with fixed-width fonts.  description:   This package contains interfaces and implementations of text-editing idioms-  that can be wired up to UI libraries to create a text-editor widget.+  that can be wired up to UI libraries to create text-editor widgets.   .   The goal is to provide:   .-  * Dynamic line wrapping that preserves the cursor and edit positions.+  * Automatic management of a dynamically-sized viewable area, with preservation+    of the cursor position and minimal view disruption during resizing.   * Customizable line-wrapping policies and word-hyphenation policies.-  * Automatic management of a dynamically-sized viewable area.-  * Support for novel character types.+  * Support for user-defined character types.   .   Also see @<http://hackage.haskell.org/package/WEditorHyphen WEditorHyphen>@-  for  language-specific hyphenation rules.+  for language-specific hyphenation rules.  homepage:            https://github.com/ta0kira/wrapping-editor license:             Apache-2.0
WEditor/Base/Editor.hs view
@@ -59,7 +59,7 @@   breakPara :: e -> EditDirection -> e   -- | Apply e cursor movement.   moveCursor :: e -> MoveDirection -> e-  -- | Get the @(row,col)@ cursor position relative to the viewport.+  -- | Get the @(col,row)@ cursor position relative to the viewport.   getCursor :: e -> (Int,Int)   -- | Get the absolute @(paragraph,char)@ edit position.   --