Michael.Cartmell:

> Is it possible to set the fold level of the previous line?  

   Yes, although it will be more confusing. I would read ahead instead
of patching behind.

> silverRing : Wearable
>     'silver ring'
>     'silver ring'
>     "A silver ring lies glinting in the dust. "
> ;
> 
> In the second case I don't find out that the block has begun untill I reach
> 'silver ring' on the second line.  

   This similar to Python ao you could have a look at the Python folder.

> levelCurrent++;
> if (!visibleChars) {
>     styler.SetLevel(lineCurrent-1, styler.LevelAt(lineCurrent-1) + 1);
> }
> 
> however that doesn't seem to work.  Have I missed something?

   Don't you want to leave the previous line at its level but set this
line to one more? Or did you mean that the second 'silver ring' line
(that is, line 3) is the subordinate?

   Neil

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

Reply via email to