From 80aab3efa1ffcf9c3727830cf21fd141df0f2c6d Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Sat, 7 Dec 2019 15:50:32 -0500 Subject: Fixes #1413 write_at_cursor api issue --- python/scriptingprovider.py | 1 - 1 file changed, 1 deletion(-) (limited to 'python/scriptingprovider.py') 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: -- cgit v1.3.1