[Mono-bugs] [Bug 511488] New: Linebreaks in RichTextBox are inconsistent (and incompatible)
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Jun 10 02:40:37 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=511488
Summary: Linebreaks in RichTextBox are inconsistent (and
incompatible)
Classification: Mono
Product: Mono: Class Libraries
Version: 2.4.x
Platform: x86
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: andreas.flucke at t-online.de
QAContact: mono-bugs at lists.ximian.com
Found By: ---
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729)
On Mono for Windows linebreaks in RichTextBox can be CRLF or only LF
This makes position calculations different and is incompatible with Windows.
Windows RTB uses only linefeed (LF) internally.
Reproducible: Always
Steps to Reproduce:
1.compile and run attached test.cs
2.move the cursor around
3.notice that every second linebreak increases the pointer by two
Actual Results:
actual char pointer (SelectionStart) is increased by two
Expected Results:
should only be increased by one
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list