In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you how Notepad++ changes the color or background color of the selected text, I believe most people do not know much about it, so share this article for your reference. I hope you will gain a lot after reading this article. Let's learn about it together.
Notepad++ is a sharp tool for text editing, not to mention the advantages, compact and powerful, but not user-friendly enough in the interface customization, only a few simple foreground color, background color, font size and other settings.
The solution to the problem seems to be simple: OK by changing the background color of the selected text. But looking around, half a day, in the Notepad++ setting Leng is unable to find where to change the background color of the selected Chinese characters, the option of "setting"-> "language format setting" is too simple, and the powerful functions of Notepad++ do not match. The change can certainly be changed, but where is it? I searched the Internet, but I didn't find a ready-made solution. Well, in that case, let's just touch its configuration file.
All the configurations of Notepad++ are saved in the xml file, where the color scheme is saved in stylers.xml, which is located in the root of the notepad installation file and is easy to find. Take Notepad++6.2.3 as an example, open the stylers.xml file, and of course, it's no problem to open it with Notepad++. Find the 787 lines, and notice that there is something like this: name= "Selected text colour", indicating that this line defines the color of the selected text. Continue to look back, bgColor= "c0c0c0", the bgColor parameter is to select the background color of the text, and change it to the color you want. Lily's sky was changed to bgColor= "000000", and after it was selected, it became all black. The effect is good. Modify it to be a little darker than the global background color, which can be changed according to your own needs. Note that the notepad++, configuration will not take effect until the changes are saved.
In addition, the following are some definitions of Notepad++ interface color settings, if you want to make more detailed color customization changes, you can refer to the following documentation.
Global Styles
The color of the Indent guideline style indent guide
The color of the frame when the Brace highlight style mouse pointer is around the frame (such as () in {} js in css)
The color of the wrong frame in Bad brace color (for example, there are errors in {} in js, the color of this {})
The background color of the current line pointed by the Current line background colour mouse
Selected text colour the color of the selected text
The color of the Caret colour mouse pointer
Color of Line number margin line number number
Fold margin Hidden Code Button background Color
Smart HighLighting double-click to select the background color of the text
The background color of the Tags match highlighting mouse pointer at the current label
The background color of attributes and attribute values when the Tags attribute mouse pointer is on the current label
The background color of the selected document when Active tab focused appears with multiple document interfaces
The background color of a document that is not selected when Active tab unfocused appears with a document interface (the first document in another view)
Active tab text the color of the name of the current document
The tag background color of the Inactive tabs unselected document
CSS
DEFAULT default foreground
TAG signature such as span h3
PSEUDOCLASS pseudo-class style
UNKNOWN _ PSEUDOCLASS ambiguous pseudo-class style (including unwritten pseudo-class style)
OPERATOR style punctuation marks such as {}:
IDENTIFIER attributes, identifiers
VALUE attribute value
COMMENT interpretation
IMPORTANT important
HTML
DEFAULT default foreground
COMMENT interpretation
NUMBER digit
DOUBLESTRING double quotation mark string
SINGLESTRING single quotation mark string
TAG signature such as span h3
End of TAGEND tag
TAGUNKNOWN ambiguous tags (including unfinished tags)
ATTRIBUTE attribute
ATTRIBUTEUNKNOWN ambiguous attributes (including unwritten attributes)
SGMLDEFAULT declares the word of the document (the one at the top of the html document)
The color of the value of the VALUE attribute (without single or double quotation marks)
ENTITY special characters such as & gt:
JavaScript
General words of WORD
KEYWORD keyword
DOUBLE STRING double quotation mark string
SINGLESTRING single quotation mark string
SYMBOLS punctuation such as {}:
COMMENT interpretation
COMMENTLINE single-line comment
COMMENTDOC multiline comment
The above is all the content of the article "how to change the color or background color of selected text by Notepad++". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.