A simple test with 10000 lines didn’t show any issues but this doesn’t
mean that a more complex test with different foldings in between wouldn’t.
If you could share the file and udl xml we could check if this is the case.
I wouldn’t want to post the code in question on public forum. But, as I was trying to re-create the problem, I figured, it has something to do with encoding. The original file was marked as UTF-8, performing “convert to ANSI” fixes the problem, moreover when I convert it back to UTF-8 it still works. So, I guess there was something wrong in the file. Thank you for pointing me in the right direction.
Is there a way to remember folding state?
Normally this is the case if you have remember current session … enabled (Settings->Preferences->Backup)
Yes, I have the setting enabled. I’m working with two views open and it seems that the program always unfolds everything on left view, while remembering the state of right view.
Also, I wonder, if it’s possible to you a phrase containing a whitespace, as a prefix if keyword list. I have this structure:
*function bla_bla
…
end function
call bla_bla*
I wonder how to apply the same styler to “call” and a word that comes next, while not affecting words like “recalled”…