NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Mark a word *solved*


Joined: 18 Sep 2005
Posts: 5
Reply with quote
I use the key shortcut CTRL+SHIFT+RIGHT ARROW to mark a word (on the right).
The problem is: what PHPEd think is a word?

This is the result of some mark using the above shortcut:






I've posted just few examples, but there could be many others.

Is there a way to let PHPEd understand better the meaning with "word"?
Thank you
View user's profileFind all posts by triceraSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
CTRL+SHIFT+RIGHT ARROW is not appropriate shortcut for selecting words.
In particular CTRL+RIGHT ARROW is used for moving cursor right to the next word and if SHIFT is pressed it also selects what so ever is under cursor.
To select word under cursor you may use Ctrl+K, Ctrl+T, or Ctrl+K, T
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 18 Sep 2005
Posts: 5
Reply with quote
The CTRL+SHIFT+RIGHT ARROW description is: "Select the word to the right of the cursor".
Now I don't want to polemize but many editors (such as UltraEdit, Zend Studio, ...) use C+S+R (or C+S+Left) as described above.
PHPEd is the only editor that uses C+S+R in a different way.
You can understand that if you are editing a code, moving from a word to the other using C+R or C+L, it becomes easy to select a word just pressing also SHIFT.

Probably a solution, that also UltraEdit has adopted, could be add a "delimiter" list, editable by the user, to determine when a new word starts and when a word finishes.
View user's profileFind all posts by triceraSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Quote:
PHPEd is the only editor that uses C+S+R in a different way.

No, certainly it's not the only editor where Ctrl-Shift-Right works this way.
It's a common shortcut for ALL Borland products and not only.

Anyway, you may change it to what so ever you prefer.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 18 Sep 2005
Posts: 5
Reply with quote
I'm currently using UltraEdit but I'd like to adopt an editor with a debugger, so I'm testing both PhpEd and Zend Studio.
I think PhpEd is far better than Zend's so I'll probably get it.

Mine was just a suggestion to improve the PhpEd capabilities and I'm sorry if you feel hurt for that.
I'm not english mother-tongue so I've probably used wrong words to explain my idea.
View user's profileFind all posts by triceraSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Sorry if I did not make it clear Smile
There is no problems with PHPED Smile
If you prefer CTRL+SHIFT+RIGHT ARROW to select word under cursor, you can easily assign this shortcut for that editor function.
Just scroll editor shortcuts list to Ctrl-K,T (Select word under cursor) and change it to CTRL+SHIFT+RIGHT ARROW. Then find the old function (will be marked with red) and assign to it a different or empty shortcut.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Mark a word *solved*
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
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic