Skip to content

Commit 04b6851

Browse files
committed
Fix Sensitive Case
1 parent 7b49450 commit 04b6851

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

Find And Replace.sketchplugin/Contents/Sketch/FindAndReplace.sketchscript

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
var FindAndReplace = function (context) {
1010

1111
var presets, userDefaults, document, selection, textToFind, textToReplace, searchScope, matchRegex, matchRegexStart, matchRegexEnd, matchRegexCase, REPLACE_ALL, READY_TO_SEARCH, CANCELLED, NOT_READY, itemsMatched;
12-
var version = '1.21';
12+
var version = '1.22';
1313

1414
// Initialise
1515
initialise(context);
@@ -125,7 +125,7 @@ var FindAndReplace = function (context) {
125125

126126
// Case-sensitivity
127127
userInterface.addTextLabelWithValue("Case replacement")
128-
userInterface.addAccessoryView(createRadioButtons(["Intelligent", "Standard"], userDefaults.caseReplace))
128+
userInterface.addAccessoryView(createRadioButtons(["Standard", "Intelligent"], userDefaults.caseReplace))
129129

130130
// Where to match
131131
userInterface.addTextLabelWithValue("Where to match")

Find And Replace.sketchplugin/Contents/Sketch/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"author": "Martin Steven and Thierry Charbonnel",
55
"authorEmail" : "thierry.charbonnel@autreplanete.com",
66
"homepage": "https://github.com/thierryc/Sketch-Find-And-Replace/",
7-
"version": "1.21",
7+
"version": "1.22",
88
"identifier": "cx.ap.sketch-find-and-replace",
99
"icon" : "runner-icon.png",
1010
"updateURL": "https://raw.githubusercontent.com/thierryc/Sketch-Find-And-Replace/master/Find%20And%20Replace.sketchplugin/Contents/Sketch/manifest.json",

appcast.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@
55
<link>https://raw.githubusercontent.com/thierryc/Sketch-Find-And-Replace/master/appcast.xml</link>
66
<description>Finds text in selected layer(s) and all layers contained within - and replaces it with different text. Features partial, case sensitive and full-document matching.</description>
77
<language>en</language>
8+
<item>
9+
<title>1.22</title>
10+
<description>
11+
<![CDATA[
12+
<ul>
13+
<li>Fix Sensitive Case.</li>
14+
</ul>
15+
]]>
16+
</description>
17+
<pubDate>Tue Jan 9 11:30:00 EDT 2018</pubDate>
18+
<enclosure url="https://github.com/thierryc/Sketch-Find-And-Replace/archive/1.22.zip" type="application/octet-stream" sparkle:version="1.22"/>
19+
</item>
820
<item>
921
<title>1.21</title>
1022
<description>
@@ -14,7 +26,7 @@
1426
</ul>
1527
]]>
1628
</description>
17-
<pubDate>Tue Jan 8 11:30:00 EDT 2018</pubDate>
29+
<pubDate>Tue Jan 9 09:30:00 EDT 2018</pubDate>
1830
<enclosure url="https://github.com/thierryc/Sketch-Find-And-Replace/archive/1.21.zip" type="application/octet-stream" sparkle:version="1.21"/>
1931
</item>
2032
<item>

0 commit comments

Comments
 (0)