ultra-sync

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

Aakash Praliya

565

0

1.3.0

MIT

GitHub

This package consumes the following services:

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