Skip to content

Commit 3a2b933

Browse files
authored
Merge branch 'develop' into refactor/update-to-axios
2 parents 1e2eafa + 104a072 commit 3a2b933

File tree

6 files changed

+0
-64
lines changed

6 files changed

+0
-64
lines changed

client/components/Nav.jsx

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ class Nav extends React.PureComponent {
4242
this.handleFind = this.handleFind.bind(this);
4343
this.handleAddFile = this.handleAddFile.bind(this);
4444
this.handleAddFolder = this.handleAddFolder.bind(this);
45-
this.handleFindNext = this.handleFindNext.bind(this);
4645
this.handleRun = this.handleRun.bind(this);
47-
this.handleFindPrevious = this.handleFindPrevious.bind(this);
4846
this.handleReplace = this.handleReplace.bind(this);
4947
this.handleStop = this.handleStop.bind(this);
5048
this.handleStartAccessible = this.handleStartAccessible.bind(this);
@@ -128,16 +126,6 @@ class Nav extends React.PureComponent {
128126
this.setDropdown('none');
129127
}
130128

131-
handleFindNext() {
132-
this.props.cmController.findNext();
133-
this.setDropdown('none');
134-
}
135-
136-
handleFindPrevious() {
137-
this.props.cmController.findPrev();
138-
this.setDropdown('none');
139-
}
140-
141129
handleReplace() {
142130
this.props.cmController.showReplace();
143131
this.setDropdown('none');
@@ -447,28 +435,6 @@ class Nav extends React.PureComponent {
447435
<span className="nav__keyboard-shortcut">{metaKeyName}+F</span>
448436
</button>
449437
</li>
450-
<li className="nav__dropdown-item">
451-
<button
452-
onClick={this.handleFindNext}
453-
onFocus={this.handleFocusForEdit}
454-
onBlur={this.handleBlur}
455-
>
456-
{this.props.t('Nav.Edit.FindNext')}
457-
<span className="nav__keyboard-shortcut">{metaKeyName}+G</span>
458-
</button>
459-
</li>
460-
<li className="nav__dropdown-item">
461-
<button
462-
onClick={this.handleFindPrevious}
463-
onFocus={this.handleFocusForEdit}
464-
onBlur={this.handleBlur}
465-
>
466-
{this.props.t('Nav.Edit.FindPrevious')}
467-
<span className="nav__keyboard-shortcut">
468-
{'\u21E7'}+{metaKeyName}+G
469-
</span>
470-
</button>
471-
</li>
472438
<li className="nav__dropdown-item">
473439
<button
474440
onClick={this.handleReplace}

client/components/__test__/__snapshots__/Nav.test.jsx.snap

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -100,28 +100,6 @@ exports[`Nav renders correctly 1`] = `
100100
</span>
101101
</button>
102102
</li>
103-
<li
104-
class="nav__dropdown-item"
105-
>
106-
<button>
107-
<span
108-
class="nav__keyboard-shortcut"
109-
>
110-
⌃+G
111-
</span>
112-
</button>
113-
</li>
114-
<li
115-
class="nav__dropdown-item"
116-
>
117-
<button>
118-
<span
119-
class="nav__keyboard-shortcut"
120-
>
121-
⇧+⌃+G
122-
</span>
123-
</button>
124-
</li>
125103
<li
126104
class="nav__dropdown-item"
127105
>

translations/locales/en-US/translations.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
"Title": "Edit",
1515
"TidyCode": "Tidy Code",
1616
"Find": "Find",
17-
"FindNext": "Find Next",
18-
"FindPrevious": "Find Previous",
1917
"Replace": "Replace"
2018
},
2119
"Sketch": {

translations/locales/es-419/translations.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
"Title": "Editar",
1515
"TidyCode": "Ordenar código",
1616
"Find": "Buscar",
17-
"FindNext": "Buscar siguiente",
18-
"FindPrevious": "Buscar anterior",
1917
"Replace": "Reemplazar"
2018
},
2119
"Sketch": {

translations/locales/hi/translations.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
"Title": "संपादित करे",
1515
"TidyCode": "कोड साफ़ करें",
1616
"Find": "खोज",
17-
"FindNext": "अगला खोजें",
18-
"FindPrevious": "पिछला खोजें",
1917
"Replace": "बदली करें"
2018
},
2119
"Sketch": {

translations/locales/ja/translations.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
"Title": "編集",
1515
"TidyCode": "コード整形",
1616
"Find": "検索",
17-
"FindNext": "次を検索",
18-
"FindPrevious": "前を検索",
1917
"Replace": "置換"
2018
},
2119
"Sketch": {

0 commit comments

Comments
 (0)