Make ProjectFindView consistent with FindView
MODIFY
lib/project-find-view.js
lib/project-find-view.js
@@ -468,6 +468,8 @@ class ProjectFindView {
}
if (pattern) {
this.findEditor.setText(pattern);
+ this.findEditor.getElement().focus();
+ this.findEditor.selectAll();
}
}
}
@@ -481,6 +483,8 @@ class ProjectFindView {
}
if (pattern) {
this.replaceEditor.setText(pattern);
+ this.replaceEditor.getElement().focus();
+ this.replaceEditor.selectAll();
}
}
}

Make ProjectFindView consistent with FindView