selecting: let a justification cancel a softmark
Otherwise a second justification will cancel it, which is weird.master
parent
88a0bb9685
commit
2b314ed18f
|
@ -2439,6 +2439,10 @@ void do_justify(bool full_justify)
|
||||||
if (first_par_line != NULL)
|
if (first_par_line != NULL)
|
||||||
last_par_line = openfile->current;
|
last_par_line = openfile->current;
|
||||||
|
|
||||||
|
/* Let a justification cancel a soft mark. */
|
||||||
|
if (openfile->mark && openfile->kind_of_mark == SOFTMARK)
|
||||||
|
openfile->mark = NULL;
|
||||||
|
|
||||||
edit_refresh();
|
edit_refresh();
|
||||||
|
|
||||||
/* Show "Unjustify" in the help lines. */
|
/* Show "Unjustify" in the help lines. */
|
||||||
|
|
Loading…
Reference in New Issue