← Back to team overview

papercuts-ninja team mailing list archive

[Bug 638503] [NEW] Gedit word select doesn't include space

 

Vish (vish) has assigned this bug to you for gedit in ubuntu:

When I select a word from a sentence by double clicking, it should include the nearest space and or non letter character (trailing if I click near the last letter and leading if I click near the first letter). Then when I drag or delete, I don't have to go back and delete the extra space from where the word was taken and type one in where the word is dropped off. Not everyone wants this, so select behavior should be set in a preferences menu. Microsoft word has this feature and it's selection behavior is even more sophisticated. Check it out.
Example 1:
These are the that times try men's souls     -- now I select the word "times"
These are the that *times* try men's souls   -- now if I drag to proper location, I get
These are the timesthat  try men's souls   -- now I have to insert a space between "times" and "that" and delete one after "that"
Corrected Example 1:
These are the that times try men's souls     -- now I select the word "times" which includes trailing space (dbl clk on "es")
These are the that *times *try men's souls   -- now if I drag to proper location, I get
These are the times that try men's souls   -- now it's perfect
Example 2 - commas
I'll take red, orange, brown, *yellow, *and white marbles -- select "yellow" including comma and trailing space and move it
I'll take yellow, red, orange, brown, and white marbles -- now it's perfect

** Affects: gedit
     Importance: Unknown
         Status: Unknown

** Affects: hundredpapercuts
     Importance: Wishlist
     Assignee: Papercuts Ninja (papercuts-ninja)
         Status: Triaged

** Affects: gedit (Ubuntu)
     Importance: Wishlist
         Status: Triaged

-- 
Gedit word select doesn't include space
https://bugs.launchpad.net/bugs/638503
You received this bug notification because you are a member of Papercuts Ninja, which is a bug assignee.