Code Monkey home page Code Monkey logo

atom-scroll-percentage's People

Contributors

chalkpe avatar damassi avatar jackwilsdon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ithil chalkpe syuilo

atom-scroll-percentage's Issues

Scroll indicator isn't updated when navigating with vim-mode

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.

TextEditor.onDidChangeScrollTop is deprecated.

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)

TextEditor.getHeight is deprecated.

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)

TextEditor.getScrollHeight is deprecated.

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)

Positioning on Install

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.

Negative %

Sometimes, if toggling between multiple tabs, the scroll % randomly drops below zero. Make sure to lock it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.