question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FR: Add Unhighlight Command

See original GitHub issue

Unhighlight should be a command so that it can be bound to a cMenu button. Or better yet, add logic into generateCommands() to check the highlighted text, and if it starts with <mark> then the action should be unhighlight rather than a second highlight wrapper. This way you can toggle the highlight with a single button.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
nothingislostcommented, Oct 15, 2021

NIce! 👍 Also, I just noticed this issue is totally a dupe of #4… oops. Not sure how I missed that 😃

0reactions
chetachiezikeuzorcommented, Oct 15, 2021

Okay, I think I’ve got it. It will find if prefix ends with >, suffix is </mark>, and that you have selected text. Then, it will remove the highlight.

https://user-images.githubusercontent.com/79069364/137419277-867e6af3-a1c4-46e7-86ee-760dd352053d.mp4

Read more comments on GitHub >

github_iconTop Results From Across the Web

Shortcut to highlight text and remove highlighting ... - YouTube
Shortcut to highlight text and remove highlighting from the text in Microsoft Word. ... How to Add Text to Values in Excel -...
Read more >
Apply or remove highlighting - Microsoft Support
Add or remove highlighting on text and images in a document using the Highlight tool.
Read more >
Highlighting Text Using the Keyboard Only - Microsoft Word Tips
Press the shortcut key you want to use for highlighting. For instance, you might want to press Alt+H. Click Assign. This assigns the...
Read more >
highlight documentation - andre-simon.de
Highlight converts sourcecode to HTML, XHTML, RTF, LaTeX, TeX, SVG, BBCode and terminal escape sequences with coloured syntax highlighting. Language definitions ...
Read more >
Add a highlight effect to text in Pages on Mac - Apple Support
In Pages on your Mac, highlight text by adding a background color behind it.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found