Eric Promislow wrote:
Kein-Hong Man wrote:
herbert breunung wrote:
[snip]
To summarize my plan of action for the list:
[snip]
I might as well speak up -- we're still using the codebase you mentioned
in several different situations.  If I could have just hooked the Perl
parser into the lexer framework, I would have long ago, but that doesn't
work for editing buffers, which usually do not contain a valid Perl string.
You absolutely need to recover from syntax errors as quickly as possible,
and not be too clever.  If this means the user has forgotten to close a
quote, the rest of the buffer should be colored to reflect that.

Thanks for the update.

Kein-Hong has covered the most troublesome parts, which come down to the
use of barewords and ambiguous operators (qw@/ ? <<@ are the main culprits).

Given the enormous effort that a parser will require, I will instead focus on small wins with the current code until such an approach is exhausted. If delimiter-related failures are reduced to a very low level, then the "annoyance factor", which is usually due to the said delimiter-related failures, will be almost totally eliminated.

--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia

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

Reply via email to