aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2018-11-06 08:27:33 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2018-11-06 08:27:33 -0500
commit1ec0275e4119238f883aae18655486b4f7fc70ac (patch)
tree5aeeb4b689f87a7fc486e650b9fd9ba712b5d3fa /modules/textadept
parentaa32c3391738700b7d1d65ae0dcfdae7ff03c13f (diff)
downloadtextadept-1ec0275e4119238f883aae18655486b4f7fc70ac.tar.gz
textadept-1ec0275e4119238f883aae18655486b4f7fc70ac.zip
Do not modify selection in `textadept.editing.highlight_word()`.
Diffstat (limited to 'modules/textadept')
-rw-r--r--modules/textadept/editing.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua
index 5d069c87..33e4f684 100644
--- a/modules/textadept/editing.lua
+++ b/modules/textadept/editing.lua
@@ -490,7 +490,6 @@ function M.highlight_word()
buffer.target_end - buffer.target_start)
buffer:set_target_range(buffer.target_end, buffer.length)
end
- buffer:set_sel(s, e)
end
---