I'm developing a QtCreator plug-in, which should generates/removes (a lot)
source code. I have problems with add/remove source code and the document sync,
probably.

In details, I have to remove a method from a class (*.h, *.cpp) as next I have
to add new methods. The problem is that some code is not removed from class,
probably the document is out of sync?!?! I tried
CPlusPlus::CppModelManagerInterface::instance()->updateModifiedSourceFiles(); to
get sync but it doesn't work.

How can I handle add/remove source code to a "Document::Ptr" in a save way,
without losing sync?

Thank you in advance.

Michael

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to