<table><tr><td style="">sommer created this revision.<br />sommer added a project: Framework: Syntax Highlighting.<br />Herald added projects: Kate, Frameworks.<br />Herald added subscribers: kde-frameworks-devel, kwrite-devel.<br />sommer requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D27430">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Hi.</p>
<p>Here I propose an updated syntax highlighting for CartoCSS. (I'm also the author of the original, currently used highlighting file.)</p>
<p>Changes:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">correct casing for CSS color names</li>
<li class="remarkup-list-item">comment formating is tweaked</li>
<li class="remarkup-list-item">do not use anymore a hardcoded list for properties. (These are evolving too fast to keep up.)</li>
<li class="remarkup-list-item">much better highlighting for strings (data field syntax within strings is now highlighted, both in properties and comments)</li>
<li class="remarkup-list-item">Overall the design fits better the structure of CartoCSS</li>
<li class="remarkup-list-item">Better design for named instances, classes and so on</li>
</ul></div></div><br /><div><strong>TEST PLAN</strong><div><p>I've developed this code about a year ago and since then have been using it on my local machine when working with CartoCSS. Seems to work fine.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R216 Syntax Highlighting</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27430">https://phabricator.kde.org/D27430</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>data/syntax/carto-css.xml</div></div></div><br /><div><strong>To: </strong>sommer<br /><strong>Cc: </strong>kwrite-devel, kde-frameworks-devel, rrosch, LeGast00n, cblack, gennad, GB_2, bmortimer, domson, michaelh, genethomas, ngraham, bruns, demsking, cullmann, vkrause, sars, dhaumann<br /></div>