Glam Prestige Journal

Bright entertainment trends with youth appeal.

Is it possible to setup a monospaced font (like Consolas) for code files (like .java) and a regular font (like Georgia) for txt files? I have always had

Global Style -> Global override

in Style Configurator and enabled Global font and Global size. That way everything had the same Consolas font. But text doesn't look as good in Consolas.

2 Answers

You can configure fonts, etc. individually with Settings > Style Configurator

enter image description here

5

Sorry for my English.

In notepad++ v7.5.8 you can add "Normal text" as custom language:

menu "Language/Define your language...",

  • press "Create New...",

  • enter "Normal text",

  • in field "Ext." enter "txt",

  • in group "Default style" press "Styler", select your font and font size for normal text (use pop-up list to select size, entering by keys didn't work for me), then select foreground and background color, if you want to use default colors just right-click both color pickers (they will become lined),

  • in tab "Comment & Number" in group "Number style" press "Styler" and set font style for numbers.

That's it!

If you decide to change style settings for normal text go to menu "Language/Define your language..." again, choose "Normal text" from the list "User language" and change what you want. Be aware of another glitch: if you reopen Styler dialog it can "forget" if you right-clicked color picker and it won't be lined.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy