Hi Fullmetalcoder, I am having trouble refreshing the content of the editor. I did this
Qt Code:
pEditor->load(qsFileName);To copy to clipboard, switch view to plain text mode
and it causes a crash.
The call stack shows
- QEditor::load,
- QEditor::setText,
- QDocument::setText,
- qDeleteAll,
- qDeleteAll,
- QDocumentLineHandle::~QDocumentLineHandle,
- QDocumentPrivate::emitLineDeleted,
- QHash<Key, T>::remove,
- QHash<Key, T>::detach,
- QHash<Key, T>::detach_helper
If I am going about this the right way, hopefully you can bind some event in one of your programs to these two lines and reproduce the crash. If it doesn't just fall out and you need a test case, let me know.
Bookmarks