Re: [code] Markdown lexer

From: Mitchell <m.att.foicica.com>
Date: Thu, 25 Jun 2020 19:21:38 -0400 (EDT)

Hi Alexander,

On Mon, 22 Jun 2020, Alexander Misel wrote:

> Hi Mitchell,
>
> My patched version of Markdown lexer has been uploaded to GitHub:
> https://github.com/AlexanderMisel/ta-tweaks/blob/master/markdown.lua
>
> The code_span rule corresponds to https://github.github.com/gfm/#code-spans , which allows one or more backtick characters. The equalcap function, which was borrowed from LPeg.re, helped back reference matching.
>
> Markdown files in textadept directory helped me test the lexer.

I've committed your changes with some modifications[1]. You were accidentally declaring some global variables. If I overlooked something, sorry about that.

Thanks again!

Cheers,
Mitchell

[1]: https://foicica.com/hg/scintilla/rev/ec78d8098ca6

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Thu 25 Jun 2020 - 19:21:38 EDT

This archive was generated by hypermail 2.2.0 : Fri 26 Jun 2020 - 06:36:19 EDT