Sublime Forum

BufferScroll

#81

From viewtopic.php?f=3&t=17110&p=67114&hilit=bufferscroll#p67114

Basically all I'm hunting for in such a plugin is a fixed scroll point that is 1/4th to 1/3rd the way up the screen, without taking any of the usual functionality away, especially not something that gets used all the time, such as setting the insertion point via mouse click.
I just added option in BufferScroll to shift from the “centred” line by any amount, positive or negative number of lines. So you can keep the scroll point anywhere

0 Likes

#82

EDIT: Nevermind, the author fixed this in a matter of minutes!

Hi, bug report here.

It seems that along with the wanted properties the current set syntax is also saved. This means that setting a new default syntax for a given extension will not work, since the new defualt will be immediately overwritten with the one saved by your plugin.

Steps to reproduce:

  • Open a file
  • View > Syntax > Open all with current extension as…
  • Select the desired new default syntax
  • Open a different file with the same extension

The file will be opened with the previous syntax and not the new default one. You may also notice in the bottom right hand corner a brief change in the selected syntax when the plugin overrides your choice. If you disable the plugin and repeat the steps everything will work as expected, proving the issue.

Workarounds:

  • Disable the plugin
  • Manually set the new default syntax for every file
0 Likes

#83

Guys, has anyone got a problem like me that on sublime text 3 the buffer scroll doesnt remember folds? It just resets them after a few seconds, or when a file is saved. What is wrong?

0 Likes

#84

must be some preprocessor or something like that. also if a file is reloaded the editor does not send the on_reload event

0 Likes

#85

Where does BufferScroll keep its state? I’d like to keep that shared between my different computers.

1 Like

#86

BufferScroll use the file path of the file as key to keep the state and that is highly unlikely the same on different computers. Thats why is not saved on the packages folder.

In any case the path is Packages/…/Settings/BufferScroll.bin.gz

0 Likes

#87

Thanks, I’m already syncing path = Library/Application Support/Sublime Text 3/Settings/ but this will help be diagnose what happens when it’s not synced.

0 Likes

#88

How come this isn’t in package control anymore?

0 Likes

#89

I too wonder why BufferScroll isn’t in Package Control… related to that, all of titoBouzout packages are removed from Package Control…

0 Likes

#90

Tito removed his packages because he refused to use SemVer. SideBarEnhancements was added back under a different organization name because it was his most popular. It’s suspected at that point some code was injected to track users. See Wbond’s comments in this Hacker News thread: https://news.ycombinator.com/item?id=14902630

1 Like

#91

So How can I install manually the package?

I’ve windows 7.

I’m looking at: https://packagecontrol.io/packages/BufferScroll

the package should be in the package control official repository, but my sublime text 3 doesn’t show it

0 Likes

#92

No, it should not. The author specifically removed it from Package Control. We will respect the author’s wishes in this regard.

The only method of install that the author supports is described at https://github.com/titoBouzout/BufferScroll#installation.

If you want to, you can use the Package Control: Add Repository command and paste https://github.com/titoBouzout/BufferScroll/tree/st3 to install whatever happens to be in the st3 branch.

4 Likes

#93

Thanks. All is right. And I agree with the decision of the author.

I tried to add the repository, but without /trre/st3 and simply nothing happened.

Now I finally found BufferScroll.

0 Likes

#94

I’m not aware of the backstory, but I looked at the thread and am confused: is BufferScroll spying on users? I installed it manually, but maybe I shouldn’t? (It’s the only way I’ve found to get persistent bookmarks.)

0 Likes

#95

No, its maintainer added data gathering code in another package on behalf of Kite. That code has since been removed and no other packages in Package Control are known to have any such “features” (excepting cases where it’s explicitly stated and central to the package’s features). BufferScroll is safe too. It is not featured on Package Control because Tito has pretty strong opinions about semver (of all things…). So, yeah, the guy makes peculiar choices. You can always just fork and install manually if you don’t trust it.

2 Likes

#96

could not find in the package control now in ST3, what happend?
:frowning:

0 Likes

#97

Read the post above yours. If you want to use this package I suggest manually installing it.

0 Likes

#98

Hi,

I’m trying to use the typewriter scrolling functionality, to no avail.

I adjusted the Settings/User as follows:

/* The line you work with is automatically the vertical center of the screen. */
“typewriter_scrolling”: true,

What do I have to do to make typewriter scrolling effective? In the ReadMe.md it sounds like it would work by default.

:thinking:

0 Likes

#99

Sorry, a bit stretching the focus of this thread:

What I’m really want to achieve is typewriter scrolling behaviour (cursor always at the center of the screen) without using ST’s „Distraction Free Mode“ since this comes (on macOS) with putting ST’s window in a separate space, triggering too much animations when switching between source and PDF (when writing LaTeX).

Thanks for any hint.

0 Likes

#100

The gift that keeps on giving 13 !!! years on. This is one of the first packages I install for any ST on new computer, etc… It suits the way I want scrolling to work perfectly. Dunno if you’ll get noticed of this post, but much thanks to you and the other devs who contributed.

1 Like