Giter Club home page Giter Club logo

typewriter-scroll's Introduction

typewriter-scroll

Typewriter scroll keeps the cursor in the middle of the buffer as you type, imitating the typewriter.

Usage

Toggle the typewriter mode with ctrl+alt+t. "Scroll past end" option must be enabled in the settings for this to work.

Credits

The code is heavily based on Zen by Chris Wanstrath.

typewriter-scroll's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

omegak

typewriter-scroll's Issues

Uncaught TypeError: Cannot read property 'onDidChangeCursorPosition' of undefined

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.19.2 x64
Electron: 1.6.9
OS: Mac OS X 10.12.6
Thrown From: typewriter-scroll package 1.0.0

Stack Trace

Uncaught TypeError: Cannot read property 'onDidChangeCursorPosition' of undefined

At /Users/sciman/.atom/packages/typewriter-scroll/lib/typewriter-scroll.coffee:24

TypeError: Cannot read property 'onDidChangeCursorPosition' of undefined
    at Object.toggle (/packages/typewriter-scroll/lib/typewriter-scroll.coffee:24:28)
    at /packages/typewriter-scroll/lib/typewriter-scroll.coffee:9:92)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:265:35)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:65)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:166:25)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:1338:34)
    at EventEmitter.outerCallback (/Applications/Atom.app/Contents/Resources/app/src/application-delegate.js:334:31)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands

     -1:25.8.0 print-atom:print (div.tool-panel.tree-view)
     -0:50.4.0 styleguide:show (div.tool-panel.tree-view)
     -0:29.2.0 typewriter-scroll:toggle (div.tool-panel.tree-view)

Non-Core Packages

auto-update-packages 1.0.1 
custom-folds 1.9.4 
markdown-preview-plus 2.4.10 
markdown-writer 2.6.5 
open-in 4.0.0 
pain-split 1.4.0 
pandoc 0.2.2 
pandoc-convert 1.1.1 
print-atom 0.1.1 
red-wavy-underline 0.3.3 
save-session 0.15.7 
tablr 1.8.3 
typewriter 0.7.0 
typewriter-scroll 1.0.0 
Zen 0.18.0 

TextEditor.setScrollTop is deprecated.

This is now a view method. Call TextEditorElement::setScrollTop instead.

TextEditor.setScrollTop (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:3494:12)
<unknown> (/Users/wangyu/.atom/packages/typewriter-scroll/lib/typewriter-scroll.coffee:37:25)
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)
TextEditor.cursorMoved (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:2103:27)
Selection.markerDidChange (/Applications/Atom.app/Contents/Resources/app.asar/src/selection.js:921:21)

A Deprecated call show in my Atom.

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.