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
26
votes
13 answers

highlight the navigation menu for the current page

In a page with some navigation links,I want the link of the current page are hightlighted,just like this: The link "HTML Attributes" is highlighted(bolded) since this link will take one to the current page. I know this can be implemented…
hguser
  • 35,079
  • 54
  • 159
  • 293
26
votes
9 answers

UITextView with clickable links but no text highlighting

I have a UITextView displaying non-editable text. I want the text to automatically parse links, phone numbers, etc for the user, and for those to be clickable. I don't want the user to be able to highlight text, though, because I want to override…
Trespassers W
  • 379
  • 1
  • 5
  • 14
26
votes
8 answers

How can I disable highlighting in html or JS?

I need to disable the highlighting of selected text on my web app. I have a good reason for doing this and know that this is generally a bad idea. But I need to do it anyway. It doesn't matter if I need to use CSS or JS to do it. What I'm mainly…
John Stimac
  • 5,335
  • 8
  • 40
  • 60
24
votes
3 answers

What are the RGB values of the default accent colors in Windows Phone 7?

I am making icons for some Win Phone 7 apps and want to use some solid colors the way all the other apps do. Where can I find a reference for these colors?
Frank Krueger
  • 69,552
  • 46
  • 163
  • 208
23
votes
13 answers

How to toggle Vim's search highlight visibility without disabling it

What I'd like is to map one key, e.g. F4, so that pressing F4 will toggle the visibility of search highlights, and so that starting a new search enables visibility no matter the current visibility. What I've tried: Mapping F4 to :nohlsearch…
Ein
  • 1,553
  • 3
  • 15
  • 22
23
votes
1 answer

Highlight part of the code in a Jupyter cell

Is there a way to highlight certain lines of a Jupyter cell? Something similar to the following image (I created that with a photo editor): I don't mean a selection with the cursor, but something permanent. This would be useful for presentations…
multigoodverse
  • 7,638
  • 19
  • 64
  • 106
23
votes
1 answer

Highlight Matching Brace In Visual Studio

In Notepad++ for example when your cursor is next to a brace it will highlight the corresponding opening or closing brace on screen. Check out the link below for a example as to what I…
Pie
  • 856
  • 4
  • 12
  • 33
23
votes
7 answers

Highlight dates in specific range with jQuery's datepicker

I need to highlight the dates between a start date and an end date, which I should be able to specify. Can anyone help me?
user286928
23
votes
6 answers

remove annoying highlighting Netbeans 7.2 C++

Anytime I write a variable's name I get this annoying IDK green or yellow highlight . What is it ? how to get rid of it? Image here:
Nash Vail
  • 848
  • 2
  • 11
  • 27
22
votes
3 answers

coloring cells in excel with pandas

I need some help here. So i have something like this import pandas as pd path = '/Users/arronteb/Desktop/excel/ejemplo.xlsx' xlsx = pd.ExcelFile(path) df = pd.read_excel(xlsx,'Sheet1') df['is_duplicated'] = df.duplicated('#CSR') df_nodup =…
21
votes
4 answers

Highlight.js in textarea

So i have been struggeling to use highlight.js in a text area since obviously this doesn't work: Hello World
20
votes
3 answers

TiddlyWiki5 and highlight.js - How to change style / theme of syntax highlighting?

I am using TiddlyWiki version 5.1.13. I have added the highlight plugin (version 5.1.13) which uses highlight.js (version 8.8.0). In a tiddler I successfully highlight XML like this: ```xml ``` How can I…
Dennis
  • 646
  • 2
  • 6
  • 19
19
votes
11 answers

WPF TextBlock highlight certain parts based on search condition

I have TextBlock that has Inlines dynamicly added to it (basically bunch of Run objects that are either italic or bold). In my application I have search function. I want to be able to highlight TextBlock's text that is in being searched for. By…
Daniil Harik
  • 4,619
  • 10
  • 55
  • 60
19
votes
3 answers

Prevent accidental select/drag highlight

I have a drawing application using html5 canvas. When the user is drawing and pen slips out of the canvas area, chrome highlights html elements on the page in light blue or yellow. This is disruptive to the drawing experience. Is there a way to…
Homan
  • 25,618
  • 22
  • 70
  • 107
19
votes
3 answers

Full text search in HTML ignoring tags / &

I've recently seen a lot of libraries for searching and highlighting terms within an HTML page. However, every library I saw has the same problem, they can't find text partly encased in an html tag and/or they'd fail at finding special characters…
Bruno
  • 479
  • 1
  • 8
  • 15