Hi all,<div><br></div><div>I'm currently working on adding some basic syntax highlighting to the expression builder that I added to QGIS a couple of months ago in order to make it a bit more user friendly. The dialog is used for the new labeling expression dialog and the WFS filtering, with it planned to be used in other areas at some stage.</div>
<div><br></div><div>What I would like to know is what kind of stuff people would like to see highlighted, and how?</div><div><br></div><div>So far I have:</div><div><ul><li>Strings in dark green e.g anything in single quotes</li>
<li>Field names or anything in double quotes (which is how to handle fields with spaces) e.g "field Name"</li></ul></div><div>I want to keep the highlighting to a minimum otherwise it has the reserve effect to what it is trying to solve.</div>
<div><br></div><div>What are peoples thoughts?</div><div><br></div><div>P.S Changing the coloring of the highlighting will be on the TODO list but for now I just want to get a basic usable highlighter in place.</div><div>
<br></div><div>P.P.S If you want to see what I have so far you can compile my working branch at <a href="https://github.com/NathanW2/Quantum-GIS/tree/expression-builder-highlighter">https://github.com/NathanW2/Quantum-GIS/tree/expression-builder-highlighter</a> note: It's still a work in progress.</div>
<div><br></div><div>- Nathan</div>