Questions tagged [highlight]

is for questions involving the highlighting of text or other visual elements.

Highlighting is usually a color-background change that emphasizes text, but it could be other ways of emphasizing any visual element.

2914 questions
41
votes
3 answers

Is there a way to leave the Okular highlighting tool on permanently?

I found out I can highlight pdfs with okular in-file by the review tool, but everytime I use the highlighter, it gets turned off afterwards again, so to highlight the next piece of text I have to activate it again. I would like to change this…
TNT
  • 2,431
  • 1
  • 19
  • 26
41
votes
10 answers

HTML table highlight row on hover except first row (header)

All, I have an ASP.NET GridView that is rendered to an HTML table.
Col 1 HeadCol 2 Head
Data 1Data 2
Data 3Data 4
I want to highlight the…
Andez
  • 5,588
  • 20
  • 75
  • 116
37
votes
12 answers

Highlight ListView selected row

I have a list of albums (several hundred). When I touch the selected album I want to offer the user a choice of playing the whole album, or moving to its track ListView. No problem. However, after touching the ablum in albumListView I want the row…
user611089
35
votes
7 answers

Highlight on clickablespan click

I've got little problem, i need to remove or customize this orange highlight during clicking on clickablespan. This is my class extending ClickableSpan public class InternalClickableSpan extends ClickableSpan { private String clicked; …
Robert
  • 351
  • 1
  • 3
  • 3
35
votes
4 answers

AutocompleteTextView: on "NEXT" highlight next TextView, on "DONE", make keyboard disappear

I have two AutocompleTextViews and I want to switch to the next if the user presses "NEXT", and make the virtual keyboard disappear when he hits "DONE" at the second AutocompleTextView. So far, the buttons "NEXT"/"DONE" do nothing at all....…
MJB
  • 3,934
  • 10
  • 48
  • 72
33
votes
10 answers

Highlight active row/column in Excel without using VBA?

What I want to achieve is to highlight active row or column. I used VBA solutions but everytime Selection_change event is used I am loosing chance to undo any changes in my worksheet. Is there a way to somehow highlight active row / column without…
lowak
  • 1,254
  • 2
  • 18
  • 38
32
votes
3 answers

Mobile Web - Disable long-touch/taphold text selection

I've seen/heard all about disabling text selection with the variations of user-select, but none of those are working for the problem I'm having. On Android (and I presume on iPhone), if you tap-and-hold on text, it highlights it and brings up little…
Brad Orego
  • 2,976
  • 3
  • 18
  • 24
30
votes
3 answers

How does `#:~:text=` in URL works to highlight text?

TL;DR How/why are some browsers able to search and highlight text in the HTML body which is followed by #:~:text= in the URL? Explanation One day I was searching for something on Google, which lead me to Quora's result. I observed that 2 sentences…
BhaveshDiwan
  • 669
  • 10
  • 22
30
votes
2 answers

How to ensure two words stay on the same line?

I am making a person website for myself. In my short bio, I have a few words (or groups of words) that are highlighted. In some of my testing, I have noticed that sometimes two words get split, so the highlighting effect looks like crap. Here's a…
Adam Bowker
  • 303
  • 1
  • 3
  • 4
29
votes
3 answers

VS code - highlight selected word in minimap

Just shifted to VS code from Atom (nostalgia :P). I'm looking for a way to highlight selected word in minimap. Any idea how to get this for VS code?
GorvGoyl
  • 42,508
  • 29
  • 229
  • 225
29
votes
6 answers

Pen highlighter effect in css

I want to create a highlight effect that resembles a highlight made with a pen. i.e. it has wavy tops and bottoms and a rough start and end, like in this picture. What's the best way to do this in CSS? Is there a way to do it without using…
chrisb
  • 937
  • 1
  • 10
  • 22
28
votes
8 answers

javascript user selection highlighting

I'm trying to find a way with javascript to highlight the text the user selects when they click some odd highlight button (as in highlighted text). It only has to work with either WebKit or Firefox, but…
foobar
  • 779
  • 3
  • 10
  • 18
28
votes
3 answers

Keep parent menu item highlighted after hovering over submenu (HTML/CSS/Jquery)

I have a menu with the possibility that some menu items will have subitems. Pretty simple, actually. I would like to achieve that once the submenu is moused over, the corresponding (parent) menu item is highlighted as well. This never happens…
Fygo
  • 4,555
  • 6
  • 33
  • 47
27
votes
7 answers

JQuery search in static HTML page with highlighting of found word

I've been trying to make a simple search inside a static HTML page using JQuery. I have to mention that this is just my first time working with JQuery. I'm trying to change the background of the found word in the page and this is what I've tried so…
Radu Gheorghiu
  • 20,049
  • 16
  • 72
  • 107
26
votes
4 answers

regex street address match

While I know that matching a street address will never be perfect I'm looking to create a couple of regex statements that will get close most of the time. I'm trying to highlight an address. I sucks at regex and I've tried to get close but could…
isuelt
  • 333
  • 1
  • 4
  • 10