[Qgis-developer] QgsExpression: Comment support and unary minus

Matthias Kuhn matthias.kuhn at gmx.ch
Thu Nov 27 00:36:25 PST 2014


On 27.11.2014 09:30, Radim Blazek wrote:
>
> Why not double slash '//' to keep block and line comments consistent.
In my experience many SQL dialects use -- in favor of //. I don not know
the reason for this.

Code highlighting already in QGIS 2.6 hints that -- and /* */ are
comments but not //. I think this is the default with `setSciLexerSQL`.

Matthias


More information about the Qgis-developer mailing list