Ok, I think I got it now - its a folding bug :) - the code for scintilla is incredibly badly documented - I had to guess how to do all that :)
some of the tricks I use at present - as the 'turn of folding doesnt work' is to copy the whole file and paste it - it breaks the folding, but 'sometimes' that folding is annoying... -- the mole needs to reparse and refold the document when you save - so the tree and the folding points get updated... I'll see if I can get time to look into it.- probably friday (my parent are visiting so it's going to be a bit hectic tommorow) regards alan > >Ok, I can now reproduce some of the bugs: > >Try this: > >1. Start PHPMole. >2. Log into a Midgard Sitegroup as Admin-Level User >3. Open a snippet with a class in it, try CArticle from > http://www.nathan-syntronics.de/midgard/oop/baseclasses/CArticle.html > >[ I clicked on the snippet, PHPMole now switches to the PHP Editor, >with > the "Class tree (sort of) on the left side] > >4. Click on the "+" sign besides the snippet name (here carticle), it > shows you the class name CArticle, again, click on the + to see the > Methods of that class. >5. Now click on the "create" method. > >[ PHPMole now loads exactly that Function into the editor. ] > >6. Insert some Code/Comment/whatever into the Method itself (i.e. an > "//Test into the first line of the function). >7. Now click on the delet member function (don't click to save!) >8. again insert some Text there. (again, don't explicitly save) > >Now you have to choices: > >9a. Click back on "create" in the tree to display that function again. > >==> The chances are gone, both in create and in delete. > >OR > >9b. Click on the CArticle Class itself, the PHP Editor now displays the > complete class. Open one of the changed functions by clicking on the > arrow-right in the source editor itself to expand the view. > >==> Again, the changes made are gone. > >I can reproduce this problem for any Midgard Class in snippets, haven't >tried anything else though. > >I don't have the HTML WYSYIG Editor enabled, becaus I think it is evil >*grin*, just using scintilla's Editor, not even the plain text editor. > >Basically this happens every time, when I click on anything in the >Class Browser. > >He not only drops changes in the Code field of the snippet, but under >the same circumstances he alsow throws changes to the Documentation >field away. > > >Live long and prosper! >Torben Nehmer > >- -- >Torben Nehmer, Munich, Germany >http://www.nathan-syntronics.de, mailto:[EMAIL PROTECTED] >PGP Public Key ID on wwwkeys.(de.)pgp.net: 0x7E9DE456 >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.0.6 (GNU/Linux) >Comment: Weitere Infos: siehe http://www.gnupg.org > >iD8DBQE8j0BCJPh4Kn6d5FYRAvGtAJ4pqLdziR0DYn/pR3/RY2I2bgPWQgCggFV3 >8YNEjMGpAfIP9aOMuVR5tuM= >=yB6X >-----END PGP SIGNATURE----- > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
