damassi / atom-scroll-percentage Goto Github PK
View Code? Open in Web Editor NEWA tiny status bar package that tracks your current scroll percentage in the window, similar to Vim
License: MIT License
A tiny status bar package that tracks your current scroll percentage in the window, similar to Vim
License: MIT License
Steps to reproduce:
With the vim-mode package installed
Open a file and scroll it using the "j" or "k" keys
Then the scroll indicator isn't updated
On the other hand, if I scroll using the trackpad then the scroll indicator will update as expected.
This is now a view method. Call TextEditorElement::onDidChangeScrollTop instead.
TextEditor.onDidChangeScrollTop (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:707:12)
<unknown> (/Users/bkhour/.atom/packages/scroll-percentage/lib/scroll-percentage.coffee:28:27)
Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/pane-container.js:348:27)
Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
This is now a view method. Call TextEditorElement::getScrollHeight instead.
TextEditor.getScrollHeight (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:3553:12)
<unknown> (/Users/bkhour/.atom/packages/scroll-percentage/lib/scroll-percentage.coffee:30:37)
Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:105:46)
Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
This is now a view method. Call TextEditorElement::getHeight instead.
TextEditor.getHeight (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:3406:12)
<unknown> (/Users/xunzhao/.atom/packages/scroll-percentage/lib/scroll-percentage.coffee:31:39)
Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:105:46)
Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
When you first install the package there are some layout issues that require a refresh or a restart. Need to find a way to ensure that the package is positioned within a postInstall callback.
Sometimes, if toggling between multiple tabs, the scroll % randomly drops below zero. Make sure to lock it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.