More Selection Delimiters

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
BootBlock
Posts: 6
Joined: Tue Mar 22, 2016 10:16 pm
Location: United Kingdom
Contact:

More Selection Delimiters

Post by BootBlock »

Would it be possible to not select the $ symbol when using Shift+Ctrl+[Arrow Key] to select PHP code?

Chances are the user (well, me, anyway) wants to change the variable name itself and not remove the entire variable along with its $ identifier, and without having to type the $ symbol again.

If this could be extended to also delimiting on the \ character - again, the user probably wants to change just the trailing namespace as opposed to changing/removing the entire namespace - that would be awesome!
http://www.bootblock.co.uk .:. http://software.bootblock.co.uk
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: More Selection Delimiters

Post by Aivars »

Long time ago $ was a delimiter but majority of our users wanted it to be included in the selection, it was an extremely popular request.

You can customize this manually for yourself:
1) Go to menu Options -> Preferences -> Text Editor -> Colors -> PHP -> Advanced Tools -> Custom Highlighter Scripts
2) Save Originla Script to some location
3) Open and edit the saved script. Find Delimiters=... line and add $ to the list. Save the file
4) Go back to menu Options -> Preferences -> Text Editor -> Colors -> PHP -> Advanced Tools -> Custom Highlighter Scripts and select your modified script file.

Note that this might affect Auto-Complete, too.
Blumentals Software Programmer
BootBlock
Posts: 6
Joined: Tue Mar 22, 2016 10:16 pm
Location: United Kingdom
Contact:

Re: More Selection Delimiters

Post by BootBlock »

Thanks for the response!

Really surprised that people wanted $ and \ removed as delimiters but hey, I've added them back now - so that's awesome :D
http://www.bootblock.co.uk .:. http://software.bootblock.co.uk
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: More Selection Delimiters

Post by Aivars »

We are planning to get rid of \ as delimiters soon, they cause just too many problems. We'll work around the namespaces in some way. Having \ as namespace delimiter was a strange decision from PHP developers and now we have to deal with it somehow :)
Blumentals Software Programmer
Post Reply