Philippe Lhoste:

> Oops, indeed, I missed this part!
> Now, since SQL is a free flowing language, ie. with no mandatory
> indentation, I am not sure this code is very useful, beyond enforcing
> good presentation practice.

   Having indentation based folding is OK as a fallback when you can't
do good keyword based folding. If good keyword based folding can be
achieved for SQL, it should take over.

> Currently, I fold stream comments, artificial fold points marked by
> --{   or -- {   for MySQL
> --}   or -- }
> and keywords (except 'if', deactivated because it can be found without
> matching end).

   I would think "if" is one of the most important folding keywords.

   Neil

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to