Calltips for different syntaxes in same lexer

21 views
Skip to first unread message

zetah

unread,
Jan 22, 2012, 5:49:20 PM1/22/12
to scite-i...@googlegroups.com
I'm learning XML and in spare time adjusting SciTE as much as possible to be great environment to me for XML processing. When I finish, I'll present my adjustments althogether with API files created from scrapping w3.org references, abbreviations, help resources...

One thing that got me stopped is this: SciTE calltips are defined for particular lexer and XML lexer "holds" calltips also for various XML extensions - XSLT, XPath functions, XQuery... and they have different formal syntaxes.

For example, XPath functions and operators use common format with braces:

op:intersect(param1, param2)

while XSLT does not use braces, but parameters are separated by space:

xsl:value-of select=expression

if we consider "select=expression" as parameter, or equal sign if we consider "xsl:value-of select" as keyword.

In either case they differ from XPath, XQuery functions/operators which are part of XSLT.

So problem is that I can't define "calltip.xml.parameters.start" for both XPath function and XSLT keywords as they belong to same lexer.

Is there a way to do this?

Neil Hodgson

unread,
Jan 22, 2012, 6:46:14 PM1/22/12
to scite-i...@googlegroups.com
zetah:

> So problem is that I can't define "calltip.xml.parameters.start" for both
> XPath function and XSLT keywords as they belong to same lexer.
>
> Is there a way to do this?

There is no support for this.

Neil

Reply all
Reply to author
Forward
0 new messages