Fix calculation of EditSession.getScreenLength.

This commit is contained in:
Julian Viereck 2011-05-17 16:16:28 +02:00
commit 55e0f8ceff
2 changed files with 24 additions and 14 deletions

View file

@ -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(),