File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed
Find And Replace.sketchplugin/Contents/Sketch Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -402,6 +402,7 @@ var FindAndReplace = function (context) {
402402 overrides[index] = searchInSymbolsInception(overrides[index]);
403403 } else if(overrides[index].class().isSubclassOfClass_(NSString.class()) ) {
404404 if (overrides[index] && overrides[index].trim() && overrides[index].trim().match(matchRegex)) {
405+ itemsMatched++;
405406 overrides[index] = replaceValue(overrides[index], textToReplace);
406407 }
407408 }
@@ -417,6 +418,7 @@ var FindAndReplace = function (context) {
417418 overrides[index] = searchInSymbolsInception(overrides[index]);
418419 } else if(overrides[index].class().isSubclassOfClass_(NSString.class()) ) {
419420 if (overrides[index].trim() && overrides[index].trim().match(matchRegex)) {
421+ itemsMatched++;
420422 overrides[index] = replaceValue(overrides[index], textToReplace);
421423 }
422424 }
Original file line number Diff line number Diff line change 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.13 " ,
7+ "version" : " 1.14 " ,
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" ,
Original file line number Diff line number Diff line change 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.14</title >
10+ <description >
11+ <![CDATA[
12+ <ul>
13+ <li>Count symbol overrides</li>
14+ </ul>
15+ ]]>
16+ </description >
17+ <pubDate >Wed Oct 18 21:00:00 EDT 2017</pubDate >
18+ <enclosure url =" https://github.com/thierryc/Sketch-Find-And-Replace/archive/1.14.zip" type =" application/octet-stream" sparkle : version =" 1.14" />
19+ </item >
820 <item >
921 <title >1.13</title >
1022 <description >
You can’t perform that action at this time.
0 commit comments