[incremental search] emacs uses isearch by default
This commit is contained in:
parent
569563aa5f
commit
5cc2c50ebb
4 changed files with 10 additions and 6 deletions
|
|
@ -392,10 +392,14 @@ bindCheckbox("elastic_tabstops", function(checked) {
|
|||
env.editor.setOption("useElasticTabstops", checked);
|
||||
});
|
||||
|
||||
bindCheckbox("isearch", function(checked) {
|
||||
var iSearchCheckbox = bindCheckbox("isearch", function(checked) {
|
||||
env.editor.setOption("useIncrementalSearch", checked);
|
||||
});
|
||||
|
||||
env.editor.addEventListener('incrementalSearchSettingChanged', function(event) {
|
||||
iSearchCheckbox.checked = event.isEnabled;
|
||||
});
|
||||
|
||||
|
||||
function synchroniseScrolling() {
|
||||
var s1 = env.split.$editors[0].session;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue