Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions client/components/Nav.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ class Nav extends React.PureComponent {
this.handleFind = this.handleFind.bind(this);
this.handleAddFile = this.handleAddFile.bind(this);
this.handleAddFolder = this.handleAddFolder.bind(this);
this.handleFindNext = this.handleFindNext.bind(this);
this.handleRun = this.handleRun.bind(this);
this.handleFindPrevious = this.handleFindPrevious.bind(this);
this.handleReplace = this.handleReplace.bind(this);
this.handleStop = this.handleStop.bind(this);
this.handleStartAccessible = this.handleStartAccessible.bind(this);
Expand Down Expand Up @@ -128,16 +126,6 @@ class Nav extends React.PureComponent {
this.setDropdown('none');
}

handleFindNext() {
this.props.cmController.findNext();
this.setDropdown('none');
}

handleFindPrevious() {
this.props.cmController.findPrev();
this.setDropdown('none');
}

handleReplace() {
this.props.cmController.showReplace();
this.setDropdown('none');
Expand Down Expand Up @@ -447,28 +435,6 @@ class Nav extends React.PureComponent {
<span className="nav__keyboard-shortcut">{metaKeyName}+F</span>
</button>
</li>
<li className="nav__dropdown-item">
<button
onClick={this.handleFindNext}
onFocus={this.handleFocusForEdit}
onBlur={this.handleBlur}
>
{this.props.t('Nav.Edit.FindNext')}
<span className="nav__keyboard-shortcut">{metaKeyName}+G</span>
</button>
</li>
<li className="nav__dropdown-item">
<button
onClick={this.handleFindPrevious}
onFocus={this.handleFocusForEdit}
onBlur={this.handleBlur}
>
{this.props.t('Nav.Edit.FindPrevious')}
<span className="nav__keyboard-shortcut">
{'\u21E7'}+{metaKeyName}+G
</span>
</button>
</li>
<li className="nav__dropdown-item">
<button
onClick={this.handleReplace}
Expand Down
22 changes: 0 additions & 22 deletions client/components/__test__/__snapshots__/Nav.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -100,28 +100,6 @@ exports[`Nav renders correctly 1`] = `
</span>
</button>
</li>
<li
class="nav__dropdown-item"
>
<button>
<span
class="nav__keyboard-shortcut"
>
⌃+G
</span>
</button>
</li>
<li
class="nav__dropdown-item"
>
<button>
<span
class="nav__keyboard-shortcut"
>
⇧+⌃+G
</span>
</button>
</li>
<li
class="nav__dropdown-item"
>
Expand Down
2 changes: 0 additions & 2 deletions translations/locales/en-US/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
"Title": "Edit",
"TidyCode": "Tidy Code",
"Find": "Find",
"FindNext": "Find Next",
"FindPrevious": "Find Previous",
"Replace": "Replace"
},
"Sketch": {
Expand Down
2 changes: 0 additions & 2 deletions translations/locales/es-419/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
"Title": "Editar",
"TidyCode": "Ordenar código",
"Find": "Buscar",
"FindNext": "Buscar siguiente",
"FindPrevious": "Buscar anterior",
"Replace": "Reemplazar"
},
"Sketch": {
Expand Down
2 changes: 0 additions & 2 deletions translations/locales/hi/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
"Title": "संपादित करे",
"TidyCode": "कोड साफ़ करें",
"Find": "खोज",
"FindNext": "अगला खोजें",
"FindPrevious": "पिछला खोजें",
"Replace": "बदली करें"
},
"Sketch": {
Expand Down
2 changes: 0 additions & 2 deletions translations/locales/ja/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
"Title": "編集",
"TidyCode": "コード整形",
"Find": "検索",
"FindNext": "次を検索",
"FindPrevious": "前を検索",
"Replace": "置換"
},
"Sketch": {
Expand Down