[ python-Bugs-1710718 ] Ctrl+Shift block marking by words

SourceForge.net noreply at sourceforge.net
Thu May 24 21:15:14 CEST 2007


Bugs item #1710718, was opened at 2007-05-01 20:26
Message generated for change (Comment added) made by taleinat
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1710718&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: IDLE
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: zorkin (zorkin)
Assigned to: Kurt B. Kaiser (kbk)
Summary: Ctrl+Shift block marking by words

Initial Comment:
When I mark a block with ctrl+shift pressed, pressing the right arrow with cursor before the last word on the line marks this word plus whitespace till the first word on next line.

I think this behaviour is wrong - it should stop at the end of line.

----------------------------------------------------------------------

Comment By: Tal Einat (taleinat)
Date: 2007-05-24 22:15

Message:
Logged In: YES 
user_id=1330769
Originator: NO

It shouldn't stop at the end of the line - for that, press Shift+End. But
I'm guessing you meant that you think it should stop at the end of the
word.

Both phenomena you describe are the result of the same behavior. Pressing
Ctrl+Right or Ctrl+Left jumps to the beginning of the next word in the
relevant direction. This is the default behavior of the Tk Text widget,
which I am liking less and less as time goes by. (issues with selections,
'end-1c', ...)

What you ask has already been suggested to me: that it might be useful,
and perhaps more intuitive, to have Ctrl+Right jump to the end of words
instead of beginnings.

I'll bring this up on the IDLE-dev mailing list as a possible feature.

----------------------------------------------------------------------

Comment By: zorkin (zorkin)
Date: 2007-05-01 20:39

Message:
Logged In: YES 
user_id=1741501
Originator: YES

And another thing: if the cursor is at the start of line and I press ctrl
+ right, it moves to the start of the second word, not the first one, like
it should.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1710718&group_id=5470


More information about the Python-bugs-list mailing list