Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Using the Style Configurator, Notepad++ does not have a preference to change the style of text before a colon : or equals sign = in an *.ini file. It is a trivial detail, but it would help make overlooking configuration files a lot easier.

style example

DEFAULT, COMMENT, SECTION, ASSIGNMENT, or DEFVAL does not modify the text before the colon.

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

Adding the following property to the <LexerType name="ini" desc="ini file"> block in stylers.xml does the trick!

<WordsStyle name="KEYWORD" styleID="5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />

Now you can modify the KEYWORD entry to change the style of text before the colon.

keyword result

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.