saving document does not save

jbb jbb at ihug.co.nz
Tue Apr 11 20:50:27 UTC 2000


On Wed, 12 Apr 2000, you wrote:
> On Die, 11 Apr 2000 you wrote:
> > Hi,
> > 
> > Today's cvs version...
> > ...saving changes of a header does not really save. 
> > 
> > :-) is:
> >   - after "saving" the save button is disabled
> >   - as usually the tree view collapse (although that isn't actually a
> > :-)
> >   - after closing KDevelop and a restart everything is fine again.
> > 
> > :-( is:
> >   - the class tree view is not updated with the changes
> >   - globaly search the files improves: the files are not really saved!
> > 
> Hmm, I don't really understand. For me the tree doesn't collapse and the file
> is saved on disk right away. The only thing that isn't right, and should be
> fixed, is that the tree be reparsed after each save to keep it up to date.

Oh dear

This is my fault.

I added a patch to fix another bug. (ie If you change a header file then after
saving the file (saveall, save file whatever) clicking on a method in the CV
contained within that header, doesn't find the method in the cpp file.

This is because the class was removed from the store if it was in the header,
then the header was parsed and hence the class was added back in. But the cpp
file wasn't reparse so no link to the cpp is made. :(

The patch changes this so that the class isn't removed in this situation. So
after the header reparse the old information is still available. But this isn't
right either. :(

sigh

This is not easily solvable, but I'll look into it...

PS
I reserve the right to be wrong and will plead the 5th (even though it doesn't
apply where I live)

-- 
Regards,

jbb
http://homepages.ihug.co.nz/~jbb
ICQ: 60412209




More information about the KDevelop-devel mailing list