nagyistoce / qdevelop

Automatically exported from code.google.com/p/qdevelop
GNU General Public License v2.0
0 stars 0 forks source link

END key doesn't work analogous to HOME key #251

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open some piece of code
2. Add one or more spaces at the end of the line with some expression or
assignment.
3. Use END key more times

What is the expected output? What do you see instead?
It's expected that cursor will behaves analogous to HOME key (this feature
has been described in issue 40).
Cursor could toggle between last character on the line and last non-white
character (in this case it means all chars except space and tab).
If the line contains only spaces or bracket it works well...

What version of the product are you using? On what operating system?
svn 312 on Gentoo & WinXP (at this time with patch attached to issue 242)

Original issue reported on code.google.com by tomas.hanak@gmail.com on 28 Jan 2008 at 6:21

GoogleCodeExporter commented 9 years ago
We assume that you won't place a lot of spaces in the end of the string. What's 
the
use of it?

Original comment by Lord.Div...@gmail.com on 31 Jan 2009 at 12:38

GoogleCodeExporter commented 9 years ago
You are right, I don't want to place trailing spaces to my sources and that's
probably the reason I created this issue.
You can copy a short piece of code from documentation or web which already 
contains
spaces at the end and this feature will help me to remove them by pressing End 
->
Shift+End -> Del. No "finger-breaking" combinations like Ctrl+Shift+Arrows are 
needed...
Another reason could be that you prepare a part of command with the space at 
the end
and want to copy there something from other line. So you move your cursor to 
copy
some text, then you move the cursor back, press End once or twice and hit 
Ctrl+V. It
was not possible because the cursor stoped after the last non-white character.

Actually, I don't remember why I created this issue because it's more than one 
year
old :-)

Original comment by tomas.hanak@gmail.com on 4 Feb 2009 at 3:53

GoogleCodeExporter commented 9 years ago
Ok maybe it's really worth doing

Original comment by Lord.Div...@gmail.com on 4 Feb 2009 at 5:19

GoogleCodeExporter commented 9 years ago

Original comment by Lord.Div...@gmail.com on 14 Feb 2009 at 7:35