make sure line numbers stay correct
This commit is contained in:
parent
c9f3abb199
commit
ae510f29b4
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ oop.inherits(JavaScriptWorker, Mirror);
|
|||
|
||||
this.onUpdate = function() {
|
||||
var value = this.doc.getValue();
|
||||
value = value.replace(/^#!.*\n/, "");
|
||||
value = value.replace(/^#!.*\n/, "\n");
|
||||
|
||||
// var start = new Date();
|
||||
var parser = require("ace/narcissus/jsparse");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue