#64 Point jumps to end of line if line is almost as long as there are cols and there is a tab char

Cerrada
abierta hace 1 año por nuclearkev · 0 comentarios

If a line contains a tab character and roughly has the same number of characters (whether combined UTF-8 or not) as there are window columns (curwp->w_cols) then the point will jump to the column of curwp->w_cols - 3, where 3 is the extra length added by the tab character.

One jumped to that new position, you can't use move up until you jump to the beginning of the line or move down a line.

My guess is that it has something to do with the display function in display.c

If a line contains a tab character and roughly has the same number of characters (whether combined UTF-8 or not) as there are window columns (curwp->w_cols) then the point will jump to the column of `curwp->w_cols - 3`, where _3_ is the extra length added by the tab character. One jumped to that new position, you can't use move up until you jump to the beginning of the line or move down a line. My guess is that it has something to do with the `display` function in `display.c`
Kevin "The Nuclear" Bloom mencionada esta incidencia en un commit hace 1 año
Inicie sesión para unirse a esta conversación.
Cargando...
Cancelar
Guardar
Aún no existe contenido.