Giter Site home page Giter Site logo

aakash1312 / ultra-sync Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 36.22 MB

Ultra-Sync synchronizes scrolling of asciidoc, markdown and normal text documents

License: MIT License

CoffeeScript 98.78% CSS 1.22%
synchronize asciidoc markdown scrolling

ultra-sync's Introduction

Ultra-Sync package

Ultra-Sync package synchronizes scrolling of asciidoc and markdown documents. It can also sync normal text files. The two files to be synced should be opened in two different panes. After syncing, the contents of the files will correspond to each other on scrolling.

For ultra-sync package to deliver its best, it is required that documents are well written.

Syncing asciidoc document

ascii-doc

Syncing markdown document

markdown

Syncing normal text document

normal

How to use

In order to use Ultra-Sync, open the documents to be synchronized in two different panes. Now toggle Ultra-Sync by pressing ctrl-alt-e or by using Packages menu in the atom window. Once toggled, documents can synchronized by pressing ctrl-alt-d. Press ctrl-alt-e again to deactivate the package.

Settings

Ultra-Sync allows users to customize their experience. The package uses features like autosync to automatically synchronize scrolling as and when document is edited. Also, it uses interpolation technique to provide smoother scrolling. It uses levenshtein algorithm for strong matching. If strong matching is disabled, then matching of documents can be less accurate. These features however may reduce the processing speed. In such cases, user can disable them.

There are two types of syncing available. Pcapture sync uses different method of node traversal. Hence it can sometimes produce better results.

Installation

Ultra-Sync can be installed from atom packages. apm can also be used:

apm install ultra-sync

ultra-sync's People

Contributors

aakash1312 avatar

Watchers

 avatar  avatar

ultra-sync's Issues

Uncaught TypeError: Cannot read property 'id' of undefined

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.24.1 x64
Electron: 1.6.16
OS: Mac OS X 10.13.3
Thrown From: ultra-sync package 1.3.0

Stack Trace

Uncaught TypeError: Cannot read property 'id' of undefined

At /Users/alexander/.atom/packages/ultra-sync/lib/ultra-sync.coffee:117

TypeError: Cannot read property 'id' of undefined
    at Object.on (/packages/ultra-sync/lib/ultra-sync.coffee:117:30)
    at /packages/ultra-sync/lib/ultra-sync.coffee:50:81)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:388:36)
    at CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:273:23)
    at AtomEnvironment.dispatchApplicationMenuCommand (/Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:1286:25)
    at EventEmitter.outerCallback (/Applications/Atom.app/Contents/Resources/app/src/application-delegate.js:333:31)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands

  2x -2:21 pane:reopen-closed-item (atom-pane.pane.active)
     -2:06.0 command-palette:toggle (atom-pane.pane.active)
     -2:04.8.0 core:confirm (input.hidden-input)
     -2:04.8.0 timecop:view (atom-pane.pane.active)
  2x -1:58.7.0 application:open (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
  2x -1:41.5.0 core:close (input.hidden-input)
     -1:38.2.0 tree-view:toggle (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
     -1:30.2.0 core:close (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
     -0:10.7.0 ultra-sync:toggle (input.hidden-input)
     -0:03.5.0 ultra-sync:on (input.hidden-input)

Non-Core Packages

atom-beautify 0.32.0 
change-case 0.6.5 
color-picker 2.2.5 
file-icons 2.1.17 
pigments 0.40.2 
scroll-sync 0.2.4 
sort-lines 0.18.0 
todo-show 2.2.0 
ultra-sync 1.3.0 
vim-mode-plus 1.30.0 

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.