This package provides the following services:
This package consumes the following services:
scroll-map
Show markers on the scroll bar of text-editor. The build-in layer are designed to create markers of cursors position, find-and-replace results and navigation-panel headers. The style of the markers is adjusted for one-light and one-dark themes. Markers work like hyperlinks.
Installation
To install scroll-map
search for scroll-map in the Install pane of the Pulsar settings or run ppm install scroll-map
. Alternatively, you can run ppm install bacadra/pulsar-scroll-map
to install a package directly from the Github repository.
Customize the appearance
Markers can be customized to meet the user's needs. The customization file styles.less
can be opened by menu bar File/Stylesheet...
or by command application:open-your-stylesheet
.
-
e.g. change color of cursors markers:
.scroll-map .scroll-item.cursor-layer { background-color: red; }
-
e.g. change color of find-and-replace markers:
.scroll-map .scroll-item.find-layer { background-color: red; }
-
e.g. change height of markers:
.scroll-map .scroll-item { height: 5px !important; }
-
e.g. change width of markers and margin:
.scroll-map { width: 10px; right: 0px; }
API Documentation
The chapter is under development.
Contributing
Got ideas to make this package better, found a bug, or want to help add new features? Just drop your thoughts on GitHub — any feedback’s welcome!