feat(SublimeText2.UtilPackages): cache packages

This commit is contained in:
Iristyle
2013-04-04 08:54:47 -04:00
parent 1e6f643a1b
commit d65666cdfc
541 changed files with 26347 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import sublime
import sublime_plugin
class OpenRecentFilesCommand(sublime_plugin.WindowCommand):
def run(self):
w = sublime.active_window()
counter = 0
numViews = len(w.views())
while (counter < 20):
w.run_command('open_recent_file', {"index": counter})
if numViews < len(w.views()):
break
counter += 1