fixup 508f71f2: revert to 'function' to use the correct 'this'
This commit is contained in:
parent
6f0ab8113e
commit
58b1c5be81
|
@ -902,9 +902,9 @@ function setupGlobalSearch() {
|
||||||
let query;
|
let query;
|
||||||
let replacement;
|
let replacement;
|
||||||
activeCM = focusClosestCM(activeCM);
|
activeCM = focusClosestCM(activeCM);
|
||||||
customizeOpenDialog(activeCM, template[all ? 'replaceAll' : 'replace'], txt => {
|
customizeOpenDialog(activeCM, template[all ? 'replaceAll' : 'replace'], function (txt) {
|
||||||
query = txt;
|
query = txt;
|
||||||
customizeOpenDialog(activeCM, template.replaceWith, txt => {
|
customizeOpenDialog(activeCM, template.replaceWith, function (txt) {
|
||||||
replacement = txt;
|
replacement = txt;
|
||||||
queue = editors.rotate(-editors.indexOf(activeCM));
|
queue = editors.rotate(-editors.indexOf(activeCM));
|
||||||
if (all) {
|
if (all) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user