Filecompare does not suport editing and locks file for external editing

English support forum

Moderators: sheep, Hacker, Stefan2, white

Post Reply
MrHoek
Junior Member
Junior Member
Posts: 7
Joined: 2016-10-31, 13:13 UTC

Filecompare does not suport editing and locks file for external editing

Post by *MrHoek »

I have two XML files, which I want to compare. But when I use the file compare I can see the changes, but I cannot edit the files.
Also, when I load one of the files (when the compare screen is open) I cannot edit/save the file as of a sharing violation exception.

Both files are PC/ANSI encoded.

I've never noticed this problem before...

I can post the files, but I don't know how to do that here... (dont see an option to do that)

User avatar
petermad
Power Member
Power Member
Posts: 9410
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Filecompare does not suport editing and locks file for external editing

Post by *petermad »

Sorry for asking the obvious - but have you pressed the "Edit mode" button in the "Compare contents" window?
Last edited by petermad on 2019-08-20, 23:33 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 9.5b10 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.960 (x64)
TC 3.0b16 on Android 6.0
Get: Extended Total Commander Menus | TC Languagebar | PHSM-Calendar

User avatar
Dalai
Power Member
Power Member
Posts: 6925
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Filecompare does not suport editing and locks file for external editing

Post by *Dalai »

My guess is that the files are too large, so TC locks them (which causes them to be non-writeable outside of TC). The limit was something around 2 MB IIRC (for both files).

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 39185
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Filecompare does not suport editing and locks file for external editing

Post by *ghisler(Author) »

The problem isn't the file size but the line length: XML files often don't have any line breaks. TC cannot edit files with such long lines.
Author of Total Commander
http://www.ghisler.com

Post Reply