CodeLobster IDE

Free cross-platform PHP IDE (HTML, PHP, CSS, JavaScript, Python code editor) with support Drupal, Joomla, Twig, JQuery, BackboneJS, LaravelJS, Node.js, CodeIgniter, CakePHP, Laravel, Magento, MeteorJS, Phalcon, Symfony, VueJS, WordPress, Yii
It is currently Thu Mar 28, 2024 10:52 am

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Formatting XML
PostPosted: Tue Sep 17, 2019 3:09 pm 
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


Report this post
Top
  
Reply with quote  
 Post subject: Re: Formatting XML
PostPosted: Wed Sep 18, 2019 1:24 pm 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
Hi.

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

Thanks a lot,
Codelobster Team.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Formatting XML
PostPosted: Wed Nov 13, 2019 8:18 am 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
Hi.

We invite You to try new version 1.7.0.

Thanks,
Codelobster Team.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 104 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2016 phpBB Group