We found a bug (visible when using CudaFormatter on BIG file). fixed it, updated release to 1.134.2.1.
your 40M XML file is now formatted OK.
no XML highlighting for 40M XML file
-
- Posts: 392
- Joined: 01.12.2020 13:46
That is OK, editor don't allow 'normal' lexer for a huge file.>I cannot change file type to XML.
You did not update the 'formatter for XML'. Open menu item "Plugins/ Addon Manager/ Update", check there item>I cannot use XML Pretty Print with "XML ^" file type selected.
"formatter: XML Pretty Print". Then OK to update.
Restart CudaText.
To check that it's new: open file /home/user/.config/cudatext/py/cuda_fmt_xml_pp/install.inf, and see lines
Code: Select all
[fmt1]
lexers=XML,XML ^
[fmt2]
lexers=XML,XML ^
install.inf file was OK. I simply needed to update the plugin I just thought installing new version also updates everything. Still learning to use CudaText.
Formatting works now. Thanks.
I am also looking for to indent attributes in XML (so used to them from Notepad++). Attached is a Notepad++ formatted XML and CudaText formatted XML both. Dark background is CudaText.
Is this possible with existing XML formatter?
Thanks & Regards,
Ertan
Formatting works now. Thanks.
I am also looking for to indent attributes in XML (so used to them from Notepad++). Attached is a Notepad++ formatted XML and CudaText formatted XML both. Dark background is CudaText.
Is this possible with existing XML formatter?
Thanks & Regards,
Ertan
-
- Posts: 392
- Joined: 01.12.2020 13:46