Questions tagged [highlighting]

A means of attracting attention by means of a visual prompt.

Usually means the application of a coloured background (often yellow) to text or numbers that would otherwise be on a white background and be in the context of other text or numbers on a white background. However applies also to fonts or font colours, variations of which may be used for example to differentiate functions from variables in source code, or the speech of one person from another when written.

179 questions
55
votes
3 answers

Pipe to less but keep the highlighting

Is it possible to pipe output (e.g. dmesg) to a command like less (or equivalent) and keep the text highlighting used by the original command? example: on the left dmesg | less on the right dmesg
apoc
  • 763
55
votes
3 answers

Permanently highlight all occurrences of text in Notepad++?

In Notepad++, when I select (eg. double-click) a "word", it gets highlighted. It needs to be separated with a non-alpha character from the rest of the text. The highlight remains until the text is selected. Is there a way to make this highlight…
n611x007
  • 6,566
  • 15
  • 67
  • 91
28
votes
4 answers

Notepad++: Rule based line highlighting

Is there a way to automatically highlight lines based on predefined rules in Notepad++? I'm not talking about syntax highlighting, but rather about log files readability. I'm looking either for a feature I've missed, or a plugin.
Jonathan
  • 3,839
28
votes
3 answers

How can I highlight all the occurrences of the selected text in Notepad++?

I know that I can double click a word and Notepad++ will highlight all instances of that word within the document. My question is not about this. Does anyone know of a plug-in or setting which will allow me to select as many characters as I please…
MonkeyZeus
  • 9,841
22
votes
4 answers

Tool to highlight and annotate text on websites?

When I read something I need to underscore what I like, or what I think is important, and to take notices about that read, near on that current paragraph. So, does anyone know a Firefox add-on or something else (another browser, any other…
dole doug
  • 1,703
20
votes
1 answer

Custom gedit Syntax Highlighting for Dummies?

I want to make (have, actually) a custom syntax highlighting for gedit. There would be just a few different items: A line that begins with 2 tabs. ----- One color. A line that begins with 3 tabs. ----- Another color. A line that begins with 4 tabs.…
YAS
  • 750
17
votes
6 answers

Highlighting a search term without moving the cursor

Using Vim, I sometimes find myself staring at a section of source code for a while and suddenly want some variable on the screen to pop out. That's easy: / which highlights them all. My issue is that it more often than not the search shifts my…
Andrew Wood
  • 1,309
17
votes
3 answers

Setting up multiple highlight rules in vim

I am trying to set up rules to highlight both trailing whitespace and lines which are over a certain length by adding this to my .vimrc: highlight ExtraWhitespace ctermbg=lightgray guibg=lightgray match ExtraWhitespace /\s\+$/ highlight OverLength…
ICR
  • 335
16
votes
1 answer

Highlight all occurrences of a word in Github's Atom text editor

In Sublime Text, if you double-click a word in file, all occurrences of that word are highlighted on the page, giving at-a-glance orientation of how a variable or other text is used in the file. Is there an equivalent shortcut in the Atom text…
Feckmore
  • 906
16
votes
2 answers

Vim: How to change the current item highlight color when substituting

I have changed my Vim colours so when I do a /search, every match is highlighted in bright yellow. This makes matches much easier to see. However, when I perform a substitution with the confirm flag like :%s/find/replace/gc all the items are…
jordelver
  • 2,361
15
votes
5 answers

Remove VIM search highlight

After a search I've done, all the matches for the respective query remain highlighted and it's annoying. This happens even after I close the respective file (normal behavior?). How to I remove this?
Alex
  • 1,865
14
votes
2 answers

How to highlight the current row and column like a crosshair in Libreoffice?

How can I highlight the current row and column like a crosshair in Libreoffice as guide for the eye? There seems to be an open feature request from 2011 and a very similar question for openoffice - but nothing I can find on libreoffice and…
Jonas Stein
  • 1,182
12
votes
5 answers

While renaming, How can I disable Windows 7 highlighting the entire filename when I click'n'drag across part of it?

This is super annoying. If I highlight one word in the long filename, the entire filename gets highlighted (usually 1 millisecond before I tap delete or type something else). I just want Windows to highlight what I'm dragging across and stop…
CreeDorofl
  • 2,469
11
votes
1 answer

New to terminator on linux. Why aren't scrollback searches highlighted?

I'm using terminator on linux/ubuntu. When I do ctrl+shift f, I get a prompt to enter a search key to search my scrollback (terminal output). However, as I go through the search results one by one, none of the results are highlighted. I want them…
barrrista
  • 1,749
11
votes
8 answers

Tool for comparing two images?

I have two images that are slightly different. (The second is actually generated by some manipulation in MatLab). I need some way to compare these two images.Some utility that can highlight where the differences are. [I know this can be done in…
Lazer
  • 18,407
1
2 3
11 12