Home Download Buy Blog Forum Support

Save moves my cursor

Save moves my cursor

Postby lodestone on Tue Nov 06, 2012 7:04 pm

I'm not sure how long this has been happening, as I've just been living with it and thinking I'll get back to figuring it out sometime in the future, but whenever I save a file my cursor moves to the left by one character.

Where can I start to diagnose what plugin / setting is causing this annoying behavior?
lodestone
 
Posts: 3
Joined: Thu Apr 05, 2012 2:24 am

Re: Save moves my cursor

Postby adzenith on Tue Nov 06, 2012 7:22 pm

You can disable plugins in your User Settings.
adzenith
 
Posts: 1213
Joined: Mon Oct 19, 2009 9:12 pm

Re: Save moves my cursor

Postby lodestone on Wed Nov 07, 2012 1:26 pm

adzenith wrote:You can disable plugins in your User Settings.


Well, with 143 plugins in my Packages directory I was hoping for a more direct method of diagnosing what is happening in the callbacks for the command. :) For now I've just overridden the command in my User file to execute a save_all which seems to stop the cursor moving nonsense.

Isn't there a way to see the stack of actions executed by a given keystroke?
lodestone
 
Posts: 3
Joined: Thu Apr 05, 2012 2:24 am

Re: Save moves my cursor

Postby adzenith on Wed Nov 07, 2012 9:12 pm

Try typing this into your console:
Code: Select all
import sublime_plugin
sublime_plugin.all_callbacks()['on_pre_save']
sublime_plugin.all_callbacks()['on_post_save']
adzenith
 
Posts: 1213
Joined: Mon Oct 19, 2009 9:12 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 34 guests