whoops...

forgot to remove my print statements.  fixed flooding of console.
This commit is contained in:
Liam Cain
2012-02-01 17:38:14 -05:00
parent 70b4aa4fd0
commit 13c4307fd5

View File

@@ -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):