mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* wordproc.c (format_paragraph): If formatting was successful,
scroll to the left to show the formatted paragraph.
This commit is contained in:
parent
b79fe53f97
commit
346e628955
@ -1,3 +1,8 @@
|
||||
2002-10-08 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* wordproc.c (format_paragraph): If formatting was successful,
|
||||
scroll to the left to show the formatted paragraph.
|
||||
|
||||
2002-10-06 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* editdraw.c (print_to_widget): Eliminate use of floating point.
|
||||
|
@ -332,4 +332,7 @@ void format_paragraph (WEdit * edit, int force)
|
||||
format_this (t, q - p, indent);
|
||||
put_paragraph (edit, t, p, q, indent, size);
|
||||
free (t);
|
||||
|
||||
/* Scroll left as much as possible to show the formatted paragraph */
|
||||
edit_scroll_left(edit, - edit->start_col);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user