On Thu, 2005-10-20 at 20:44 +1000, Neil Hodgson wrote:
> Iago Rubio:
> 
> > >    They are really identifiers so should have their own quoted
> > > identifier style.
> >
> > Yes, you're right.
> >
> > If you want me to implement it as a new style, I'll go for it.
> 
>    I think that would be best as it allows choosing a style similar to
> other identifiers rather than like strings and should be more accurate
> when a string contains a backtick.

Yes, for sure. I didn't think about the possibility of backticks onto
strings. It will break highlighting.

Here you've got it as a new style. I left the property stuff as I'm not
sure if other SQL implementations will allow backticks, so it's better
to let a way to enable/disable it. The property name have changed to
"sql.backticks.identifier" to reflect the changes.

http://iagorubio.com/scintilla/LexSQL.cxx.patch
http://iagorubio.com/scintilla/SciLexer.h.patch
http://iagorubio.com/scintilla/LexSQL_files.zip
-- 
Iago Rubio

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

Reply via email to