Skip to content

Commit cfecbcf

Browse files
committed
kk
1 parent b51e868 commit cfecbcf

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

bundles/Caster/python_voice_coding_plugin_caster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def send_sublime(c,data):
3131

3232
def noob_send(command,format,**kwargs):
3333
data = create_arguments(command,format,**kwargs)
34-
send_sublime("noob_voice_coding", data)
34+
send_sublime("python_voice_coding_plugin", data)
3535

3636
def lazy_value(c,f,**kwargs):
3737
return R(Function(noob_send, command = c, format = f,**kwargs))

python_voice_coding_plugin.py.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import sublime
2+
import sublime_plugin
3+
4+
from noob.interface.interface import Interface
5+
6+
7+
class PythonVoiceCodingPluginCommand(sublime_plugin.TextCommand):
8+
def run(self, edit,arg):
9+
self.action_one(edit,arg)
10+
11+
def action_one(self, edit,arg):
12+
interface = Interface(
13+
sublime = sublime,
14+
view = self.view,
15+
window = sublime.active_window(),
16+
edit = edit
17+
)
18+
interface.respond_to_query(arg)
19+
20+
21+
22+
23+
24+
25+
26+

0 commit comments

Comments
 (0)