diff options
| author | Eli Zaretskii | 2017-06-24 19:03:39 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2017-06-24 19:03:39 +0300 |
| commit | 13cc19a0a3685ceade4a5a560475ee47165f3bbc (patch) | |
| tree | 66641dcca207c14e093d7b3933f0b7090b32953e /src/coding.h | |
| parent | 6e18841b17c9b7ca9f38b923db4195cade05da2e (diff) | |
| download | emacs-13cc19a0a3685ceade4a5a560475ee47165f3bbc.tar.gz emacs-13cc19a0a3685ceade4a5a560475ee47165f3bbc.zip | |
Partial fix of hscroll of truncated lines with line numbers
* src/xdisp.c (x_produce_glyphs, hscroll_window_tree): Adjust
hscroll calculations to line-number display.
* src/term.c (produce_glyphs): Adjust tab stop to window's
hscroll. These two changes fix horizontal scrolling when line
numbers are displayed. But there's still a bug: the horizontal
shift of lines that begin with a TAB is different from the rest.
* src/xdisp.c (move_it_in_display_line_to): Call
should_produce_line_number to determine whether a line number
should be produced for this screen line.
Diffstat (limited to 'src/coding.h')
0 files changed, 0 insertions, 0 deletions