Skip to content
This repository was archived by the owner on Dec 22, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Use "\n" as a delimiter for RTF segments.
Explanation: A space character is meaningless only if it’s the optional meaningless space at the end of a command. Otherwise, every space character means to insert a space character! A newline (or 2 or 15) doesn’t indicated a linebreak. ( RTF Pocket Guide by Sean M. Burke https://www.oreilly.com/library/view/rtf-pocket-guide/9781449302047/ch01.html)
  • Loading branch information
FRychnavskyCVS committed Jun 18, 2019
commit d67c9801bd0026a3c2ffc84d6d499fd2b33cb572
2 changes: 1 addition & 1 deletion src/ScintillaNET/Helpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ private static unsafe void CopyRtf(Scintilla scintilla, StyleData[] styles, List
// NOTE: We don't support StyleData.Visible and StyleData.Case in RTF

lastStyle = style;
tw.Write(" "); // Delimiter
tw.Write("\n"); // Delimiter
}

switch (ch)
Expand Down