src/xdisp.c (set_cursor_from_row): Fix cursor positioning in mixed L2R+R2L
lines that are hscrolled on the left.
* xdisp.c (hscroll_window_tree): Support hscroll in right-to-left
lines.
+ (set_cursor_from_row): Fix cursor positioning in mixed L2R+R2L
+ lines that are hscrolled on the left.
* dispnew.c (buffer_posn_from_coords): Account for a possible
presence of header-line. (Bug#4426)
? glyph_after > glyphs_end
: glyph_after < glyphs_end)))))
{
- cursor = glyph_after;
+ if (!match_with_avoid_cursor
+ && row->truncated_on_left_p && pt_old < bpos_min)
+ cursor = glyph_before;
+ else
+ cursor = glyph_after;
x = -1;
}
else if (string_seen)