📄 coolpython.c
字号:
if(!PyArg_ParseTuple(args,"l:move_lines",&_arg0)) return NULL; move_lines(_arg0); Py_INCREF(Py_None); _resultobj = Py_None; return _resultobj;}static PyObject *_wrap_move_to(PyObject *self, PyObject *args) { PyObject * _resultobj; long _arg0; self = self; if(!PyArg_ParseTuple(args,"l:move_to",&_arg0)) return NULL; move_to(_arg0); Py_INCREF(Py_None); _resultobj = Py_None; return _resultobj;}static PyObject *_wrap_insert(PyObject *self, PyObject *args) { PyObject * _resultobj; char * _arg0; self = self; if(!PyArg_ParseTuple(args,"s:insert",&_arg0)) return NULL; insert(_arg0); Py_INCREF(Py_None); _resultobj = Py_None; return _resultobj;}static PyObject *_wrap_delete(PyObject *self, PyObject *args) { PyObject * _resultobj; long _arg0; self = self; if(!PyArg_ParseTuple(args,"l:delete",&_arg0)) return NULL; delete(_arg0); Py_INCREF(Py_None); _resultobj = Py_None; return _resultobj;}static PyObject *_wrap_back_space(PyObject *self, PyObject *args) { PyObject * _resultobj; long _arg0; self = self; if(!PyArg_ParseTuple(args,"l:back_space",&_arg0)) return NULL; back_space(_arg0); Py_INCREF(Py_None); _resultobj = Py_None; return _resultobj;}static PyObject *_wrap_insert_ahead(PyObject *self, PyObject *args) { PyObject * _resultobj; char * _arg0; self = self; if(!PyArg_ParseTuple(args,"s:insert_ahead",&_arg0)) return NULL; insert_ahead(_arg0); Py_INCREF(Py_None); _resultobj = Py_None; return _resultobj;}static PyObject *_wrap_current(PyObject *self, PyObject *args) { PyObject * _resultobj; long _result; self = self; if(!PyArg_ParseTuple(args,":current")) return NULL; _result = (long )current(); _resultobj = Py_BuildValue("l",_result); return _resultobj;}static PyObject *_wrap_current_line(PyObject *self, PyObject *args) { PyObject * _resultobj; long _result; self = self; if(!PyArg_ParseTuple(args,":current_line")) return NULL; _result = (long )current_line(); _resultobj = Py_BuildValue("l",_result); return _resultobj;}static PyObject *_wrap_bol(PyObject *self, PyObject *args) { PyObject * _resultobj; long _result; long _arg0; self = self; if(!PyArg_ParseTuple(args,"l:bol",&_arg0)) return NULL; _result = (long )bol(_arg0); _resultobj = Py_BuildValue("l",_result); return _resultobj;}static PyObject *_wrap_eol(PyObject *self, PyObject *args) { PyObject * _resultobj; long _result; long _arg0; self = self; if(!PyArg_ParseTuple(args,"l:eol",&_arg0)) return NULL; _result = (long )eol(_arg0); _resultobj = Py_BuildValue("l",_result); return _resultobj;}static PyObject *_wrap_find_forwards(PyObject *self, PyObject *args) { PyObject * _resultobj; long _result; long _arg0; char * _arg1; self = self; if(!PyArg_ParseTuple(args,"ls:find_forwards",&_arg0,&_arg1)) return NULL; _result = (long )find_forwards(_arg0,_arg1); _resultobj = Py_BuildValue("l",_result); return _resultobj;}static PyObject *_wrap_find_backwards(PyObject *self, PyObject *args) { PyObject * _resultobj; long _result; long _arg0; char * _arg1; self = self; if(!PyArg_ParseTuple(args,"ls:find_backwards",&_arg0,&_arg1)) return NULL; _result = (long )find_backwards(_arg0,_arg1); _resultobj = Py_BuildValue("l",_result); return _resultobj;}static PyObject *_wrap_line(PyObject *self, PyObject *args) { PyObject * _resultobj; long _result; long _arg0; self = self; if(!PyArg_ParseTuple(args,"l:line",&_arg0)) return NULL; _result = (long )line(_arg0); _resultobj = Py_BuildValue("l",_result); return _resultobj;}static PyObject *_wrap_command(PyObject *self, PyObject *args) { PyObject * _resultobj; long _arg0; self = self; if(!PyArg_ParseTuple(args,"l:command",&_arg0)) return NULL; command(_arg0); Py_INCREF(Py_None); _resultobj = Py_None; return _resultobj;}static PyObject *_wrap_focus(PyObject *self, PyObject *args) { PyObject * _resultobj; self = self; if(!PyArg_ParseTuple(args,":focus")) return NULL; focus(); Py_INCREF(Py_None); _resultobj = Py_None; return _resultobj;}static PyObject *_wrap_set_editor(PyObject *self, PyObject *args) { PyObject * _resultobj; long _result; char * _arg0; self = self; if(!PyArg_ParseTuple(args,"s:set_editor",&_arg0)) return NULL; _result = (long )set_editor(_arg0); _resultobj = Py_BuildValue("l",_result); return _resultobj;}static PyObject *_wrap_close_window(PyObject *self, PyObject *args) { PyObject * _resultobj; long _arg0; self = self; if(!PyArg_ParseTuple(args,"l:close_window",&_arg0)) return NULL; close_window(_arg0); Py_INCREF(Py_None); _resultobj = Py_None; return _resultobj;}static PyObject *_wrap_new_window(PyObject *self, PyObject *args) { PyObject * _resultobj; self = self; if(!PyArg_ParseTuple(args,":new_window")) return NULL; new_window(); Py_INCREF(Py_None); _resultobj = Py_None; return _resultobj;}static PyObject *_wrap_load(PyObject *self, PyObject *args) { PyObject * _resultobj; int _result; char * _arg0; self = self; if(!PyArg_ParseTuple(args,"s:load",&_arg0)) return NULL; _result = (int )load(_arg0); _resultobj = Py_BuildValue("i",_result); return _resultobj;}static PyObject *_wrap_status(PyObject *self, PyObject *args) { PyObject * _resultobj; char * _arg0; self = self; if(!PyArg_ParseTuple(args,"s:status",&_arg0)) return NULL; status(_arg0); Py_INCREF(Py_None); _resultobj = Py_None; return _resultobj;}static PyObject *_wrap_modified(PyObject *self, PyObject *args) { PyObject * _resultobj; int _result; self = self; if(!PyArg_ParseTuple(args,":modified")) return NULL; _result = (int )modified(); _resultobj = Py_BuildValue("i",_result); return _resultobj;}static PyObject *_wrap_file(PyObject *self, PyObject *args) { PyObject * _resultobj; char * _result; self = self; if(!PyArg_ParseTuple(args,":file")) return NULL; _result = (char *)file(); _resultobj = Py_BuildValue("s", _result); return _resultobj;}static PyObject *_wrap_directory(PyObject *self, PyObject *args) { PyObject * _resultobj; char * _result; self = self; if(!PyArg_ParseTuple(args,":directory")) return NULL; _result = (char *)directory(); _resultobj = Py_BuildValue("s", _result); return _resultobj;}static PyObject *_wrap_input_dialog(PyObject *self, PyObject *args) { PyObject * _resultobj; char * _result; char * _arg0; char * _arg1; char * _arg2; self = self; if(!PyArg_ParseTuple(args,"sss:input_dialog",&_arg0,&_arg1,&_arg2)) return NULL; _result = (char *)input_dialog(_arg0,_arg1,_arg2); _resultobj = Py_BuildValue("s", _result); return _resultobj;}static PyObject *_wrap_load_file_dialog(PyObject *self, PyObject *args) { PyObject * _resultobj; char * _result; char * _arg0; char * _arg1; char * _arg2; self = self; if(!PyArg_ParseTuple(args,"sss:load_file_dialog",&_arg0,&_arg1,&_arg2)) return NULL; _result = (char *)load_file_dialog(_arg0,_arg1,_arg2); _resultobj = Py_BuildValue("s", _result); return _resultobj;}static PyObject *_wrap_save_file_dialog(PyObject *self, PyObject *args) { PyObject * _resultobj; char * _result; char * _arg0; char * _arg1; char * _arg2; self = self; if(!PyArg_ParseTuple(args,"sss:save_file_dialog",&_arg0,&_arg1,&_arg2)) return NULL; _result = (char *)save_file_dialog(_arg0,_arg1,_arg2); _resultobj = Py_BuildValue("s", _result); return _resultobj;}static PyObject *_wrap_status_input(PyObject *self, PyObject *args) { PyObject * _resultobj; char * _result; char * _arg0; char * _arg1; self = self; if(!PyArg_ParseTuple(args,"ss:status_input",&_arg0,&_arg1)) return NULL; _result = (char *)status_input(_arg0,_arg1); _resultobj = Py_BuildValue("s", _result); return _resultobj;}static PyObject *_wrap_message_dialog(PyObject *self, PyObject *args) { PyObject * _resultobj; char * _arg0; char * _arg1; self = self; if(!PyArg_ParseTuple(args,"ss:message_dialog",&_arg0,&_arg1)) return NULL; message_dialog(_arg0,_arg1); Py_INCREF(Py_None); _resultobj = Py_None; return _resultobj;}static PyObject *_wrap_error_dialog(PyObject *self, PyObject *args) { PyObject * _resultobj; char * _arg0; char * _arg1; self = self; if(!PyArg_ParseTuple(args,"ss:error_dialog",&_arg0,&_arg1)) return NULL; error_dialog(_arg0,_arg1); Py_INCREF(Py_None); _resultobj = Py_None; return _resultobj;}static PyObject *_wrap_column_pixels(PyObject *self, PyObject *args) { PyObject * _resultobj; long _result; long _arg0; self = self; if(!PyArg_ParseTuple(args,"l:column_pixels",&_arg0)) return NULL; _result = (long )column_pixels(_arg0); _resultobj = Py_BuildValue("l",_result); return _resultobj;}static PyObject *_wrap_key_press(PyObject *self, PyObject *args) { PyObject * _resultobj; self = self; if(!PyArg_ParseTuple(args,":key_press")) return NULL; key_press(); Py_INCREF(Py_None); _resultobj = Py_None; return _resultobj;}static PyObject *_wrap_redraw_page(PyObject *self, PyObject *args) { PyObject * _resultobj; self = self; if(!PyArg_ParseTuple(args,":redraw_page")) return NULL; redraw_page(); Py_INCREF(Py_None); _resultobj = Py_None; return _resultobj;}static PyObject *_wrap_shell_output(PyObject *self, PyObject *args) { PyObject * _resultobj; int _result; char * _arg0; char * _arg1; char * _arg2; self = self; if(!PyArg_ParseTuple(args,"sss:shell_output",&_arg0,&_arg1,&_arg2)) return NULL; _result = (int )shell_output(_arg0,_arg1,_arg2); _resultobj = Py_BuildValue("i",_result); return _resultobj;}static PyMethodDef cooleditMethods[] = { { "_", edit__gettext, 1 }, { "gettext", edit__gettext, 1 }, { "insert_menu", edit__insert_menu, 1 }, { "replace_menu", edit__replace_menu, 1 }, { "menu", edit__menu, 1 }, { "bind", edit__bind, 1 }, { "key", edit__key, 1 }, { "get_key", edit__get_key, 1 }, { "markers", edit__markers, 1 }, { "generic_dialog", edit__generic_dialog, 1 }, { "overwrite", edit__overwrite, 1 }, { "query_dialog", edit__query_dialog, 1 }, { "file_type", edit__file_type, 1 }, { "indent", edit__indent, 1 }, { "get_editors", edit__get_editors, 1 }, { "shell_output", _wrap_shell_output, 1 }, { "redraw_page", _wrap_redraw_page, 1 }, { "key_press", _wrap_key_press, 1 }, { "column_pixels", _wrap_column_pixels, 1 }, { "error_dialog", _wrap_error_dialog, 1 }, { "message_dialog", _wrap_message_dialog, 1 }, { "status_input", _wrap_status_input, 1 }, { "save_file_dialog", _wrap_save_file_dialog, 1 }, { "load_file_dialog", _wrap_load_file_dialog, 1 }, { "input_dialog", _wrap_input_dialog, 1 }, { "directory", _wrap_directory, 1 }, { "file", _wrap_file, 1 }, { "modified", _wrap_modified, 1 }, { "status", _wrap_status, 1 }, { "load", _wrap_load, 1 }, { "new_window", _wrap_new_window, 1 }, { "close_window", _wrap_close_window, 1 }, { "set_editor", _wrap_set_editor, 1 }, { "focus", _wrap_focus, 1 }, { "command", _wrap_command, 1 }, { "line", _wrap_line, 1 }, { "find_backwards", _wrap_find_backwards, 1 }, { "find_forwards", _wrap_find_forwards, 1 }, { "eol", _wrap_eol, 1 }, { "bol", _wrap_bol, 1 }, { "current_line", _wrap_current_line, 1 }, { "current", _wrap_current, 1 }, { "insert_ahead", _wrap_insert_ahead, 1 }, { "back_space", _wrap_back_space, 1 }, { "delete", _wra
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -