Home Download Buy Blog Forum Support

BufferScroll

Re: BufferScroll

Postby xeno.by on Mon Feb 20, 2012 6:41 pm

Here's what I did to fix this very problem: https://github.com/xeno-by/dotsublime/b ... rScroll.py. I'm still not very happy with my changes to tito's original code, but now it rarely does stupid stuff, so I decided to share.
xeno.by
 
Posts: 104
Joined: Mon Jan 30, 2012 10:03 am
Location: Lausanne, Switzerland

Re: BufferScroll

Postby tito on Mon Feb 20, 2012 10:32 pm

When searching for something and clicking on the editable area you're scrolled to the top.


Hi sorry, I noticed the problem in minutes but forget to upload the fixed version :oops:
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 846
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: BufferScroll

Postby S0und on Tue Feb 21, 2012 10:59 am

Since recent updates (i can't give exact date) i'm continuously face with this bug:

PIC

It mostly happens when i open a file that i haven't used for a while.
S0und
 
Posts: 70
Joined: Wed Oct 28, 2009 4:12 pm

Re: BufferScroll

Postby tito on Tue Feb 21, 2012 11:22 am

ahh
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 846
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: BufferScroll

Postby tito on Tue Feb 21, 2012 11:31 am

Fixed. Thanks for reporting.
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 846
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: BufferScroll

Postby outer7 on Thu Feb 23, 2012 6:09 pm

Hi,

have a small issue that you plugin might be able to resolve, relating to bookmarks (which I use a lot) and cloned files (which I use a lot for double views)

Trouble is a cloned file doesn't have the bookmarks in it... and then if you close the original file... yes... you've lost all the bookmarks.

Ideally for me, cloned files would have all the bookmarks too, but possibly due to ST2 standard way of working this is not possible.. any thoughts?

cheers.
outer7
 
Posts: 17
Joined: Wed Feb 15, 2012 9:17 am

Re: BufferScroll

Postby tito on Thu Feb 23, 2012 10:36 pm

This has been fixed.
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 846
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: BufferScroll

Postby tito on Thu Feb 23, 2012 10:52 pm

A problem you may found is that the same file may have different saved data depending on position.

file.txt has 1 bookmark on column 1 position 1
file.txt has 2 bookmarks on column 2 position 1
file.txt has 4 bookmarks con column 1 position 2

When you open file.txt, the package will look into the position to restore the bookmarks.
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 846
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: BufferScroll

Postby outer7 on Fri Feb 24, 2012 3:41 pm

Hey,

thanks, thats much better :)

Is it possibly to make it so that when I put a bookmark in a file, it also appears simultaneously in any cloned file? This would resolve bookmarks getting out of synch in cloned files (and save having to put bookmarks in twice, or close files in the correct order!)
outer7
 
Posts: 17
Joined: Wed Feb 15, 2012 9:17 am

Re: BufferScroll

Postby S0und on Wed Mar 07, 2012 4:57 pm

Hey tito!

Can i have a feature request? Ahh sorry this was too direct, can i give you a hint? ;)

S0und wrote:So my question, is there any way to set a file name specific syntax highlight color scheme?
I have a script that i use for daily work, exp.: workscript.ahk When i adding new features to the script i use a new file like: workscript_beta.ahk. But sometimes i got confused - since the code mostly identical - and sometimes i'm changing the "wrong" file, aka. the normal daily work file. Is that possible to use 2 different color scheme for each file?


jbjornson wrote:On a given view, you can set the color_scheme setting for a specific file, but it won't be remembered if you close it and open it again. Maybe you could save this as a plugin and make sure you execute it each time you open your productive file...
Code: Select all
view.settings().set('color_scheme', 'Packages/Color Scheme - Default/Solarized (Dark).tmTheme')


So can you save the color scheme for each opened file? + an option to turn this feature on and off, which is off by default.
S0und
 
Posts: 70
Joined: Wed Oct 28, 2009 4:12 pm

PreviousNext

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 9 guests