Home Download Buy Blog Forum Support

Double-clicking selects periods on one file but not another?

Double-clicking selects periods on one file but not another?

Postby shaun on Wed Jul 10, 2013 9:18 pm

I've got two JavaScript files that, for all intents and purposes, appear to be the same. However, recently, a proper cropped up on new JS files where double-clicking to create a selection ignores periods. Consider the following code:

Code: Select all
object.method();


On new JS files, when I double-click on the word method, it selects object.method. On old JS files, it performs as expected and only selects method.

I can't for the life of me figure out why the behavior has changed for new files and how to revert it. The syntax is set to JavaScript for all files. Everything about the two is identical except for the double-click behavior. This is on Sublime Text 2.
shaun
 
Posts: 7
Joined: Fri Sep 30, 2011 4:52 pm

Re: Double-clicking selects periods on one file but not another?

Postby adzenith on Thu Jul 11, 2013 3:12 pm

did your word_separators option change?
adzenith
 
Posts: 1204
Joined: Mon Oct 19, 2009 9:12 pm

Re: Double-clicking selects periods on one file but not another?

Postby shaun on Thu Jul 11, 2013 4:57 pm

No. Found a related topic that was posted before mine: viewtopic.php?f=3&t=13104&start=0
shaun
 
Posts: 7
Joined: Fri Sep 30, 2011 4:52 pm

Re: Double-clicking selects periods on one file but not another?

Postby subhaze on Fri Jul 12, 2013 9:33 pm

@shaun do you have the AngularJS plug-in installed?

There was a bug where the word_separator wasn't getting set back properly in some views but this has been fixed in an update.
subhaze
 
Posts: 128
Joined: Tue Apr 09, 2013 3:22 am

Re: Double-clicking selects periods on one file but not another?

Postby personalnadir on Tue Jan 21, 2014 3:54 pm

I'm wrestling with this issue too, but to my knowledge I've not had angularjs installed. Is there a way of querying or reseting the word_separators or are there other packages which are suspected of causing issues?

I've tried uninstalling most of the packages and no matter how I edit or change my word separators, nothing happens! One file will be fine, the other will have this issue.
personalnadir
 
Posts: 10
Joined: Mon Nov 12, 2012 5:51 pm


Return to Technical Support

Who is online

Users browsing this forum: becker101, Google [Bot], Johannes and 18 guests