Giter VIP home page Giter VIP logo

atom-mark's Introduction

Unmaintained

This package is unmaintained. If you want to take over maintainance, please open an probleem and I'll try to transfer the repository to you soon.

mark package

Original package by @mkleehammer

Provides a single "mark" per editor with the ability select the text from the mark to the cursor and to go to the mark, similar to marks in other editors.

To toggle the mark at the current position (not just line, but column), use Mark:Toggle. The mark appears as a push-pin in the gutter.

To select all text between the cursor and the mark, use Mark:Select To Mark.

The mark can be cleared by toggling the mark at the same position, but Mark:Clear Mark can be used to clear it from anywhere.

Finally, you can jump to the mark using Mark:Goto Mark.

Keybindings for all commands:

Mac OS X:

  • cmd-k cmd-k : mark:toggle
  • cmd-k cmd-a : mark:select-to-mark
  • cmd-k cmd-g : mark:clear-mark
  • cmd-k space : mark:goto-mark

Linux/Windows

  • ctrl-k ctrl-k : mark:toggle
  • ctrl-k ctrl-a : mark:select-to-mark
  • ctrl-k ctrl-g : mark:clear-mark
  • ctrl-k space : mark:goto-mark

atom-mark's People

Contributors

mkleehammer avatar olmokramer avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

atom-mark's Issues

Deprecated selector in `mark/styles/mark.less`

In mark/styles/mark.less:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

  • atom-text-editor::shadow .gutter .line-number.marked .icon-right => atom-text-editor.editor .gutter .line-number.marked .icon-right

  • atom-text-editor::shadow .gutter .line-number.marked .icon-right:before => atom-text-editor.editor .gutter .line-number.marked .icon-right:before

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

push-pin icon disappear

When I mark:swap to a pinned-line that is not shown in a current view,
its icon disappears.
However it works perfectly, except the icon disappearance.

Atom 1.0.0, mark 1.3.3, Windows8.

Deprecated selector in `mark\styles\mark.less`

In mark\styles\mark.less:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

  • atom-text-editor::shadow .gutter .line-number.marked .icon-right => atom-text-editor.editor .gutter .line-number.marked .icon-right

  • atom-text-editor::shadow .gutter .line-number.marked .icon-right:before => atom-text-editor.editor .gutter .line-number.marked .icon-right:before

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

Maintenance volunteer

Let me know if you want to transfer atom-mark to me. I haven't developed Atom plug-ins before, but I would be happy to test and merge PRs, and that seems like all that would really be required given the modest scope of this package.

Command name spelling: go-to-mark

So my keybinding wasn't working because I had "go-to-mark" instead of "goto-mark". The latter is correct but it's inconsistent with "select-to-mark". I'd suggest making "go-to-mark" the official command but aliasing it as "goto-mark" for backward compatibility.

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.