Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Feb 4, 2024 · 0 comments

Comments

@DavidPesticcio
Copy link

  • Xed version (xed --version)
xed - Version 3.2.8
  • Distribution - (Mint 17.2, Arch, Fedora 25, etc...)
OS: Linux Mint 21.1 x86_64 
Kernel: 5.15.0-92-generic 
Resolution: 1920x1080 
DE: Cinnamon 5.6.8 
WM: Mutter (Muffin) 
WM Theme: Mint-Y-Dark (Mint-Y-Dark) 
Theme: Mint-Y-Dark [GTK2/3] 
Icons: Mint-Y-Dark [GTK2/3] 
CPU: Intel i7-4710MQ (8) @ 3.500GHz 
GPU: Intel 4th Gen Core Processor 
GPU: NVIDIA GeForce 840M 
Memory: 8119MiB / 11893MiB 

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

  • Enable word wrap.
  • Type a handful of words.
  • Make the editor window width wide enough not to trigger word wrap on the last word.
  • Now start typing spaces.
  • Notice that when word wrap is triggered, the last word of the line is taken to the following line.
  • If you continue with enough spaces, then the editor becomes more and more unresponsive. :-(

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant