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
9
votes
2 answers

accent insensitive regex

My code: jQuery.fn.extend({ highlight: function(search){ var regex = new RegExp('(<[^>]*>)|('+ search.replace(/[.+]i/,"$0") +')','ig'); return this.html(this.html().replace(regex, function(a, b, c){ return (a.charAt(0) == '<') ? a :…
Regexme
  • 95
  • 2
  • 4
9
votes
2 answers

Xcode 6 - Syntax highlight / completion not working

After one day my code loses its highlight / completion again in xCode 6. As always, I tried to Organizer > Projects > and Delete Derived Data. Which did not work in Xcode 6, even after it finish to index everything. I tried to uninstall and install…
PizzaByte
  • 131
  • 1
  • 6
9
votes
2 answers

XXX in C++ comments

In vim, whenever I add a comment like this int somevar = 100; //XXX Some Comment Here The "XXX" part of my comment gets automatically highlighted. "TODO" in a comment also gets highlighted similarly. I've used these myself quite widely to mark…
DigitalEye
  • 1,456
  • 3
  • 17
  • 26
9
votes
1 answer

d3js force directed - On hover to node, highlight/colourup linked nodes and links?

I have force directed graph with 4 types of nodes and two types of links. One type of node (the small blue one) I'm using as "connection node" between two bigger nodes. on mouseover node, it gets bigger, but also I wanna colour up "connections" to…
dzordz
  • 2,277
  • 13
  • 51
  • 74
9
votes
3 answers

Removing WPF ListView/GridView highlight chrome

I have WPF ListView with GridView view and I want to remove any trace of row highlight. This useful piece of code can be found in one answer on this site: