Filecompare does not suport editing and locks file for external editing

English support forum

Moderators: Stefan2, white, sheep, Hacker

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

Filecompare does not suport editing and locks file for external editing

Post by *MrHoek » 2019-08-20, 07:19 UTC

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: 8467
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 » 2019-08-20, 19:48 UTC

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.22a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1903) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b6 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
Dalai
Power Member
Power Member
Posts: 6678
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 » 2019-08-20, 21:09 UTC

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
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 37570
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) » 2019-08-22, 09:40 UTC

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