[Mono-bugs] [Bug 324589] RichTextBox: RTF indents do not work as expected

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 18 14:23:27 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=324589

User luke.a.page at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=324589#c1





--- Comment #1 from Luke Page <luke.a.page at gmail.com>  2007-12-18 12:23:26 MST ---
Created an attachment (id=188107)
 --> (https://bugzilla.novell.com/attachment.cgi?id=188107)
Patches part of the problem

Patch RTF Parsing - System.Windows.Forms.RTF

1) skipping CRLF during tokenisation to ignore CRLF instead of treating it as a
delimiter, e.g.
"\par
This is a RTF"
 caused \parThis to be the parsed command and caused \par to be ignored.

use the test RTF file from bug #342516 - look at the number of line feeds later
on in the file.

2) HandleOptDest returned after the first end group, however it is ok for more
than one group to be inside an optional destination, e.g. something like this

\blah { {\group1 pctext} {\group2 pctext}}

meant the pctext in the second group was passed as text rather than being
inside an optional destination, which is ignored. This is information like
variable names, bookmarks, bulleting information etc. that shouldn't be output
as text.

Now this returns at the end of the optional destination.

use the test RTF file from bug #324589 - look at the brackets at the begining
of the file 1.2.6


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list