Ticket #2094 (after option "Cursor beyond end of line" switch off cursor still beyond end of line)
fixed position of cursor after disable option "Cursor beyond end of line" in editor options dialog. Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Этот коммит содержится в:
родитель
9881606e4c
Коммит
4b0b9878ac
@ -33,6 +33,7 @@
|
||||
|
||||
#include "lib/global.h"
|
||||
|
||||
#include "edit-widget.h"
|
||||
#include "edit-impl.h"
|
||||
#include "src/dialog.h" /* B_CANCEL */
|
||||
#include "src/wtools.h" /* QuickDialog */
|
||||
@ -137,6 +138,9 @@ edit_options_dialog (void)
|
||||
|
||||
old_syntax_hl = option_syntax_highlighting;
|
||||
|
||||
if (!option_cursor_beyond_eol)
|
||||
wedit->over_col = 0;
|
||||
|
||||
if (p) {
|
||||
option_word_wrap_line_length = atoi (p);
|
||||
g_free (p);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user