Tag Info

Hot answers tagged

41

Just use the mark feature. Open the Search & Replace dialog and go to the Mark tab. Enter your search term and click Mark All. All occurrences are now permanently marked: To remove the marks, simply open the dialog again and click Clear all marks. Alternatively, while you have the word selected, you can use the Mark functionality in the Search ...


14

You want the command :nohlsearch, but you don't want to type that every time. Put this in your ~/.vimrc: nnoremap <silent> <leader>n :nohlsearch<CR> After that, you just enter your leader (which by default is \) and then n to clear the matches. You don't need to use n; if you prefer, pick something else. You can also remap your leader ...


14

The following was derived from the GtkSourceView reference manual, Language Definition v2.0 Tutorial and Reference. Create the file /usr/share/gtksourceview-2.0/language-specs/screenplay.lang (as root), with the following contents: <?xml version="1.0" encoding="UTF-8"?> <language id="screenplay" _name="Screenplay" version="2.0" ...


11

Beyond Compare is really a file-and-folder comparison tool, but it also contains image comparisons (example link). There's a free trial. I bought this tool ($30) because it's so incredibly useful for many things.


10

I found this Atom package called highlight-selected I have been using it since a few days ago and it's working like a charm! To install it, go to the command line and do: apm install highlight-selected Make sure to restart Atom and boom!


9

skyblue’s answer shows the core of the idea of how to use the normal search highlighting to accomplish what you want. I extended that technique by making a keybinding that works similarly to the * command, but without actually moving to the next match. My thanks goes to garyjohn for pointing out the expand() equivalent to *’s word selection (to avoid using ...


9

i just /qiw772723euz to "search" for something thats not in the file. hacky workaround, i know, i am interested in a real solution as well :)


8

One way: highlight EWOL ctermbg=lightgray ctermfg=black guibg=lightgray guifg=black match EWOL /\%>20v.\+\|\s\+$/ Another: highlight ExtraWhitespace ctermbg=lightgray ctermfg=black guibg=lightgray guifg=black match ExtraWhitespace /\s\+$/ highlight OverLength ctermbg=lightgray ctermfg=black guibg=lightgray guifg=black 2match OverLength /\%>80v.\+/ ...


6

try Wired-Marker "it is a permanent (indelible) highlighter that you use on Web pages. The highlighter, which comes in various colors and styles, is a kind of electronic bookmark that serves as a guide when you revisit a Web page. The highlighted content is automatically recorded in a scrapbook and saved"


6

I think the Keyword Highlight extension does the job. From its description: This extension helps you to catch messages to you or topics you are intrested in. One of good idea is set your name as a highlight keyword. Your boss may assign a job to you in a mail. Or you may found your name in a meeting minutes.


5

Use ctermbg=NONE this should disable the background color.


5

I use AKS It allows you to compare two JPG files and show differences between them. For instance, this tool allows you to compare two versions of the same image, chart, diagram or scheme.


5

I have the same need. "Highlighting lines that contain specific keywords". I currently use Baretail or better: Glogg for this, but it would be nice to see this in Notepad++. I generally use Notepad++ to browse through log files. Certain events start with specific keywords; line highlighting in Notepad++ would allow me to quickly find the events in the log. ...


5

One way is to use the :match command, e.g., :match Question '^R^W' That will highlight the word under the cursor using the Question highlight group. I often use the Question group because on my terminal it's a nice green. To see the available highlight groups, execute :hi The ^R and ^W are Ctrl-R and Ctrl-W, respectively, and are replaced by the word ...


5

Unpack and open file "skin.ini" from your current skin pack: opera:config#UserPrefs|ButtonSet Standard path is C:\Program Files (x86)\Opera\skin\standard_skin.zip\skin.ini Close Opera. In [Generic] add Selected Text bgcolor nofocus = #your hex color for example #F0FF00 Save and pack it back to standard_skin.zip and launch Opera


4

In both commands, the problem is that not grep but another command generates the actual output (xargs and find, respectively). You can solve this by directly calling grep for each file name: IFS=$'\n' for FILE in $(find . -iname "*.abc"); do grep foo $FILE done unset IFS Or as a one-liner: IFS=$'\n';for FILE in $(find . -iname "*.abc");do grep foo ...


4

Select Language > Define your language... (or View Language > User-Defined Dialog..., or Language > User-Defined, depending on version and localisation file) Use the User-Defined dialogue to specify what to highlight. To highlight certain words, use the Keyword Lists tab and enter each word in a Group, selecting Colour/Font style as you like. You can ...


4

This would be good to try: Open the PDF Select All, Copy Paste into a word processor such as Word Use your the built-in Find & Replace feature to find "DO NOT COPY" and replace it with nothing.


4

Similar to @Telemachus answer above, a comment on this answer over at SO by @David Winslow suggested mapping a toggle of hlsearch. You would map the following: nmap <silent> <leader>n :set hlsearch!<CR> Hitting n would then toggle highlight search off and on every time you hit it.


4

Select your text > Right click on the text area > Choose Style Token from context menu > Apply the style you need. Done.


4

There's at least three ways to accomplish what you've asked about: Adding a helper series for your highlighted points (as pnuts), Manually formatting (as Rhys Gibson added), Adding a formatting "band" to highlight the values. The method you choose will depend greatly upon your chart layout (scatter charts can be laid out in at least two different ways), ...


4

There is a bug report open on launchpad for this feature, so it seems that it is not currently implemented.


3

Plot the high and low values from separate columns (or rows): The data point shapes and their colours will probably need to be changed if you want red + another colour and a particular shape but now each 'series' can be selected separately (by clicking on one of the data points from each 'series', in turn) and formatting to suit. I take it that how to ...


3

This can be done via conditional formatting. To do this use the "View" tab and change the View Settings. To make someones name appear in a certain color; Click Add. Enter a name for the rule. Click Font. Under Color, click the color you want. Click OK. Click Condition. In the From box, type the person's name. Note: The name must exactly match the full ...


3

The example you showed here is a selection which walks the Abstract Syntax Tree upwards. This different from the evaluation order of an expression. If an editor wants to have such functionality, it needs to parse the language (and not only to tokenize it). IntelliJIDEA usually has this feature for many of the supported custom language plugins and of course ...


3

The easy way: Open the Image you want in photoshop Add a new layer Fill the layer with Black (Paint bucket) Lower the opacity (In my example 59%) Erase or select delete what you want to be lighter And you know have an image with a brighter area: This is of course highly flexible, if you want the rest of image to be less grayed out, lower the opacity. ...


3

Unfortunately, I don't know of an existing shortcut to do this. Fortunately, I was sufficiently frustrated by there not being a shortcut to do this, that I wrote a macro to do it for me: Sub RotateHighlight() ' ' Rotates highlighting of selected text between: ' None, yellow, green, blue, red, pink, none, yellow, green, ... ' ' If the selected text is ...



Only top voted, non community-wiki answers of a minimum length are eligible