WEditorHyphen 0.1.0.0 → 0.1.0.1
raw patch · 2 files changed
+6/−5 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- WEditorHyphen.cabal +3/−3
- WEditorHyphen/LangHyphen.hs +3/−2
WEditorHyphen.cabal view
@@ -1,11 +1,11 @@ name: WEditorHyphen-version: 0.1.0.0+version: 0.1.0.1 synopsis: Language-specific hyphenation policies for WEditor. description: This package provides language-specific hyphenation policies for use with- the <https://github.com/ta0kira/wrapping-editor WEditor> and- <https://github.com/ta0kira/wrapping-editor WEditorBrick> packages.+ the @<http://hackage.haskell.org/package/WEditor WEditor>@ and+ @<http://hackage.haskell.org/package/WEditorBrick WEditorBrick>@ packages. homepage: https://github.com/ta0kira/wrapping-editor license: Apache-2.0
WEditorHyphen/LangHyphen.hs view
@@ -39,13 +39,14 @@ -- Example usage: -- -- @--- import WEditor.LineWrap+-- import Text.Hyphenation -- import WEditor.Document+-- import WEditor.LineWrap -- import WEditorHyphen.LangHyphen -- -- content = map UnparsedPara (lines "Your document content.") ----- doc = editDocument (breakWords (langHyphen English_US))+-- doc = editDocument (breakWords (langHyphen English_US)) content -- @ langHyphen :: Language -> LangHyphen langHyphen l = LangHyphen l (languageHyphenator l)