Home Download Buy Blog Forum Support

Expand Selection to Scope -- strange behavior on OSX

Expand Selection to Scope -- strange behavior on OSX

Postby hibbelig on Tue Jan 10, 2012 5:46 am

Create a new tab, set its language to PHP and add the following two lines:
Code: Select all
<?php
foreach ($x as $y) { foo($y); }

Now position the cursor on the second "y". Invoke "Expand Selection to Scope" (i.e., Super+Shift+Space) multiple times and look at what happens to the selection. It starts off nicely and selects ever larger areas, until it selects the whole curly braces part.

But the next expansion doesn't expand the selection, it moves it! It selects the "($x as $y)" part!

Is this intentional?
hibbelig
 
Posts: 77
Joined: Wed Dec 21, 2011 11:24 pm

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 10 guests