Updated to add statusPanel variable

This commit is contained in:
Cheng-Han, Wu 2016-04-20 16:16:46 +08:00
parent 3718238277
commit b996f801cc

View file

@ -285,6 +285,7 @@ defaultTextHeight = parseInt($(".CodeMirror").css('line-height'));
var statusBarTemplate = null;
var statusBar = null;
var statusPanel = null;
var statusCursor = null;
var statusFile = null;
var statusIndicators = null;
@ -312,7 +313,7 @@ function addStatusBar() {
statusIndent = statusBar.find('.status-indent');
statusKeymap = statusBar.find('.status-keymap');
statusLength = statusBar.find('.status-length');
editor.addPanel(statusBar[0], {
statusPanel = editor.addPanel(statusBar[0], {
position: "bottom"
});