Page 1 of 1

[TC10.50rc3] Compare by Content - Ignore repeated spaces doesn't work in edit mode

Posted: 2022-06-25, 23:32 UTC
by white
Compare by Content:

While Case sensitive and currently selected Sync mode work while editing a line in Edit mode, Ignore repeated spaces seems to be always disabled when editing a line.

With Ignore repeated spaces enabled, compare for example a file containing:

Code: Select all

test1 test2   test3
with a file containing:

Code: Select all

test1      test2      test3
Click the Edit button and add some more spaces.

Re: [TC10.50rc3] Compare by Content - Ignore repeated spaces doesn't work in edit mode

Posted: 2022-06-26, 08:35 UTC
by ghisler(Author)
"Ignore repeated spaces" is only used to determine whether two lines are the same or not. Once you change anything within a line, they are not considered the same and the comparison within a line is started. In this comparison, "Ignore repeated spaces" is not used. I will add a note to the help to make that clear.

Re: [TC10.50rc3] Compare by Content - Ignore repeated spaces doesn't work in edit mode

Posted: 2022-06-26, 10:45 UTC
by white
ghisler(Author) wrote: 2022-06-26, 08:35 UTC In this comparison, "Ignore repeated spaces" is not used.
I think this is rather nonintuitive. Can you put it on your wish list?

Re: [TC10.50rc3] Compare by Content - Ignore repeated spaces doesn't work in edit mode

Posted: 2022-06-27, 09:19 UTC
by ghisler(Author)
It's probably not feasible due to how the comparison within a line works (finding the next match with the minimum distance).

Moderator message

Moved to suggestions