Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable line-number selection in HTMLLineTable #1276

Merged

Conversation

ashmaroli
Copy link
Contributor

Resolves #1274
/cc @jneen

@pyrmont pyrmont added the needs-review The PR needs to be reviewed label Jul 24, 2019
@ashmaroli
Copy link
Contributor Author

ashmaroli commented Jul 25, 2019

@pyrmont Should I add a config option to toggle the inline-css insertion..?
Ref: #1274 (comment)

@pyrmont
Copy link
Contributor

pyrmont commented Jul 25, 2019

No, I don't think so. As noted in #1275, while I think this is technically a breaking change, substantively it doesn't remove functionality that I think anyone is really going to want. Your proposed solution is fine. Sometimes I'm just too much of a pedant for my own good, that's all :P

@pyrmont
Copy link
Contributor

pyrmont commented Jul 28, 2019

I note that this doesn't stop selection of text in Safari; see this five-year-old bug (five!). Personally, I'm happy to merge this. All other browsers handle this in the correct way; this is Safari's fault.

@pyrmont pyrmont merged commit 6b59944 into rouge-ruby:master Jul 28, 2019
@pyrmont pyrmont removed the needs-review The PR needs to be reviewed label Jul 28, 2019
@ashmaroli ashmaroli deleted the disable-line-table-lineno-selection branch August 5, 2019 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New table lexer does not allow for selection of code
2 participants