Created
December 26, 2012 10:23
-
-
Save devlights/4379462 to your computer and use it in GitHub Desktop.
Sublime Text 2 でファイルの総行数を表示する方法.
[Ctrl+`]でコンソール開いて、以下を実行.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print len(view.lines(sublime.Region(0L, view.size()))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
参考URL:
http://www.sublimetext.com/docs/api-reference#sublimeplugin.Plugin