Skip to content

Commit 1081798

Browse files
committed
Marginal cleanups / Enter beta stage
1 parent d54f301 commit 1081798

File tree

3 files changed

+42
-42
lines changed

3 files changed

+42
-42
lines changed

Docs/Users/ReleaseNotes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
</head>
5252
<body>
5353
<h2>WinMerge [WinMergeTag] Release Notes</h2>
54-
This is an experimental release of WinMerge 2011.<br>
54+
This is a beta release of WinMerge 2011.<br>
5555
It includes the following enhancements as compared to the previous stable release:
5656
<ul class='features'>
5757
<li><p><a target='_blank' href='https://github.com/winmerge/winimerge'>WinIMergeLib</a> is used for image comparison.

EditorScripts/SortLines.wsc.EditorScript

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,29 +11,29 @@
1111
// Adapted from Takashi's fork
1212

1313
function SortLinesAscending(Text) {
14-
var eol = Text.match(/\r\n|\r|\n/);
15-
var lines = Text.split(/\r\n|\r|\n/);
14+
var eol = Text.match(/\r\n?|\n/);
15+
var lines = Text.split(/[\r\n]/);
1616
lines.sort();
1717
return lines.join(eol) + (/[\r\n]$/.test(Text) ? eol : "");
1818
}
1919

2020
function SortLinesDescending(Text) {
21-
var eol = Text.match(/\r\n|\r|\n/);
22-
var lines = Text.split(/\r\n|\r|\n/);
21+
var eol = Text.match(/\r\n?|\n/);
22+
var lines = Text.split(/[\r\n]/);
2323
lines.sort(function(a, b) { return a < b ? 1 : -1; });
2424
return lines.join(eol) + (/[\r\n]$/.test(Text) ? eol : "");
2525
}
2626

2727
function SortLinesAscendingNoCase(Text) {
28-
var eol = Text.match(/\r\n|\r|\n/);
29-
var lines = Text.split(/\r\n|\r|\n/);
28+
var eol = Text.match(/\r\n?|\n/);
29+
var lines = Text.split(/[\r\n]/);
3030
lines.sort(function(a, b) { return a.toLowerCase() > b.toLowerCase() ? 1 : -1; });
3131
return lines.join(eol) + (/[\r\n]$/.test(Text) ? eol : "");
3232
}
3333

3434
function SortLinesDescendingNoCase(Text) {
35-
var eol = Text.match(/\r\n|\r|\n/);
36-
var lines = Text.split(/\r\n|\r|\n/);
35+
var eol = Text.match(/\r\n?|\n/);
36+
var lines = Text.split(/[\r\n]/);
3737
lines.sort(function(a, b) { return a.toLowerCase() < b.toLowerCase() ? 1 : -1; });
3838
return lines.join(eol) + (/[\r\n]$/.test(Text) ? eol : "");
3939
}

Filters/ASPNET.flt

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
1-
## This is a directory/file filter for WinMerge
2-
## This filter lets through only files ASP.NET developers care about
3-
name: ASP.NET Devel
1+
## This is a directory/file filter for WinMerge
2+
## This filter lets through only files ASP.NET developers care about
3+
name: ASP.NET Devel
44
desc: Lets through only files ASP.NET developer cares about
55

6-
## This is an exclusive filter
7-
## (it lets through only matching files)
8-
def: exclude
6+
## This is an exclusive filter
7+
## (it lets through only matching files)
8+
def: exclude
99

10-
## Filters for filenames begin with f:
11-
## Filters for directories begin with d:
12-
## (Inline comments begin with " ##" and extend to the end of the line)
10+
## Filters for filenames begin with f:
11+
## Filters for directories begin with d:
12+
## (Inline comments begin with " ##" and extend to the end of the line)
1313

14-
f: \.xml$
14+
f: \.xml$
1515
f: \.xlst$
1616
f: \.xsl$
1717
f: \.xslt$
18-
f: \.dtd$
19-
f: \.html$
20-
f: \.htm$
21-
f: \.css$
22-
f: \.gif$
23-
f: \.bmp$
24-
f: \.jpg$
25-
f: \.png$
26-
f: \.js$
27-
f: \.dll$
28-
f: \.aspx$
29-
f: \.asmx$
30-
f: \.ascx$
31-
f: \.vb$
32-
f: \.resx$
33-
f: \.cs$
34-
f: \.js$
35-
f: \.vbproj$
36-
f: \.csproj$
37-
f: \.sln$
38-
f: \.webinfo$
39-
f: \.config$
18+
f: \.dtd$
19+
f: \.html$
20+
f: \.htm$
21+
f: \.css$
22+
f: \.gif$
23+
f: \.bmp$
24+
f: \.jpg$
25+
f: \.png$
26+
f: \.js$
27+
f: \.dll$
28+
f: \.aspx$
29+
f: \.asmx$
30+
f: \.ascx$
31+
f: \.vb$
32+
f: \.resx$
33+
f: \.cs$
34+
f: \.js$
35+
f: \.vbproj$
36+
f: \.csproj$
37+
f: \.sln$
38+
f: \.webinfo$
39+
f: \.config$
4040

41-
d: \\*$ ## Subdirectories
41+
d: \\*$ ## Subdirectories
4242

4343
## Optional SQL filter
4444
WHERE

0 commit comments

Comments
 (0)