From aa10aa298c97204b330b875dd13bbcd73cfa28be Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Sat, 26 Nov 2011 01:06:29 -0800 Subject: [PATCH] copy pasta fail --- src/atom/editor.coffee | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/atom/editor.coffee b/src/atom/editor.coffee index cfb510f90..b54ba3fe7 100644 --- a/src/atom/editor.coffee +++ b/src/atom/editor.coffee @@ -93,19 +93,6 @@ class Editor extends Resource true - edit: (code) -> - @session = new EditSession code - @session.setValue code - @session.setUseSoftTabs @settings.softTabs - @session.setTabSize if @settings.softTabs then @settings.tabSize else 8 - @session.setUndoManager new UndoManager - @session.on 'change', => @dirty = true - @pane.ace.setSession @session - - @pane.ace.setTheme require "ace/theme/#{@settings.theme}" - @pane.ace.setShowInvisibles @settings.showInvisibles - @pane.ace.setPrintMarginColumn @settings.marginColumn - close: -> if @dirty detailedMessage = if @url