From 42434b0d5ae1d9cba765f2493ad3156c0b273bb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Mon, 9 Dec 2013 15:21:32 +0100 Subject: [PATCH] MarkupParser: Make the normal text styles available. --- src/apps/haiku-depot/textview/MarkupParser.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/apps/haiku-depot/textview/MarkupParser.h b/src/apps/haiku-depot/textview/MarkupParser.h index 39b3d0401e..4cddd76b1d 100644 --- a/src/apps/haiku-depot/textview/MarkupParser.h +++ b/src/apps/haiku-depot/textview/MarkupParser.h @@ -24,6 +24,11 @@ public: const ParagraphStyle& HeadingParagraphStyle() const { return fHeadingParagraphStyle; } + const CharacterStyle& NormalCharacterStyle() const + { return fNormalStyle; } + const ParagraphStyle& NormalParagraphStyle() const + { return fParagraphStyle; } + TextDocumentRef CreateDocumentFromMarkup(const BString& text); void AppendMarkup(const TextDocumentRef& document, const BString& text);