diff options
author | 2018-04-07 18:50:17 -0400 | |
---|---|---|
committer | 2018-04-07 18:50:17 -0400 | |
commit | 5d5051518aa79319e7506aed5ca9ea1551355eb7 (patch) | |
tree | 325094a67708fa3dc23bb9f27bc338fce5d3554f /modules/textadept/editing.lua | |
parent | 137a845bef51f00917efe3e626f26c4e0a105f4e (diff) | |
download | textadept-5d5051518aa79319e7506aed5ca9ea1551355eb7.tar.gz textadept-5d5051518aa79319e7506aed5ca9ea1551355eb7.zip |
Fixed restoration of vertical scroll for buffers with different line heights.
In particular, the Markdown lexer produces different line heights than most
other lexers, so set the lexer as soon as possible in order for the correct
scroll calculations to be made further down the `events.BUFFER_AFTER_SWITCH`
handler line.
Diffstat (limited to 'modules/textadept/editing.lua')
0 files changed, 0 insertions, 0 deletions