Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » [SOLVED] Xmlize LineEdit with line breaks inside
[SOLVED] Xmlize LineEdit with line breaks inside [message #25929] Sat, 20 March 2010 17:41 Go to next message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
When streaming out LineEdit with line breaks inside resulting
XML contains extra spaces because of line breaks + xml formatting.
I think new lines in xml should be replaced bu &br; on storing and reconverted back on loading.

Ciao

Max

p.s.: same for DocEdit and, I guess, same for all Strings streamed by Xmlize():

solved by Mirek on 21/03/2010 svn.

Ciao

Max

[Updated on: Mon, 22 March 2010 16:40]

Report message to a moderator

Re: Xmlize LineEdit with line breaks inside [message #25984 is a reply to message #25929] Tue, 23 March 2010 09:57 Go to previous messageGo to next message
chickenk is currently offline  chickenk
Messages: 169
Registered: May 2007
Location: Grenoble, France
Experienced Member
Hi,

it seems there's a typo in the associated code, can someone please correct this:

in Core/XML.cpp, lines 762 and 765, replace 'n' by '\n'

Thanks a lot,
Lionel
Re: Xmlize LineEdit with line breaks inside [message #26024 is a reply to message #25984] Fri, 26 March 2010 14:30 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thanks.
Previous Topic: Open file in already opened app instead of launching a second copy
Next Topic: Creating .deb package for U++ app
Goto Forum:
  


Current Time: Fri Mar 29 00:35:24 CET 2024

Total time taken to generate the page: 0.01127 seconds