[texworks] external read-access causes TeXWorks to revert open file to old version

Stefan Löffler st.loeffler at gmail.com
Wed Sep 22 18:07:50 CEST 2010


 Am 2010-09-22 17:49, schrieb Stefan Müller:
>> Anyway, if you build Tw yourself, you could add the following to lines
>> (linenumber where to add in brackets) to get some debugging information:
>> [959] qDebug() << "Loading:" << fileName;
>> [1094] qDebug() << "Changed:" << curFile;
>> This should print the filenames Tw loads, and whenever it detects a
>> change to the filename on the harddisk.
> Maybe that's not clever to ask, but in which file should I put those lines? I 
> looked into TWApp.cpp, but it looks wrong there...

Oops, sorry. In src/TeXDocument.cpp.

Stefan


More information about the texworks mailing list