diff options
author | 2013-04-29 16:13:59 -0400 | |
---|---|---|
committer | 2013-04-29 16:13:59 -0400 | |
commit | 78990df4f114c45adc7fd2678ffaedf0c4124d95 (patch) | |
tree | 9e79e8f93aa07ee9384b5ddd8cc548dc3c8ea20f /modules/textadept/run.lua | |
parent | 8407377bbe3800dbc4706f584285b7a7858efabc (diff) | |
download | textadept-78990df4f114c45adc7fd2678ffaedf0c4124d95.tar.gz textadept-78990df4f114c45adc7fd2678ffaedf0c4124d95.zip |
More code cleanup.
"local buffer = buffer" and similar optimizations are not needed since lexing
the buffer is much more expensive and reaction time is limited by how fast the
keyboard can submit key presses.
Diffstat (limited to 'modules/textadept/run.lua')
-rw-r--r-- | modules/textadept/run.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua index e5965fde..91c8a522 100644 --- a/modules/textadept/run.lua +++ b/modules/textadept/run.lua @@ -218,7 +218,6 @@ function M.goto_error(line, next) -- If no line was given, find the next error marker. if not line and next ~= nil then - local buffer = buffer local f = buffer['marker_'..(next and 'next' or 'previous')] line = f(buffer, buffer:line_from_position(buffer.current_pos) + (next and 1 or -1), 2^MARK_ERROR) |