On Sat, 14 Aug 2010 19:25:43 +0200 Colomban Wendling lists.ban@herbesfolles.org wrote:
As reported in Debian's bug #590284 [1] the Scintilla Markdown lexer has a bug that causes an infinite loop on certain circumstances.
In facts, it happens when HasPrevLineContent() is called on the second line and the first line is empty, because of a negative index error. Joined a patch that fixes the issue (and also fixes highlighting if the first title is one-character only). Joined is a patch that fixes the issue [2]
Thanks, applied to trunk. I think we should include this in the 0.19.1 release as well.
Regards, Nick