winmerge2011
winmerge2011 copied to clipboard
Winmerge 2011 Linefilter doesn't work
It seems that line filter doesn't work for a while in Winmerge 2011. I'm installe the latest release, which is 0.2011.211.182.
I've some Oracle APEX application export files (PL/SQL) where I want to filter out those lines which contains a "=>wwv_flow_api.id(xxx)" call anywhere in the current file. xxx always means an integer number.
I set a regular expression in the Tools|Filters|Linefilter and enabled it also. But after refreshing the compare nothing has changed at all. If I select this kind of line in the compare window and also select the referenced line filter the test case will underscore the whole line with green color (which should means the regexp search was success?)
I appreciate some help in this case. Thanks.
I cannot confirm this issue. Regexp "=>wwv_flow_api.id(\d+)" seems to yield expected results. Since it might depend on settings, can you share the outcome of Help → Configuration?
WinMerge configuration log
- Please add this information (or attach this file)
- when reporting bugs. Module names prefixed with tilda (~) are currently loaded in WinMerge process.
Version information: WinMerge.exe: 0.2011.211.182 Build config: NDEBUG _WIN64 _MSC_FULL_VER=160040219 _MSC_BUILD=1 Command Line: none Windows: Windows 10 Pro (BuildLab: 19041.vb_release.191206-1406) Wine: N/A
~COMCTL32.dll 10.0.19041.1110 dllversion=6.16 dllbuild=10586 ~shlwapi.dll 10.0.19041.1023 dllversion=10.0 dllbuild=10586 MergeLang.dll 0.2011.211.182 ShellExtensionU.dll 0.2011.211.182 ShellExtensionX64.dll 0.2011.211.182 hekseditU.dll 0.10909.2021 path=Frhed\hekseditU.dll WinIMergeLib.dll 1.0.25 path=WinIMerge\WinIMergeLib.dll SQLiteCompare.exe 3.1.0-datadiode-14-g6cd7810 path=SQLiteCompare\bin\SQLiteCompare.exe ReoGridCompare.exe 3.0.0-datadiode-75-g93465d8 path=ReoGridCompare\bin\ReoGridCompare.exe ToxyExtract.exe 1.6.0-datadiode-54-g2572b6e path=ToxyExtract\bin\ToxyExtract.exe doc2x.exe 1.0.0-datadiode-21-g9dd6b53 path=B2XTranslator\bin\doc2x.exe OdfConverter.exe 1.0.0-datadiode-21-g9dd6b53 path=B2XTranslator\bin\OdfConverter.exe ppt2x.exe 1.0.0-datadiode-21-g9dd6b53 path=B2XTranslator\bin\ppt2x.exe xls2x.exe 1.0.0-datadiode-21-g9dd6b53 path=B2XTranslator\bin\xls2x.exe zlibwapi.dll 1.2.11 path=B2XTranslator\bin\x86\zlibwapi.dll zlibwapi.dll 1.2.11 path=B2XTranslator\bin\x64\zlibwapi.dll 7z.dll 19.0.0 path=Merge7z\7z.dll Merge7z1900U.dll 19.0.0 dllversion=2.2 dllbuild=34 path=Merge7z\Merge7z1900U.dll
WinMerge configuration: Compare settings: Ignore blank lines: Yes Ignore case: No Ignore carriage return differences: Yes Whitespace compare: Ignore all Detect moved blocks: Yes Compare method: 0 Stop after first diff: No
Other settings: Automatic rescan: No Simple EOL: Yes Automatic scroll to 1st difference: No Backup original file: Yes Enable archive file support: Yes Detect archive type from file signature: No
Folder compare: Identical files: No Different files: Yes Left Unique files: Yes Right Unique files: Yes Binary files: Yes Skipped files: No Tree-mode enabled: No
File compare: Preserve filetimes: No Match similar lines: Yes MatchSimilarLinesMax: 30
Editor settings: View Whitespace: No Merge Mode enabled: No Show linenumbers: Yes Wrap lines: No Syntax Highlight: Yes Tab size: 4 Insert tabs: No
Font: Font facename: Courier New Font charset: 238 (East Europe)
System settings: codepage settings: ANSI codepage: 1250 OEM codepage: 1250 Locale (Thread): Def ANSI codepage: 1250 Def OEM codepage: 852 Country: Hungary Language: Hungarian Language code: 040e ISO Language code: hu Locale (User): Def ANSI codepage: 1250 Def OEM codepage: 852 Country: Hungary Language: Hungarian Language code: 040e ISO Language code: hu Locale (System): Def ANSI codepage: 1250 Def OEM codepage: 852 Country: Hungary Language: Hungarian Language code: 040e ISO Language code: hu Detect codepage automatically for RC and HTML files: Yes unicoder codepage: 1250

From your screenshot it occurs to me that line filters might be disabled altogether, as per the option at the top of the Filters dialog:

no, it isn't disabled. I tried with different type of regular expressions that's why the line filter differs on the screenshots.

Can you share the involved files? Does the situation change when you uncheck the other line filters?
Yes, when I cleared a couple of line filter options, the comparison ignored the id value differences between the rows what contains the "wwv_flow_api.id()" reference
do you have any update for this issue? thanks.
Can you give me some instructions how to solve this issue?
Can you share your LineFilters.ini? Although I lost focus on this project, I'd like to understand and fix the bug.
Where are the exact locations of the configuration files? The location used under Option|System|Supplement Folder points to my My Documents\Winmerge folder. But the LineFilters.ini does not contain my custom line filters I set.
Oops, I didn't remember that line filters entered through GUI are stored in the Windows registry.
Can you export them to a file?

(Un)fortunately, the 0.2011.211.182 build is not among released ones, and meanwhile disappeared from AppVeyor.
This is what I get with your exact set of line filters, using this fresh build from the latest commit:
I'm not aware of a relevant change since 0.2011.211.182 though, so I still cannot explain the effect you are seeing.