mirror of
https://github.com/atom/atom.git
synced 2026-02-08 13:45:09 -05:00
editor:load (i need this for my ~/.atomicity/settings.coffee)
atom.on 'editor:load', (editor) -> editor.ace.setShowInvisibles no
This commit is contained in:
@@ -7,6 +7,8 @@ ace = require 'ace/ace'
|
||||
{EditSession} = require 'ace/edit_session'
|
||||
{UndoManager} = require 'ace/undomanager'
|
||||
|
||||
# Events:
|
||||
# editor:load (editor) -> Called when an editor is loaded.
|
||||
module.exports =
|
||||
class Editor extends Resource
|
||||
window.resourceTypes.push this
|
||||
@@ -90,6 +92,7 @@ class Editor extends Resource
|
||||
|
||||
window.setTitle @title()
|
||||
@dirty = false
|
||||
atom.trigger 'editor:load', this
|
||||
|
||||
true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user