mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +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>
|
2002-10-06 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* editdraw.c (print_to_widget): Eliminate use of floating point.
|
* 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);
|
format_this (t, q - p, indent);
|
||||||
put_paragraph (edit, t, p, q, indent, size);
|
put_paragraph (edit, t, p, q, indent, size);
|
||||||
free (t);
|
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