Sublime_Text3中文版


sublime_text3中文版本,直接下载即可。
资源截图
代码片段和文件信息
import sys

import sublime_api


class _LogWriter:
    def flush(self):
        pass

    def write(self s):
        sublime_api.log_message(s)


sys.stdout = _LogWriter()
sys.stderr = _LogWriter()

HOVER_TEXT = 1
HOVER_GUTTER = 2
HOVER_MARGIN = 3

ENCODED_POSITION = 1
TRANSIENT = 4
FORCE_GROUP = 8
IGNORECASE = 2
LITERAL = 1
MONOSPACE_FONT = 1
KEEP_OPEN_ON_FOCUS_LOST = 2
HTML = 1
COOPERATE_WITH_AUTO_COMPLETE = 2
HIDE_ON_MOUSE_MOVE = 4
HIDE_ON_MOUSE_MOVE_AWAY = 8

DRAW_EMPTY = 1
HIDE_ON_MINIMAP = 2
DRAW_EMPTY_AS_OVERWRITE = 4
PERSISTENT = 16
# Deprecated use DRAW_NO_FILL instead
DRAW_OUTLINED = 32
DRAW_NO_FILL = 32
DRAW_NO_OUTLINE = 256
DRAW_SOLID_UNDERLINE = 512
DRAW_STIPPLED_UNDERLINE = 1024
DRAW_SQUIGGLY_UNDERLINE = 2048
HIDDEN = 128

OP_EQUAL = 0
OP_NOT_EQUAL = 1
OP_REGEX_MATCH = 2
OP_NOT_REGEX_MATCH = 3
OP_REGEX_CONTAINS = 4
OP_NOT_REGEX_CONTAINS = 5
CLASS_WORD_START = 1
CLASS_WORD_END = 2
CLASS_PUNCTUATION_START = 4
CLASS_PUNCTUATION_END = 8
CLASS_SUB_WORD_START = 16
CLASS_SUB_WORD_END = 32
CLASS_LINE_START = 64
CLASS_LINE_END = 128
CLASS_EMPTY_LINE = 256
INHIBIT_WORD_COMPLETIONS = 8
INHIBIT_EXPLICIT_COMPLETIONS = 16

DIALOG_CANCEL = 0
DIALOG_YES = 1
DIALOG_NO = 2

UI_ELEMENT_SIDE_BAR = 1
UI_ELEMENT_MINIMAP = 2
UI_ELEMENT_TABS = 4
UI_ELEMENT_STATUS_BAR = 8
UI_ELEMENT_MENU = 16
UI_ELEMENT_OPEN_FILES = 32

LAYOUT_INLINE = 0
LAYOUT_BELOW = 1
LAYOUT_BLOCK = 2


def version():
    return sublime_api.version()


def platform():
    return sublime_api.platform()


def arch():
    return sublime_api.architecture()


def channel():
    return sublime_api.channel()


def executable_path():
    return sublime_api.executable_path()


def executable_hash():
    import hashlib
    return (
        version() platform() + ‘_‘ + arch()
        hashlib.md5(open(executable_path() ‘rb‘).read()).hexdigest())


def packages_path():
    return sublime_api.packages_path()


def installed_packages_path():
    return sublime_api.installed_packages_path()


def cache_path():
    “““ Returns the path where Sublime Text stores cache files “““
    return sublime_api.cache_path()


def status_message(msg):
    sublime_api.status_message(msg)


def error_message(msg):
    sublime_api.error_message(msg)


def message_dialog(msg):
    sublime_api.message_dialog(msg)


def ok_cancel_dialog(msg ok_title=““):
    return sublime_api.ok_cancel_dialog(msg ok_title)


def yes_no_cancel_dialog(msg yes_title=““ no_title=““):
    return sublime_api.yes_no_cancel_dialog(msg yes_title no_title)


def run_command(cmd args=None):
    sublime_api.run_command(cmd args)


def get_clipboard(size_limit=16777216):
    “““
    Returns the content of the clipboard for performance reason if the size
    of the clipboard content is bigger than size_limit an empty string will be
    returned
    “““
    return sublime_api.get_clipboard(size_limit)


def set_clipboard(text):
    return sublime_api.set_clipboard(text)


