Comments (6)
I have modified machines.py to generate pretty XML. I don't know if this is an
efficient way to do it but does work and is minimally intrusive.
Original comment by [email protected]
on 21 Oct 2014 at 2:57
Attachments:
from cherrytree.
Thank you, generating pretty XML has the drawback that the resulting XML is
bigger in size because of additional newlines and indentation.
For this reason I cannot make this the default but I will let the user
enable/disable the pretty XML in future major release.
Original comment by [email protected]
on 25 Oct 2014 at 11:34
- Changed state: Accepted
from cherrytree.
That is great. Thank you.
XML is rather bloated and inefficient anyway. Wanting to use text
utilities like source control may be a compelling reason to put up with
bloat from a user perspective.
Original comment by [email protected]
on 26 Oct 2014 at 6:24
from cherrytree.
Original comment by [email protected]
on 5 Nov 2014 at 1:06
from cherrytree.
Anecdotal, but my main file went from 199k characters to 204k after prettyprinting the XML. 2% extra filesize is a pretty negligible difference.
from cherrytree.
Implemented in commit f866b6c
from cherrytree.
Related Issues (20)
- Since v1.0.3, search dialog keeps coming up with very large dimensions HOT 3
- Search in 'node name and tag' kills cherrytree HOT 3
- Toolbars icons very hard to see on 4K resolution HOT 1
- allow links to file:// urls and mailto: urls
- Very slow find by node name since updating to 1.0.4 HOT 9
- Shifting a node right too rapidly via keyboard shortcut crashes the program HOT 7
- xml-stripblanks WARNING when building Debian package HOT 4
- CPack: Create package ERROR when building Debian package
- Three panels HOT 3
- Need a whole dark theme! HOT 2
- Possible Preference Settings Bug HOT 5
- Why continue development? HOT 7
- why continue with a tool based on completely outdated technologies that struggles to continue implementing functionalities of Obsidian HOT 31
- Graphics corruption with nVidia and Ubuntu HOT 1
- Possible (small) Bug with CT Color Picker (Custom Font [Background] Color) HOT 11
- Not possible to enter { }and [] in normal nodes HOT 9
- Pasting nodes and subnodes unexpected behaviour HOT 1
- Text Width adjustement HOT 5
- Request to update the Find / Replace Dialog HOT 2
- Request: Larger + Wider Scrollbars HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cherrytree.