All Versions
4
Latest Version
Avg Release Cycle
69 days
Latest Release
1921 days ago
Changelog History
Changelog History
-
v0.3 Changes
January 13, 2020- Add foldlChar to signature of HasChars [API change].
- Use foldlChar in realLength. This avoids a stack overflow we were getting with long strings in the previous version (with foldrChar). See jgm/pandoc#6031.
- Replace isBlank with isBreakable and improved startsWithBlank. Previously isBlank was used in the layout algorithm where what we really wanted was isBreakable.
- Avoid unnecessary calculation in updateColumns.
- Replace a right fold with a strict left fold.
- Add strictness annotations in realLength and updateColumn.
-
v0.2 Changes
October 23, 2019- Add instances for
Doc
:Data
,Typeable
,Ord
,Read
,Generic
. - Add
literal
(liketext
, but polymorphic). - Change some
IsString
constraints toHasChars
. - Add some default definitions for methods in
HasChars
. - Change
offset
andminOffset
to be more efficient (in simple cases they no longer render and count line lengths). - Add
updateColumn
. - Fix problem with
lblock
/cblock
/rblock
whenchop
is invoked. This caused very strange behavior in which text got reversed in certain circumstances.
- Add instances for
-
v0.2.0.1 Changes
October 31, 2019- Made
realLength
smarter about combining characters. If a string starts with a combining character, that character takes up a width of 1; if the combining character occurs after another character, it takes 0. See jgm/pandoc#5863. - Improve
isBlank
, re-use in rendering codefor BreakingSpace
. - Fixed incorrect
Text
width in renderig blocks.
- Made
-
v0.1 Changes
August 23, 2019- Initial release.