Home Download Buy Blog Forum Support

loose focus and bookmarks

loose focus and bookmarks

Postby jeanfrancois on Wed Apr 04, 2012 2:46 pm

I am using build 2281 on debian, and I have the following problem when using sublime text 2:

The focus keeps going to the top of the file, when I switch from another application back to ST2, or even when I save...
And if I set bookmarks with ctrl+F2, they are deleted and one bookmark is automatically set at the top of the file.

Does someone know how I can fix this issue ?
Thanks in advance
jeanfrancois
 
Posts: 6
Joined: Wed Apr 04, 2012 2:38 pm

Re: loose focus and bookmarks

Postby tito on Wed Apr 04, 2012 2:58 pm

Maybe you are editing the file with an external application, and then you lose your file properties when switching to sublime text.
Maybe you have bufferscroll installed and are hitting a bug?
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 706
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: loose focus and bookmarks

Postby jeanfrancois on Wed Apr 04, 2012 3:33 pm

The files are not opened with another application, but my working directory is mounted from another server.
I have tried with both bufferscroll installed or uninstalled.
jeanfrancois
 
Posts: 6
Joined: Wed Apr 04, 2012 2:38 pm

Re: loose focus and bookmarks

Postby bizoo on Wed Apr 04, 2012 3:54 pm

When happening, look at the console if you find something like:
Code: Select all
Reloading /D/TOTO/TITI.TXT

It means that ST2 think that the file was modified externally and need to be reloaded.
bizoo
 
Posts: 859
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: loose focus and bookmarks

Postby jeanfrancois on Wed Apr 04, 2012 4:01 pm

yes, that's the case. Each time I select a buffer, the console shows that the file is reloaded.

Is there a workaround for my problem, or will it always happen if I work on a mounted directory ?
jeanfrancois
 
Posts: 6
Joined: Wed Apr 04, 2012 2:38 pm

Re: loose focus and bookmarks

Postby jeanfrancois on Thu Apr 05, 2012 7:43 am

Thank you for helping me understanding the issue. Now I know where it comes from, but I don't know how to fix it!

I have found another thread http://www.sublimetext.com/forum/viewtopic.php?f=2&t=2583 talking about the same problem, and there still doesn't seem to be a solution for it ...

There is also a feature request for this: http://sublimetext.userecho.com/topic/58156-/, where people can vote for it
jeanfrancois
 
Posts: 6
Joined: Wed Apr 04, 2012 2:38 pm


Return to Technical Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 13 guests

cron