Fix calculation of EditSession.getScreenLength.
This commit is contained in:
parent
56619e516b
commit
55e0f8ceff
2 changed files with 24 additions and 14 deletions
|
|
@ -155,6 +155,8 @@ exports.launch = function(env) {
|
|||
var container = document.getElementById("editor");
|
||||
var cockpitInput = document.getElementById("cockpitInput");
|
||||
env.editor = new Editor(new Renderer(container, theme));
|
||||
window.env = env;
|
||||
window.ace = env.editor;
|
||||
|
||||
var modes = {
|
||||
text: new TextMode(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue