From 13c4307fd5a081a42001aff926610b4df67712f0 Mon Sep 17 00:00:00 2001 From: Liam Cain Date: Wed, 1 Feb 2012 17:38:14 -0500 Subject: [PATCH] whoops... forgot to remove my print statements. fixed flooding of console. --- autofilename.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/autofilename.py b/autofilename.py index 486eb5d..97467d0 100644 --- a/autofilename.py +++ b/autofilename.py @@ -4,7 +4,6 @@ class FileNameComplete(sublime_plugin.EventListener): def prev_has(self, view, string): sel = view.sel()[0].a - print string, view.substr(sel-2) return string in view.substr(sublime.Region(sel-1, sel)) def on_query_completions(self, view, prefix, locations): @@ -12,7 +11,6 @@ class FileNameComplete(sublime_plugin.EventListener): sel = view.sel()[0].a if self.prev_has(view, '/') or self.prev_has(view, '\\\\'): - print "yes" if "string" in view.scope_name(sel): pass elif "css" in view.scope_name(sel):