[Mono-bugs] [Bug 479646] New: RichTextBox.LoadFile should not insert a newline at the end of the loaded text
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Feb 25 13:33:12 EST 2009
https://bugzilla.novell.com/show_bug.cgi?id=479646
Summary: RichTextBox.LoadFile should not insert a newline at
the end of the loaded text
Classification: Mono
Product: Mono: Class Libraries
Version: 2.4.x
Platform: x86
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: bgmerrell at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: Integration Test
Description of Problem:
A newline is erroneously inserted at the end of text loaded by the
RichTextBox.LoadFile method.
Steps to reproduce the problem:
1. Download and extract the attached test case
2. From a terminal, run richtextbox.py (an IronPython script) from within the
extracted directory (so that it can open the "text" file)
Actual Results:
A newline is inserted at the end of the loaded text. You can verify this
looking at the output in the terminal, which reads:
This is some text.
Next line
Notice there is an unexpected newline after the text that was inserted from the
text file (i.e., "This is some text.")
Expected Results:
A newline should not be inserted when loading text with the
RichTextBox.LoadFile method. The terminal output from the test case should
read:
This is some text.
Next line
Comments:
I have verified the expected results in Windows Vista. I will also attach a
text file in rtf format that can be used to verify the bug in Windows.
--
Configure bugmail: https://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