aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2009-01-21 10:24:56 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2009-01-21 10:24:56 -0500
commit6e859677d9a217bd6e4049795183706e8319e132 (patch)
tree0facf0494caf4d909ae9002ef392c37d8eeb69d7 /modules
parent0ef3ec8c3e47f26f5b7a64a146b80b9f64cf4584 (diff)
downloadtextadept-6e859677d9a217bd6e4049795183706e8319e132.tar.gz
textadept-6e859677d9a217bd6e4049795183706e8319e132.zip
Don't need buffer:goto_pos() in modules/textadept/editing.lua's goto_line().
Diffstat (limited to 'modules')
-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 7e8a1ff7..069135b2 100644
--- a/modules/textadept/editing.lua
+++ b/modules/textadept/editing.lua
@@ -248,7 +248,6 @@ function goto_line(line)
end
buffer:ensure_visible_enforce_policy(line - 1)
buffer:goto_line(line - 1)
- buffer:goto_pos(buffer.current_pos)
end
---