linuxmint / xed

X-Apps [Text] Editor (Cross-DE, backward-compatible, GTK3, traditional UI)
GNU General Public License v2.0
445 stars 84 forks source link

Word wrap takes last word from the previous line with it when followed by spaces that reach the width of window and trigger word wrap. #632

Open DavidPesticcio opened 7 months ago

DavidPesticcio commented 7 months ago

Issue When text (words) reach just before the end of the line, at the window width and point of word wrap, if you follow the last word with enough spaces (whitespace) the last word of that line is taken to the following line. If you continue with enough spaces, xed becomes more and more unresponsive.

Steps to reproduce

Expected behaviour Line-wrap should wrap on words not spaces? Also, adding spaces to a line should not cause xed to become unresponsive.

Other information N/A