html: fix cursor movement functions

- add default versions of move_word_left_right, move_bof
  and move_eof functions
This commit is contained in:
Charlie Gordon 2017-04-21 12:26:44 +00:00
commit bf2cc7c457

3
html.c
View file

@ -927,6 +927,9 @@ ModeDef html_mode = {
.move_up_down = html_move_up_down,
.move_bol = html_move_bol,
.move_eol = html_move_eol,
.move_bof = text_move_bof, /* XXX: should refine */
.move_eof = text_move_eof, /* XXX: should refine */
.move_word_left_right = text_move_word_left_right, /* XXX: refine */
.scroll_up_down = html_scroll_up_down,
.mouse_goto = html_mouse_goto,
.write_char = text_write_char,