mirror of
https://github.com/rfivet/uemacs.git
synced 2025-09-24 22:24:02 -04:00
Start doing character removal properly
This makes actual basic editing work. Including things like justify-paragraph etc, so lines get justified by number of UTF8 characters rather than bytes. There are probably tons of broken stuff left, but this actually seems to get the basics working right. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
2
main.c
2
main.c
@@ -521,7 +521,7 @@ int execute(int c, int f, int n)
|
||||
curwp->w_doto < curwp->w_dotp->l_used &&
|
||||
(lgetc(curwp->w_dotp, curwp->w_doto) != '\t' ||
|
||||
(curwp->w_doto) % 8 == 7))
|
||||
ldelete(1L, FALSE);
|
||||
ldelchar(1, FALSE);
|
||||
|
||||
/* do the appropriate insertion */
|
||||
if (c == '}' && (curbp->b_mode & MDCMOD) != 0)
|
||||
|
Reference in New Issue
Block a user