From cb2440357e1f6d7f89395eb7eeee8718ecbeda4a Mon Sep 17 00:00:00 2001 From: Vladimir Schneider Date: Thu, 30 Apr 2020 01:17:59 -0400 Subject: [PATCH] fix tracked offset with preserve spaces at last non-blank position --- .idea/codeStyles/Project.xml | 2 +- VERSION-TODO.md | 11 +++++ .../src/test/resources/core_wrapping_spec.md | 47 +++++++++++++++++++ .../TableTextCollectingVisitorTest.java | 10 ++-- .../ast/SpaceInsertingSequenceBuilder.java | 45 ++++++++---------- .../util/ast/TextCollectingVisitor.java | 2 +- .../flexmark/util/ast/TextContainer.java | 2 + .../util/format/MarkdownParagraph.java | 2 +- .../sequence/builder/SequenceBuilder.java | 8 ---- .../sequence/builder/tree/SegmentTree.java | 13 ++--- .../java/com/vladsch/flexmark/ast/Text.java | 2 +- 11 files changed, 96 insertions(+), 48 deletions(-) diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index e8d337398b..5b8f639f5d 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -31,7 +31,7 @@