mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 15:37:59 +01:00
Fix editor.editFieldExternally.
Broken in revision 40e49837cafd.
This commit is contained in:
@@ -336,7 +336,7 @@ var Editor = Module("editor", {
|
|||||||
throw Error("Input contains characters not valid in the current " +
|
throw Error("Input contains characters not valid in the current " +
|
||||||
"file encoding");
|
"file encoding");
|
||||||
|
|
||||||
let lastUpdate = Date.now();
|
var lastUpdate = Date.now();
|
||||||
|
|
||||||
var timer = services.Timer(update, 100, services.Timer.TYPE_REPEATING_SLACK);
|
var timer = services.Timer(update, 100, services.Timer.TYPE_REPEATING_SLACK);
|
||||||
this.editFileExternally({ file: tmpfile.path, line: line, column: column }, cleanup);
|
this.editFileExternally({ file: tmpfile.path, line: line, column: column }, cleanup);
|
||||||
|
|||||||
Reference in New Issue
Block a user