Skip to content

HoffiMuc/highlight-selected

 
 

Repository files navigation

Highlight Multiple Selected

Double click on one or more words to highlight them throughout the open file.

This is a fork of highlight selected. This is a group project for CSCI 2963 Introduction to Open Source.

Group members:

Some code and has been taken from Atom's find and replace package

Please log any issues and pull requests are more than welcome!

Multiple Colors!

Gif in action

Status Bar!

Gif in action

Change the following CSS in your StyleSheet to change the colours to suit your theme. Either set the light theme check box in settings to be able to toggle between styles or just overwrite the default box/background.

atom-text-editor, atom-text-editor::shadow {
  // Box
  .highlights .highlight-selected .region {
    border-color: #ddd;
  }
  // Background
  .highlights .highlight-selected.background .region {
    background-color: rgba(155, 149, 0, 0.6);
  }
  // Light theme box (set in settings)
  .highlights .highlight-selected.light-theme .region {
    border-color: rgba(255, 128, 64, 0.4);
  }
  // Light theme background (set in settings)
  .highlights .highlight-selected.light-theme.background .region {
    background-color: rgba(255, 128, 64, 0.2);
  }
}

Issues and Todo

  • Should we highlight symbols?

About

Highlights the current word selected when double clicking

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • CoffeeScript 88.8%
  • CSS 8.3%
  • Ruby 2.9%