|
Post by mueh on Feb 1, 2023 5:03:19 GMT -5
Hi George ! DIFF doesn't color mismatched lines since V23019 . okay in 22344 . Thanks
When comparing 2 files i noticed that last line of File B is missing in DIFF report No Problem for me since i can use blank line at end of file A and B .
|
|
|
Post by George on Feb 1, 2023 15:09:22 GMT -5
MUEH: Had a quick look this AM. Very mysterious, going to take some digging. At least it's solidly repeatable. Off on a day trip, will get back to it later.
George
|
|
|
Post by George on Feb 2, 2023 9:57:00 GMT -5
MUEH:
Can you check your Options -> Screen and see what is set for the DIFF color choices. Make sure the BG1 and BG2 choices are the same.
Mine were not (BG2 was <> BG1) and with Banding active the colors were all screwed up.
There were some corrections made as to how colors were handled, I suspect it used to work before only by chance.
If this isn't the cause, please send me yur CFG file and I'll continue the search.
George
|
|
|
Post by mueh on Feb 2, 2023 10:25:19 GMT -5
George : BG1 and BG2 where different . Making it the same doesn't solve problem . I use different colors .
|
|
|
Post by George on Feb 2, 2023 10:30:49 GMT -5
OK, send me your CFG file please.
George
|
|
|
Post by mueh on Feb 2, 2023 10:59:04 GMT -5
George: Here the complete CFG file . Made BG1 BG2 equal for Instance U . SPFLite.CFG (531 KB)
|
|
|
Post by George on Feb 2, 2023 12:44:05 GMT -5
MUEH: This turned into a comedy of errors, I truly thought I was going nuts. But it's fixed. It goes sort-of like this: - You report the problem, I try it and it fails just as described.
- Did extensive tracing to narrow down where it goes wrong. This gets tricky since it seemed to be right in the display routine, and I can't set break points in there.
- Finally narrowed it down to missing attributes on those lines, the attributes just said normal text.
- Went to the PASTE command (yes, that's where DIFF colorization is done). Colors are all being set properly. ??
- Then noticed at the end of the DIFF colorization another call to AttrScan for the line. Ack! AttrScan does a normal colorization scan and basically removes all the DIFF colorization. No idea why/when that line got in there.
- Problem solved! Yay!
- NOPE - it sort of half works, with colorization coming and going as you scroll around.
- Then I notice it's related to the banding support (I run with it on). So I turned it off, and all was well.
- Checked the DIFF colors in Options -> Screen and I had not set both the BG1 and BG2 values the same.
- Passed that info back to you and it made no difference. So you sent me your CFG to use.
- Switched to your CFG file and everything worked fine! ??
- Tried the latest Beta and it fails.
- AHA! that 1 line AttrScan that I removed, and which did nothing for my problem was the only difference, but beause I had badly configured DIFF colors I focused on that and not the extra code line.
Classic tunnel vision.
I'll post another Beta.
George
|
|