Commit 2b314ed1 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

selecting: let a justification cancel a softmark

Otherwise a second justification will cancel it, which is weird.
No related merge requests found
Showing with 4 additions and 0 deletions
+4 -0
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment