Find in Sublime Text 3 highlights one of the results, and a white outline of the other results. The white outline (any color outline) is very hard to see. Is there a way/package to highlight all search results?
Don't know if there's a way to have all the matches highlighted, but you can make them a lot easier to see by changing the colour and making the box thicker.
To do this, create your own colour scheme by adding a new .sublime-color-scheme file to the correct folder. For me (on linux) the simplest way is to copy the default color scheme file at ~/.config/sublime-text-3/Packages/Color Scheme - Default/Monokai.sublime-color-scheme to ~/.config/sublime-text-3/Packages/User/my_colors.sublime-color-scheme
Then add the following lines to the 'global' section:
"highlight": "var(orange3)",
"selection_border_width": "2",
To use your new colour scheme, select Color Scheme from the Preferences menu - there should now me a new scheme available called 'my_colors'.
Related
Haven't found any tips on stack or on the documentation thus far. Any tips? Please note that I'm not using a table for the hightlighting
In Ms Word, the highlighting feature can only apply a limited number of predetermined colors :
yellow, green, cyan, magenta, blue
red, darkBlue, darkCyan, darkGreen, darkMagenta
darkRed, darkYellow, darkGray, lightGray, black
none
The Highlighting is different from the Shading which can apply any background color, including theme's colors. The highlighting color is applied over the shading color if any.
Now, OpenTBS can change any of those properties (highlighting or shading) since it is preexisting in the template. That is OpenTBS cannot create highlighting or shading background, it can only change the color (or turn it to no color).
In the DOCX, the XML element for an existing highlighting is placed in head of the highlighted snippet and is like this:
<w:highlight w:val="darkRed"/>
The XML element for an existing shading is placed in head of the colored snippet and is like this:
<w:shd w:val="clear" w:color="auto" w:fill="FF6600"/>
So now, the solution for having dynamic highlighting with OpenTBS is this :
In the template, select the part of text to have the dynamic highlighting, and add any highligh to it.
Inside the text, add a TBS tag with the "att" parameter: [myblock.mycolor_name,att=w:highlight#w:val]
At the PHP side, make sure the column mycolor_name have always a value in the list of color given above. This can be assured using a ondata custom function.
For having dynamic shading, it is quite the same :
In the template, select the part of text to have the dynamic shading , and add any color on it. Use only Standard color, not Theme colors, because the XML is a bit different for Theme colors.
Inside the text, add a TBS tag with the "att" parameter: [myblock.mycolor_value,att=w:shd#w:val]
At the PHP side, make sure the column mycolor_value have always a value wich is a hexa color value (like in HTML) . This can be assured using a ondata custom function.
I have an issue about how to set the color of finding Occurrence of key words in PhpStorm. Any ideas?
Change color for specific 'find View' is not possible.
This color area is link by the color of editor. Change color in Editor and your result find view change also with those color you specified.
This is what your color change when you changed the theme of PHPStorm.
I have a title in a pie chart in Excel 2007 whose text is underlined.
Can I make the line space between text and the underline larger and make the underline longer than the text itself?
I tried to add space before and after the text but the underline does not extend out with the white space.
This is what I have right now:
This is what I want:
VBA solutions are also welcome!
This can be achieved with 'normal' text editing. Add a line break (to allow a wider than normal gap between text and underline), fill the width with sufficient text (eg lots of .s), set the font of this added text to the same colour as its background and change the underline colour to suit (probably black) in Font after right-clicking on the Title box.
Edit re clarification request
Is there a way in Notepad++ to highlight a snippet of text and change it's background color? I would like it to remain that color within the editor for highlighting purposes. I don't want the color to change the code at all.
You can get the effect you want by right-clicking on the highlighted snippet and selecting "Style token" -> "Using (n)th style".
This will also highlight any other sections of your code which are identical to the one you selected, which may or may not be what you want. However the highlighting will only remain for as long as you have that file open in notepad++. If you close it, you will lose the highlighting.
In Notepad++
First select the line/words to be highlighted
Go to 'Search' Menu
Select 'Mark All'.
There you will find 5 sub-menu as 'using [1..5]th style'.
(using 1st style : cyan colour) .
(2nd : light brown) .
(3rd : yellow) .
(4th : purple) .
(5th : green) .
However the highlighting will only remain for as long as you have that file open in notepad++. If you close it, you will lose the highlighting.
You can also define a language that set the snippet as a keyword and choose style for it.
Sorry for the complicated title.
Screenshot here:
Basically:
Do a "Find in Files" search in VS.
Double click on one of the results.
The line in the editor window is highlighted with dark blue (in my case).
The highlight does not go away unless I do another "Find in Files" search and click on another result.
The problems:
The highlight is too dark/overpowering.
I can't see other highlights (like selecting text, or even where my cursor is).
I want the highlight to go away while I'm editing the file.
So my questions:
Can I change the color of this highlight to something less powerful? (a nice light gray perhaps) I can't seem to tell which of the color-coding options changes this one.
Can I clear this highlight somehow while editing (without needing to do another search)
Can I disable this highlighting completely?
Thanks!
PS. I'm not interested in the line-highlight color in the "Find Results" window itself - just the highlight that appears in my text-editor window after I double-click on one of the results.
Try changing your color settings.
Tools -> Options -> Fonts and Colors
Select "Show settings for: Find Results Window" and change the "Current List Location" background color.