mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 12:51:23 +03:00
selecting: let a justification cancel a softmark
Otherwise a second justification will cancel it, which is weird.
This commit is contained in:
parent
88a0bb9685
commit
2b314ed18f
@ -2439,6 +2439,10 @@ void do_justify(bool full_justify)
|
||||
if (first_par_line != NULL)
|
||||
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();
|
||||
|
||||
/* Show "Unjustify" in the help lines. */
|
||||
|
Loading…
Reference in New Issue
Block a user