Pulsar-Edit-Highlights / line

@Pulsar-Edit package for highlighting the currently selected line.
https://web.pulsar-edit.dev/packages/highlight-line
MIT License
52 stars 16 forks source link

Can't turn off the line highlighting #74

Closed bobrocke closed 8 years ago

bobrocke commented 9 years ago

I'd like the line number in the gutter to be highlighted, but not the text of the line itself.

I tried this, but it had no effect:

atom-text-editor::shadow {
  // The cursor line important to use rgba for opacity, also requires !important
  // to override any theme.
  .line.highlight-line {
    background: none !important;
  }
}

What did I miss?

richrace commented 8 years ago

This package doesn't actually highlight the gutter.

bobrocke commented 8 years ago

So, highlight-line doesn't highlight lines? Do you know what does?

richrace commented 8 years ago

It does highlight lines; but not the gutter. This package only deals with the line part in the picture below; and does nothing with the gutter.

gutter-line

bobrocke commented 8 years ago

Good! So why doesn't the example code turn off line highlighting?

richrace commented 8 years ago

It does (well the code in the screenshot uncommented).

But your theme might have styling on .cursor-line which gives a primitive highlight line. (Out at the moment and can't remember the exact class).

On 15 Nov 2015, at 12:37, Bob Rockefeller notifications@github.com wrote:

Good! So why doesn't the example code turn off line highlighting?

— Reply to this email directly or view it on GitHub.

bobrocke commented 8 years ago

OK! I see where it is. Thanks for the clue.