Home Download Buy Blog Forum Support

XML block folding misplaced

XML block folding misplaced

Postby karatedog on Tue Mar 20, 2012 4:15 pm

Block folding is wrong in XML files, it just thinks that a line with fewer indentation is a beginning of a block.
Rechecked in Notepad++, it works, and the XML is valid.
I reused the XML from here: viewtopic.php?f=3&t=3961&start=0&hilit=xml
Attachments
sublime_text2_misplaced_xml_folding.png
sublime_text2_misplaced_xml_folding.png (16.67 KiB) Viewed 488 times
karatedog
 
Posts: 1
Joined: Tue Mar 20, 2012 3:54 pm

Re: XML block folding misplaced

Postby tito on Tue Mar 20, 2012 8:25 pm

I think it works as expected. The indentation of that file is somewhat not perfect. and sublimes allows you to do that handy folding based on your not perfect indentation.
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 851
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 27 guests