Forum > Editor

Save fold state

<< < (2/2)

bigeno:
Hi,
strange but after recompiling the IDE this example works fine. However I found another file where the problem occurred. I have sent the data to you PM.

Martin_fr:
Ok, that example I can reproduce. (with 2.2.2 AND 2.3)
And the error log also shows that it had problem reading the data.

It might take a little while before I can debug it. Currently got some other tasks that need to be done first.

bigeno:
thanks, good that you can reproduce.

Martin_fr:
Took a while, but I eventually got to it. As for as I can test it should be fixed.
https://gitlab.com/freepascal.org/lazarus/lazarus/-/commit/339ede7382ab19d68df5f88509253de4d443df53

You only need the changes to components/synedit/syneditfoldedview.pp
The other files are the testcase.

You only need to amend a few lines, and recompile your IDE.

bigeno:
NICE it works!!!
it's important improvement for me, Thanks!!

Navigation

[0] Message Index

[*] Previous page

Go to full version