From 729f3b2d143b21055e367cfc9c49dbb0947bbf96 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Mon, 4 Oct 2010 14:24:52 +0200 Subject: [PATCH] fix toggling show invisibles --- src/ace/VirtualRenderer.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ace/VirtualRenderer.js b/src/ace/VirtualRenderer.js index ca748dce..e705b344 100644 --- a/src/ace/VirtualRenderer.js +++ b/src/ace/VirtualRenderer.js @@ -67,8 +67,6 @@ var VirtualRenderer = function(container, theme) { column : 0 }; - this.showInvisibles = false; - var self = this; this.$textLayer.addEventListener("changeCharaterSize", function() { self.characterWidth = textLayer.getCharacterWidth(); @@ -210,7 +208,7 @@ var VirtualRenderer = function(container, theme) { }; this.getShowInvisibles = function() { - return this.showInvisibles; + return this.$showInvisibles; }; this.$showPrintMargin = true;