JSONpad - JSON view&edit / Written with extJS-4-Air
At learning ExtJS i created this small project.
It's a JSON editor with many features (which i needed too cause i'm working a lot with JSON )
- Syntax Highlighting
- Tree View
- XML2json conversion
- JSON validation
- Add, Duplicate or Delete nodes inside the tree
- Drag&Drop Features in the tree
Please feel free if you finding bugs that you'll post it into google groups and/or google code.
sure good idea!
which i already had too about 2 weeks before
but it sounds more easy than it is
i tried a lot... like using the HTMLEditor from ExtJS and try to set color tags for example... no idea why, but the editor is not initializing in adobe air... i searched and played a lot, but i did not got it...
so my second experience was to make my own plugin for this, cause i also want line numbers in the editor .. but this also sounds much easier than it is
Cause i got many problems with setting new content into a writeable div without losing the cursor (just for example.. there were a few more problems ^^)
so i already work on syntax highlighting, but for sure it could take some time
also cause i do some smaller features first like drag&drop sort with objects/arrays and a treepath... but i'm still thinking on it
there are some pre-existing highlighting components. Look in the plugins section -there was one for extjs as well. Sorry forgot the name of teh package
hmm hope that it isn't a HTMLEditor or just a DIV showing text in colors, cause i want it editable
Cause i think the problem that the HTMLEditor is not initializing correctly is much more complex than the syntax highlighting.. The highlight itself isn't what me block.. cause for a JSON Highlighting i just need a few regex's.
What i need would be a Textarea which can view HTML (for colorize). So the HTML TextArea can't do that, so i've to use a WSIWYG (bad that the ExtJS one not working at me) or make my own..
but i'll take a look this evening if i'm finding a working plugin. And i'll post today a topic to ask for the Ext.form.HtmlEditor Problem in Air.
Thanks for this!