TCoolEdit: Syntax highlighting for JSON files
Borland's Object Windows Library for the modern age
Brought to you by:
jogybl,
sebas_ledesma
Hi Sebastian,
I just integrated your XML and JSON parsers in branch-7-coolprj-dev ([r8461]) with a few minor adjustments.
One of these was the (preliminary) mapping of COLORINDEX_SINTAXCHECK to TCoolTextBuffer::TColorIndex::Preprocessor because at some point in the past I eliminated TCoolTextBuffer::TColorIndex::SyntaxCheck since it was not used anywhere.
Is that ok or do you have another suggestion?
Btw., what stands COLORINDEX_SINTAXCHECK for?
I don't work with XML and JSON myself, so I was only able to take a cursory look at it. But basically, it works.
One thing I noticed, though: The first element of JSON arrays is displayed differently than the following elements. Is this correct?
Related
Commit: [r8461]
Hi Erwin:
Good to know that XML and JSON will be in OWLMaker.
1 - COLORINDEX_SINTAXCHECK is destined to syntax errors, for example when a line ends with an unclosed string. As alternative it can be use COLORINDEX_ERROR.
2 - I have to fix that.
OWLMaker is a different story.
branch-7-coolprj-dev is my attempt to get a stable version 7 implementation with some extensions like redo and multi cursor editing.
Good, I will change that.
[r8463] has some improvments on JSON parsing.
Related
Commit: [r8463]
There still seems to be an issue with arrays, see attached image.
@sebas_ledesma committed a JSON parser implementation based on the old code base in [r8427].
Related
Commit: [r8427]
Hi @sebas_ledesma,
As I noted in discussion:d005538c39, to target version 8 we need to upgrade your code to comply with our Coding Standards and the revised parser implementation on the trunk (see [feature-requests:#251] and [feature-requests:#252]). Use the new TIniParser implementation as a reference. Let me know if you need help.
Related
Feature Requests: #251
Feature Requests: #252
Wiki: Coding_Standards