Filecompare does not suport editing and locks file for external editing

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
MrHoek
Junior Member
Junior Member
Posts: 10
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: 14739
Joined: 2003-02-05, 20:24 UTC
Location: 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 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Dalai
Power Member
Power Member
Posts: 9364
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, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
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
https://www.ghisler.com
Post Reply