Hi to all,
this is my first post here!
I'm writing a small phalanger (php on dotNET 2.0) lightweight rad to let to build plugins for a tool that i'll start to sell soon. I've readed about #D TextEditorControl around the web so instead to write my own i decided to use this!
I've a really big problem: foldings doesn't update!
I've writte a small test parser based on php syntax to identfy classes, functions and C#-like regions implemented on top of IFoldingStrategy Interface.
If i write some test code into Text property of the control, all works correctly, but if i write text from scracth (at runtime) or modify (at runtime) the existing one it doesn't do anything!
What i need to do to update dinamically foldings? I need to attach to DocumentChanged/DocumentAboutToBeChanged events and update foldings manually?