Home Download Buy Blog Forum Support

Problem: drag_select

Problem: drag_select

Postby vpikulik on Wed Nov 02, 2011 8:45 am

I can't use mouse in text edit area. Sublime said:
Unable to parse command: drag_select {"event": {"button": 1, "x": 394,5.0, "y": 765,5.0}}

or (If I press right button):
Unable to parse command: context_menu {"event": {"button": 2, "x": 394,5.0, "y": 765,5.0}}

Sublime work in Debian Linux whezy amd64. Build: 2138

I try to use another versions of editor and problem exists in their.

Please help )))
vpikulik
 
Posts: 2
Joined: Wed Nov 02, 2011 8:33 am

Re: Problem: drag_select

Postby jps on Wed Nov 02, 2011 10:32 am

This is a locale issue: the number should be "394.5" rather than "394,5.0". Sublime Text will set the locate to "C" at startup, via:
Code: Select all
setlocale(LC_NUMERIC, "C");

However this must be failing for you - perhaps your machine doesn't have a C locale? (!)
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm

Re: Problem: drag_select

Postby vpikulik on Wed Nov 02, 2011 11:48 am

Problem really was in locale.
Before runing of sublime I make: export LC_NUMERIC=C and sublime works without errors.

Thanks.
vpikulik
 
Posts: 2
Joined: Wed Nov 02, 2011 8:33 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 17 guests