CodeLobster IDE
http://codelobster.com/forum/

Formatting XML
http://codelobster.com/forum/viewtopic.php?f=8&t=24669
Page 1 of 1

Author:  ComputingFroggy [ Tue Sep 17, 2019 3:09 pm ]
Post subject:  Formatting XML

When formatting XML the behaviour is sometime heratic.

For instance, when trying to format the followinf XML snippet:
Code:
<?xml version='1.0' encoding='UTF-8'?>
<polo><pola>The Pola<poli>The Poli</poli></pola><polu>The polu</polu> </polo>


If I run the code formatter (Tools => Code formatter => Format) from the beginning of the first line, the second line is removed.
If I run the code formatter from some where inside the second line, everything before the cursor is removed.
If I run the code formatter from the beginning of the second line, the fist line is removed and I get:
Code:
<?xml version='1.0' encoding='UTF-8'?>
<polo><pola>The Pola<poli>The Poli</poli></pola><polu>The polu</polu> </polo>

Which is nearly correct except the closing tags (</pola> </polo> are not on their own line).

So for now I will Notepad++ that formats XML correctly ... but it would be nice to get it fixed in CodeLobster IDE.

Cheers,
L@u

Author:  Admin [ Wed Sep 18, 2019 1:24 pm ]
Post subject:  Re: Formatting XML

Hi.

Yes, here is our bug indeed.
We will fix it by our next release.

Thanks a lot,
Codelobster Team.

Author:  Admin [ Wed Nov 13, 2019 8:18 am ]
Post subject:  Re: Formatting XML

Hi.

We invite You to try new version 1.7.0.

Thanks,
Codelobster Team.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/