Ted2Go
Ted2Go copied to clipboard
Folding bug whith last "End"
I can't unfold the Class of the following code. Using the cross won't work, "view>fold>unfold all" will work. If I add an empty line at the end of the file then it works OK. This happens on larger files too (with no empty lines after the last "End").
Class Foo
Field fooField:Int
'...
End
Current folding realization is hard a lot, and I think we need to rewrite CodeTextView to achieve better result.
There is no beginning In your sample code, like Class A and so on, looks like it was eaten by code prefix ```.
No worries if it's hard... I can unfoldAll and add an empty line at the end of the file anyway, so it's totally usable! (modified the example code above)
Thx