Skip to content

Commit

Permalink
Removing callback for syntax change in closed view
Browse files Browse the repository at this point in the history
  • Loading branch information
jakkubu committed Apr 16, 2016
1 parent ac1f413 commit 2a75fbf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ansi.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,9 @@ def on_new_async(self, view):
def on_load_async(self, view):
self.assign_event_listener(view)

def on_close(view):
view.settings().clear_on_change("CHECK_FOR_ANSI_SYNTAX")

def check_reload(self, view):
if view.settings().has("ansi_enabled"):
if self.file_reload_delay > 0:
Expand Down

0 comments on commit 2a75fbf

Please sign in to comment.