diff options
| author | Peter LaFosse <peter@vector35.com> | 2019-12-07 15:50:32 -0500 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2019-12-09 11:49:36 -0500 |
| commit | 80aab3efa1ffcf9c3727830cf21fd141df0f2c6d (patch) | |
| tree | f170163bf01ae3f971bc4fbe893d99382ad26adb /python | |
| parent | cdf2af17910055d11a8f742294cefd9cd0301b41 (diff) | |
Fixes #1413 write_at_cursor api issue
Diffstat (limited to 'python')
| -rw-r--r-- | python/scriptingprovider.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/python/scriptingprovider.py b/python/scriptingprovider.py index b9969dd2..dfd87d63 100644 --- a/python/scriptingprovider.py +++ b/python/scriptingprovider.py @@ -640,7 +640,6 @@ class PythonScriptingInstance(ScriptingInstance): if self.active_view is None: return 0 selected_length = self.active_selection_end - self.active_selection_begin - data = str(data) if (len(data) == selected_length) or (selected_length == 0): return self.active_view.write(self.active_selection_begin, data) else: |
