* wordproc.c (format_paragraph): If formatting was successful,

scroll to the left to show the formatted paragraph.
This commit is contained in:
Pavel Roskin 2002-10-08 05:03:45 +00:00
parent b79fe53f97
commit 346e628955
2 changed files with 8 additions and 0 deletions

View File

@ -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.

View File

@ -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);
}