Tag Info

Hot answers tagged

23

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 ...


13

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 ...


11

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" ...


9

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.


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

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"


5

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 ...


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


5

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.


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

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 ...


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

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. ...


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.


3

Your pdf document can be protected for making it uncopiable.. so that could be a problem. Secondly that text can be a watermark too...which can be removed from a pdf creator software like Adobe Acrobat proffessional or NitroPDF for restrictions removal you can use services like http://freemypdf.com/... but removing restriction from a PDF can be illegal as ...


3

For your third requirement, nnoremap , :mat Error "<C-R><C-W>"<CR> Put this in your vimrc file..Press comma to highlight all occurrences of the word at cursor. Also, pressing * or # will highlight all occurrences of the string at cursor when hlsearch is setedit:For your first requirement,vnoremap <silent> , :<C-U> \let ...


3

I found the script. You can download the script at here. http://www.vim.org/scripts/script.php?script_id=2666 Just \m on the word you want to highlight. You could select visual block then \m And you could add more colors.


3

Okay this is going to sound ridiculous, but if they are the same size you can put them side by side and cross your eyes like you would for a magic eye 3D picture, and the differences will stand out as if they are flickering (as your brain quickly alternates between the two different overlapped picture elements) I use this "cheat" when I play those ...


3

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.\+/ ...


3

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), ...


2

What your asking can be easily done in Notepad++, with a user defined language (UDL). In LibreOffice this is a little more complicated, but I have a solution. Load your document in LibreOffice Writer, then click Edit --> Find & Replace from the drop down menu, enter todo as the search criteria, and click Find All. From there you can apply a style ...


2

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 ...


2

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 ...


2

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 ...


2

This might no longer be useful to the author, but I put the following in .vim/ftplugin/python.vim: if exists('+colorcolumn') setlocal colorcolumn=81 else au! BufEnter <buffer> match ColorColumn /\%81v.*/ endif Since it's in ftplugin, it only occurs for python files, and BufEnter keeps it local to the buffer that the python file is in.


2

The current solution I'm using: Drop-down: View->User Defined Languages Create keyword (character's indicator). Change the background color. It highlight's the character's name in other places in the text, though. An undesired but unobtrusive side-effect. No highlight feature I can find, unfortunately.


2

Use matchadd(), so add this to your .vimrc: highlight ExtraWhitespace ctermbg=grey guibg=grey call matchadd('ExtraWhitespace', '\s\+$', 11) highlight OverLength ctermbg=lightgrey guibg=lightgrey call matchadd('OverLength', '\%>80v.\+') To view all matches: :echo getmatches() To remove matches use matchdelete().


2

Select View > User-Defined Dialog... 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 also use Comment Line on the Comment & Number tab to highlight from a word to the end of the line (check Treat keyword as ...



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