Re: [code] Strange embedded lexer behavior

From: Mitchell <>
Date: Wed, 24 Feb 2016 08:29:46 -0500 (EST)

Hi Carl,

On Tue, 23 Feb 2016, Carl Sturtivant wrote:

> Hello,
> I've almost perfectly successfully embedded lexers for D in three ways,
> and for CSS in one way, and for JavaScript in one way, inside the Diet
> template lexer under construction.
> But when I embed the Markdown lexer it pulls in the HTML lexer which
> pulls in the CSS lexer and the JavaScript lexer, and for some reason
> that makes a complete mess of lexing parts of my document that are not
> delimited as Markdown.
> Any idea what the issues are here?

Does your lexer need to have embedded HTML in markdown? If not, then
create a copy of the markdown lexer in your `~/.textadept/lexers/` and
`l.load()` that one instead. If you do, perhaps you can send me a copy of
your work to investigate what is the matter.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Wed 24 Feb 2016 - 08:29:46 EST

This archive was generated by hypermail 2.2.0 : Thu 25 Feb 2016 - 06:54:20 EST