[Mono-bugs] [Bug 341817] Text uncorect displayed/drawing on winform

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 15 11:07:46 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=341817#c4





--- Comment #4 from Eric Petit <surfzoid2002 at yahoo.fr>  2007-11-15 09:07:45 MST ---
Thank's for your interest.
In fact from a few month ago i started to write "Cs-ObexFtp", with bug report
and mailling list certainly you know it, but just in case, the soft is located
at sourceforge.net.
So Cs-ObexFtp is to transfer files from devices who suport OBEX protocol and
obex return a XML, so the text, with perhap's mixed \n and \n\r is not writed
by me only by the device, 
In my programs i already try to use environment.newline and getseparatorfolder.

Jonathan Pobst  :
Perhap's i can try to simply get the xml in a string var, do a 

mystring = mystring.replace("\n",environment.newline);
mystring = mystring.replace("\r",environment.newline);
this.textbox.text = mystring;

Like this it's 100% sure the problem isn't from mixed cariage return and end
line or feed.
Right ?

Sebastien Pouliot:
If i maximize/minimise resize the form and also the "docked" textbox, this one
is refresh/repaint/update ?
Also this problem is here from the begin i wwrite the soft (2 or 3 month), and,
not sure, i already try the refresh, update method in the textchange event,
because i had, but resolved, also problem with scrollbars on it.
Can you say me how you "think" about test case ?


-- 
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