def log_commands(flag):
    sublime_api.log_commands(flag)


def lo

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-05-24 19:42  Sublime_Text3_x64
     目录           0  2018-05-24 20:23  Sublime_Text3_x64Sublime Text
     文件         851  2018-05-14 12:40  Sublime_Text3_x64Sublime Text!添加∕删除右键菜单.bat
     文件       47997  2018-05-14 09:18  Sublime_Text3_x64Sublime Textchangelog.txt
     文件      224880  2018-05-14 09:32  Sublime_Text3_x64Sublime Textcrash_reporter.exe
     目录           0  2018-05-24 20:02  Sublime_Text3_x64Sublime TextData
     目录           0  2018-05-24 19:56  Sublime_Text3_x64Sublime TextDataCache
     目录           0  2018-05-24 19:44  Sublime_Text3_x64Sublime TextDataCacheActionscript
     文件        7046  2018-05-24 19:44  Sublime_Text3_x64Sublime TextDataCacheActionscriptActionscript.sublime-syntax.cache
     目录           0  2018-05-24 19:44  Sublime_Text3_x64Sublime TextDataCacheApplescript
     文件        8934  2018-05-24 19:44  Sublime_Text3_x64Sublime TextDataCacheApplescriptApplescript.sublime-syntax.cache
     目录           0  2018-05-24 19:44  Sublime_Text3_x64Sublime TextDataCacheASP
     文件        7254  2018-05-24 19:44  Sublime_Text3_x64Sublime TextDataCacheASPASP.sublime-syntax.cache
     文件         640  2018-05-24 19:44  Sublime_Text3_x64Sublime TextDataCacheASPHTML-ASP.sublime-syntax.cache
     目录           0  2018-05-24 19:44  Sublime_Text3_x64Sublime TextDataCacheBatch File
     文件        4850  2018-05-24 19:44  Sublime_Text3_x64Sublime TextDataCacheBatch FileBatch File.sublime-syntax.cache
     目录           0  2018-05-24 20:01  Sublime_Text3_x64Sublime TextDataCacheBoxy Theme
     目录           0  2018-05-24 20:04  Sublime_Text3_x64Sublime TextDataCacheBoxy Themeschemes
     文件        4393  2018-05-24 19:50  Sublime_Text3_x64Sublime TextDataCacheBoxy ThemeschemesBoxy Monokai.tmTheme.cache
     文件        4385  2018-05-24 19:50  Sublime_Text3_x64Sublime TextDataCacheBoxy ThemeschemesBoxy Nova.tmTheme.cache
     文件        4384  2018-05-24 20:04  Sublime_Text3_x64Sublime TextDataCacheBoxy ThemeschemesBoxy Ocean.tmTheme.cache
     文件        4416  2018-05-24 19:51  Sublime_Text3_x64Sublime TextDataCacheBoxy ThemeschemesBoxy Yesterday.tmTheme.cache
     目录           0  2018-05-24 20:04  Sublime_Text3_x64Sublime TextDataCacheBoxy Themewidgets
     文件         452  2018-05-24 20:01  Sublime_Text3_x64Sublime TextDataCacheBoxy ThemewidgetsWidget - Boxy Monokai.stTheme.cache
     文件         455  2018-05-24 20:03  Sublime_Text3_x64Sublime TextDataCacheBoxy ThemewidgetsWidget - Boxy Nova.stTheme.cache
     文件         452  2018-05-24 20:04  Sublime_Text3_x64Sublime TextDataCacheBoxy ThemewidgetsWidget - Boxy Ocean.stTheme.cache
     目录           0  2018-05-24 19:44  Sublime_Text3_x64Sublime TextDataCacheC#
     文件         604  2018-05-24 19:44  Sublime_Text3_x64Sublime TextDataCacheC#Build.sublime-syntax.cache
     文件       16288  2018-05-24 19:44  Sublime_Text3_x64Sublime TextDataCacheC#C#.sublime-syntax.cache
     目录           0  2018-05-24 19:44  Sublime_Text3_x64Sublime TextDataCacheC++
     文件       14681  2018-05-24 19:44  Sublime_Text3_x64Sublime TextDataCacheC++C++.sublime-syntax.cache
............此处省略2474个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)