From 79edb3fcdfb7b5afc66f244f63b0fb48e55f0be2 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Tue, 6 Mar 2012 11:08:20 -0800 Subject: [PATCH] Store tabText in atom. This is a combination of tabsOrSpaces and tabSize. I imagine things like these will be stored in a settings object on `atom` at some point. --- src/atom/app.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/atom/app.coffee b/src/atom/app.coffee index ce79e4a83..fa8f8e239 100644 --- a/src/atom/app.coffee +++ b/src/atom/app.coffee @@ -6,14 +6,16 @@ module.exports = class App keymap: null windows: null + tabText: null constructor: (@loadPath, nativeMethods)-> @windows = [] @setupKeymap() + @tabText = " " setupKeymap: -> @keymap = new GlobalKeymap() - + $(document).on 'keydown', (e) => @keymap.handleKeyEvent(e) open: (url) ->