Add default value for caret_position
This commit is contained in:
parent
440740d30b
commit
b3445bc35a
@ -96,7 +96,7 @@ class ExternalEditor(QObject):
|
|||||||
def on_proc_error(self, _err):
|
def on_proc_error(self, _err):
|
||||||
self._cleanup()
|
self._cleanup()
|
||||||
|
|
||||||
def edit(self, text, caret_position):
|
def edit(self, text, caret_position=0):
|
||||||
"""Edit a given text.
|
"""Edit a given text.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
|
Loading…
Reference in New Issue
Block a user