From 41c384ab0c26afa46ec3cbed9565161f9c1898e0 Mon Sep 17 00:00:00 2001 From: Jaro Date: Thu, 8 Jun 2023 02:45:52 +0200 Subject: [PATCH] Remove paragraphLineHeight from Rich interface. --- CHANGELOG.md | 4 ++++ lib/Data/Text/ParagraphLayout/Rich.hs | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 524f70a..86da013 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## 1.2.0.0 -- TBD +* Removed `paragraphLineHeight` from the rich text interface + after it was included by mistake. + Rich text needs to use `textLineHeight` instead. + ## 1.1.1.0 -- TBD * Exposed functions for calculating rectangle unions. diff --git a/lib/Data/Text/ParagraphLayout/Rich.hs b/lib/Data/Text/ParagraphLayout/Rich.hs index fb17846..a84c6d0 100644 --- a/lib/Data/Text/ParagraphLayout/Rich.hs +++ b/lib/Data/Text/ParagraphLayout/Rich.hs @@ -12,7 +12,6 @@ module Data.Text.ParagraphLayout.Rich -- ** Paragraph options -- | These are record selectors that can be used for reading -- as well as updating specific option fields. - , paragraphLineHeight , paragraphMaxWidth -- NOTE: `paragraphFont` is only used by the legacy plain text interface, -- and is therefore not exported here. -- 2.30.2