General"The File has been modified outside TeXnicCenter"

General information and discussion about TeXnicCenter
Post Reply
tex-bird
Posts: 4
Joined: Thu Nov 03, 2011 5:10 pm

"The File has been modified outside TeXnicCenter"

Post by tex-bird »

Hello,

For my case, TeXnicCenter allows a single file to be loaded more than once. So, when the second file is edited, I get a message.
The file has been modified outside TeXnicCenter
My question is how can I prevent it from happening by making TeXnicCenter to lock the file when it is open.

Because, while working with multiple files, it is common to click the icon again to see the file and mistakenly opening same file twice would always result in the same problem.

Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: "The File has been modified outside TeXnicCenter"

Post by localghost »

This "problem" would not arise if you create a project and just add all necessary files to it. Every time you open the project all included files will be opened only once.


Best regards and welcome to the board
Thorsten
tex-bird
Posts: 4
Joined: Thu Nov 03, 2011 5:10 pm

Re: "The File has been modified outside TeXnicCenter"

Post by tex-bird »

Thank you! I have just tried it. No luck. It opens multiple instances of same file.

I guess, it should be controlled by file locking...is there anyway to tell the texnicCenter to lock(which is natural in my opinion) a file while editing in one window?

Thanks.
MartinC
Posts: 153
Joined: Wed Jan 17, 2007 10:09 pm

Re: "The File has been modified outside TeXnicCenter"

Post by MartinC »

I don't understand... Why do you open the file more than once?
Post Reply