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

CSS ::selection custom color on list numbers & bullets in webkit browsers?

I'm using a custom highlight color on my site with the CSS ::selection rule, but noticed that in Webkit browsers the selection color doesn't exactly work on everything. Here's a fiddle showing what I mean, using a numbered list as an example:…
R.J.
  • 618
  • 2
  • 11
  • 26
11
votes
2 answers

Highlight All Words that is searched via EditText

Hello I want to know how to highlight all Words that is inputted in the EditText and will appear in the TextView this post is related to this one Highlight Textview Using EditText
Mordiggian
  • 265
  • 1
  • 3
  • 11
10
votes
3 answers

Highlight text inside html with jQuery

I am looking to do something similar to this plugin http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html But the problem I am facing is that the above plugin does not allow you to highlight…
Mike
  • 12,359
  • 17
  • 65
  • 86
10
votes
1 answer

How to highlight a part of code block in markdown

I want to highlight a part of a code block that is written in markdown using triple backticks (```). Here is an image of what I want. code block with highlighting-imgur I want to replicate how we highlight a sentence in a book with a…
Alekh Kumar
  • 101
  • 1
  • 3
10
votes
2 answers

Highlight // TODO in XCode

XCode 4 recognizes comments like // TODO: comment or // FIXME: comment and displays it in the Class overview drop-down. Is there the possibility to highlight // TODO with a bright color in the source code, so one can quickly find open TODOs?
hgbnerd
  • 1,090
  • 1
  • 10
  • 11
10
votes
7 answers

ListView stay selected?

I have a list view full of items, after the users selects an item it lights up, and then it goes back to normal. Is there a way to make it so that when the user selects an item in my ListView it stays selected, and highlighted?
aryaxt
  • 76,198
  • 92
  • 293
  • 442
10
votes
1 answer

Different background color in Emacs after 80 columns?

In Emacs, how to set a different background color after 80 columns? So that if the window is wider than 80 columns, all the columns after 80 would have a different background color.
Sampo Smolander
  • 1,605
  • 2
  • 15
  • 33
10
votes
1 answer

very slow highlight performance in lucene

Lucene (4.6) highlighter has very slow performance, when a frequent term is searched. Search is fast (100ms), but highlight may take more than an hour(!). Details: great text corpus was used (1.5GB plain text). Performance doesn't depend if text is…
steve
  • 615
  • 6
  • 14
10
votes
3 answers

C# ListView Detail, Highlight a single cell

I'm using a ListView in C# to make a grid. I would like to find out a way to be able to highlight a specific cell, programatically. I only need to highlight one cell. I've experimented with Owner Drawn subitems, but using the below code, I get…
Mike Christiansen
  • 1,104
  • 2
  • 13
  • 30
9
votes
1 answer

Org-mode table cells fontification

Is there some way to make org-table cells appear in different face than 'org-table face without putting any marks, tokens etc into cells? For example I would like to see foo, bar, 1 and 2 appear in different face than |'s and -'s without altering…
sergv
  • 398
  • 2
  • 7
9
votes
5 answers

Customize right click highlight on view-based NSTableView

I have a view-based NSTableView with a custom NSTableCellView and a custom NSTableRowView. I customized both of those classes because I want to change the appearance of each row. By implementing the [NSTableRowView draw...] methods I can change the…
Alex
  • 5,009
  • 3
  • 39
  • 73
9
votes
1 answer

How to display a large preview of (my own) flash player in the new timeline?

I got my own flash player on my website, and share my video on Facebook using the Open Graph Meta Tags. How to display a large preview of my video when the post is highlighted like Youtube Video? Exemple:…
9
votes
1 answer

Aptana Studio 3 - variable highlighting enable

All, Somehow, I have managed to disable 'variable/ element highlighting' in Aptana Studio 3. Online search brought up someone's advice to enable 'Highlight current line option in the General > Editors > Text Editors section of the Preferences…
Kayote
  • 14,579
  • 25
  • 85
  • 144
9
votes
4 answers

Ruby on Rails highlight current link on navigation bar?

Can anyone tell me how to highlight (with color) the current link on a navigation bar, using css? I don't want to use the controller option. Here is the code from shared/menu.html.erb:
blawzoo
  • 2,465
  • 4
  • 19
  • 24
9
votes
4 answers

Is there a way to highlight the currently active code block in Visual Studio 2010?

In Visual Studio 2010, if you hover your mouse over the little [-] minus sign, it will highlight that block of code for you. My question is, is there a way for this block to always be highlighted while you are coding inside of it? That way, as I'm…
Cypher
  • 2,608
  • 5
  • 27
  • 41