mirror of
https://github.com/zhigang1992/AutoFileName.git
synced 2026-01-12 17:12:38 +08:00
@@ -86,7 +86,6 @@ class FileNameComplete(sublime_plugin.EventListener):
|
||||
|
||||
def on_selection_modified(self,view):
|
||||
sel = view.sel()[0]
|
||||
if view.is_loading(): return
|
||||
if self.at_path_end(view):
|
||||
if view.substr(sel.a-1) == '/' or len(view.extract_scope(sel.a)) < 3:
|
||||
view.run_command('auto_complete',
|
||||
@@ -95,7 +94,6 @@ class FileNameComplete(sublime_plugin.EventListener):
|
||||
|
||||
def on_modified(self,view):
|
||||
sel = view.sel()[0]
|
||||
if view.is_loading(): return
|
||||
v = view
|
||||
if self.size > view.size():
|
||||
if self.at_path_end(view):
|
||||
|
||||
Reference in New Issue
Block a user