ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> scintilla-interest
scintilla-interest
Re: [scintilla] Another ASP-Lexer problem concerning comments.
by Iago Rubio other posts by this author
Nov 19 2006 12:55AM messages near this date
Re: [scintilla] Another ASP-Lexer problem concerning comments. | [scintilla] ANN: QScintilla v1.7 Released
On Wed, 2006-11-08 at 21:37 +1100, Neil Hodgson wrote:
>  Axel Heyne:
>  
>  > I found another problem in the ASP-lexer.
>  > It belongs to comments.
>  >
>  > Please take a look in my sample.
>  > It is my lexer-test file, which i used in past issues also, maybe you
>  > remember it.
>  >
>  > New is the part described as "Here is error number 4:".
[snip]
>     Looks like a bug to me too. I won't be working on this myself but
>  will accept a patch.

It looks like it will be solved by checking for SCE_HB_COMMENTLINE in
stateAllowsTermination - LexHTML.cxx:172 - and returning false on match.

But I don't know if it's desired, as it seems that this may break the
effect of revision 1.94 of LexHTML.cxx:

"Terminate ASP scripting when a ?>  is seen outside a string. This allows
use with the Kid template language."
http://scintilla.cvs.sourceforge.net/scintilla/scintilla/src/LexHTML.cxx?r1=1.93&r2=1.94

I'm completely clueless about the Kid template language, so I don't know
if I will break its usage with the change mentioned.

If this template language have nothing to do with single-line VB
comments, I will test my proposal and send a patch.


Regards.
-- 
Iago Rubio

_______________________________________________
Scintilla-interest mailing list
Scintilla-interest@[...].org
http://mailman.lyra.org/mailman/listinfo/scintilla-interest
Thread:
Axel Heyne
Neil Hodgson
Iago Rubio

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved