-
Notifications
You must be signed in to change notification settings - Fork 30
Add bookmarked class to lines as well #33
Comments
This should have been in atom since day one. If you can add a bookmark, and style the gutter line number section, you should be able to style the line itself. It seems like a basic and common necessity for an editor like Atom, which prides itself of flexibility and customization through a wide array of themes and packages. Yes, we can create a package to "hack it", but we shouldn't have to. The "bookmarked" class on the gutter and not on the line number, just shows someone only thought out the bookmark process half way. Seriously, a few lines and push the update. It would take only a few minutes to add this feature baked into the next Atom release. I CAN NOT BELIEVE that this has been going on for over a year, and it still isn't built into Atom. It is a huge let down. I hate seeing something so easy, simple, and duh should have been there from the beginning, get ignored! This issue has fallen through the cracks, and someone responsible for Atom's updates/code fixes/modifications should add it. |
I want to add, that I manually added the Atom "bookmarks" package via It works just fine, no issues. This looks super simple, and mimics exactly how the bookmarked class is added to the gutter line. I can't fathom how there would be any issues with these few minor lines. This PR #67 should be merged. Until then, you can add the modifications yourself 👍 |
I hacked a stylesheet-based solution that may be able to hold us over:
|
@round This issue is not regarding the gutter. It is about the actual line itself. The CSS classes targeted in your post point to the gutter. Without modifying the Atom bookmark plugin, it is not possible. The line itself is not given any So either:
|
@WadeShuler I hear you – even agree with you. As I mentioned, what I shared is a hack that visually highlights the bookmarked line(s), without having/needing the ability to alter the actual classes of the line. Doesn't solve the issue, but may help folks looking for an interim fix. |
@WadeShuler Any chance you could post a step-by-step on how to implement the changes? I've been trying to get it to work for the better part of this evening but can't figure it out. I'm on Windows 10 if that is important Would REALLY appreciate it!! |
This comment has been minimized.
This comment has been minimized.
Would be great to have. Seems it's standard for most other editors. |
Ok, here is the bad news: The latest release of |
Currently the "bookmarked" CSS class is added to the line number element in the gutter, but it would be very helpful for customizing styles if the class was also added to the code line elements.
You could then change, for example, the background color of bookmarked lines with
in your
styles.less
file.The text was updated successfully, but these errors were encountered: