示例#1
0
def exec_region(area, env):
    data = area.tag_get_ranges('sel')
    data = data.encode('utf-8')
    exc(data, env)
    area.clear_selection()
示例#2
0
文件: cmd.py 项目: noscripter/vy
def exec_region(area, env):
    data = area.tag_get_ranges('sel')
    data = data.encode('utf-8')
    exc(data, env)
    area.clear_selection()
示例#3
0
def exec_cmd(area, env):
    ask = Ask(area)
    area.active()
    exc(ask.data, env)
示例#4
0
文件: cmd.py 项目: noscripter/vy
def exec_cmd(area, env):
    ask    = Ask(area)
    area.active()
    exc(ask.data, env)