AkelPad Forum Index AkelPad
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Keyboard commands to select a word

 
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English)
View previous topic :: View next topic  
Author Message
Diamen



Joined: 15 Aug 2008
Posts: 19

PostPosted: Fri Aug 15, 2008 11:26 am    Post subject: Keyboard commands to select a word Reply with quote

Do you can ad a Keyboard commands to select a word with ctrl-space?
Back to top
View user's profile Send private message Visit poster's website
Surveyor



Joined: 08 Feb 2008
Posts: 146
Location: British Columbia, Canada

PostPosted: Sun Aug 31, 2008 12:21 am    Post subject: Reply with quote

This function is already "built in" to Windows - see Help file, Appendix C (Cursor movement), although it does not involve the space bar. Ctrl-shift-left_arrow or Ctrl-shift-right_arrow should select words.

- Surveyor
Back to top
View user's profile Send private message Send e-mail
Diamen



Joined: 15 Aug 2008
Posts: 19

PostPosted: Thu Dec 11, 2008 7:53 am    Post subject: Reply with quote

Do it is possibile use the Hotkeys AkelPad plugin to set word select to ctrl-space ?
With Ctrl-shift-right_arrow I have to use both hands, right and left, instead with ctrl-space i can only use the left hand.
This operation is a task that often.
Back to top
View user's profile Send private message Visit poster's website
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5359

PostPosted: Thu Dec 11, 2008 12:50 pm    Post subject: Reply with quote

Scripts plugin + SelNextWord.js

and add command to a Hotkeys plugin:
Name: SelNextWord
Command: Call("Scripts::Main", 1, "SelNextWord.js", "", 0)
Hotkey: Ctrl+Space
Back to top
View user's profile Send private message Send e-mail
Diamen



Joined: 15 Aug 2008
Posts: 19

PostPosted: Sat Dec 13, 2008 10:26 pm    Post subject: Reply with quote

Instructor wrote:
[url=http://akelpad.sourceforge.net/forum/viewtopic.php?t=240]
Hotkey: Ctrl+Space

Ty, it is nice.
But i'm not able to assign Ctrl+Space.


And it select not all word but from position to word end.
f.e.
prev[cursor]ious
it select:
ious

To solve this replace the last line with:
Code:
WshShell.SendKeys("^{RIGHT}^+{LEFT}");
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group