Re: [textadept] Changing folding symbol to MARK_BOX* tree doesn't work

From: Robert <>
Date: Sun, 15 May 2011 19:42:14 +0200

On Sun, May 15, 2011 at 6:16 PM, mitchell <> wrote:
> On Sat, 14 May 2011, mitchell wrote:
>> There is a bug in the fold by indentation code. The correct markers show up for the contributed dmd folding code. I will have to compare that code to mine to see what I'm missing.
> I believe this is unique only to fold by indentation because the fold levels do not usually increase or decrease by one, but instead by the number of spaces involved in the change in indentation. The dmd folder shows the correct markers because it changes the fold level by only one. I wrote a lua folder as an experiment that changes levels by one and it shows all markers too. So until folders have been implemented for the lexers you use, not all markers will show up. Which ones do you use? If it's possible, I will make those a priority.
> mitchell

The updated Lua lexer from Scintillua hg does not show any markers for
me. Do I have to change something else?
Wouldn't it be possible to have a generic translation from
spaces-based indentation to levels if no _fold function is available?

Received on Sun 15 May 2011 - 13:42:14 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:06:54 EST