Hi I’m new using notepad++
I selected a style : Setting/Style Config: Khaki and
just changed the font size and made it bold. After that my text was OK to me, but after reopening a file the style reversed to the original khaki and did not keep my changes. What should I do to keep the style the way I want?
welcome to the notepad++ community, @Alain-Samoun
to change your style to khaki with e.g. consolas 12 bold as default font for all file types:
- please make sure that only one notepad++ window is open.
- go to
settings > style configuratorand select khaki as your theme.
- go to
settings > style configurator > global styles > default styleand set the font, size and style to your liking, as seen at the screenshot below.
save & closeand exit notepad++.
- reopen notepad++ and your default font size will be applied to all file types.
- if you want everything to be bold, please go to
settings > style configurator > global styles > global overrideactivate
enable global bold font style, as seen at the screenshot below.
if bold font is not desired everywhere, you can also adapt the font styles, like bold or italic, for each programming language type, at the style configurator.
Thanks Meta Chuh
I followed your advices: Changed the style with your 2 methods, it worked but after closing N++ and reopening it, it lost my changes and reversed to the original Kakhi. What did I do wrong?
FORGOT TO say : PC win10 64bits
What did I do wrong?
Hard to say yet.
Do you have multiple instances of Notepad++ open? Because if you do, it will save the settings of the last instance to close.
Could you give us your ? > Debug Info > Copy debug info into clipboard ?
Also, try the experiment
- Close all instances of Notepad++
- Open a Windows Explorer window in
%AppData%\Notepad++\themes\, and look at the last-modified time and file size on
khaki.xml(an Alt+PrintScreen on the RClick > Properties dialog would be good
- Open a single instance of Notepad++
- Make a change in the khaki styler (as described above)
- Exit Notepad++
- Refresh the Explorer window, and check if
khaki.xmlhas updated it’s last-modified time (and possibly file size)
(Note, I am assuming an installed copy, where config files are kept in the
%AppData%hierarchy; if that’s not what you have, the Debug Info will tell us, and we can customize the instructions for you.)
Notepad++ v7.5.9 (64-bit)
Build time : Oct 23 2018 - 22:14:15
Path : C:\Program Files\WindowsApps\NightRise.NotepadWrapped_220.127.116.11_x64__bahp16nyyek9m\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 10 (64-bit)
Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll ComparePlugin.dll MarkdownViewerPlusPlus.dll
thank you for your debug information.
your copy of notepad++ is not an official release, but a 3rd party release from the windows store, as well as an older version (7.5.9).
could you please uninstall it,
reboot and then download and install the official 7.6.6 release from here:
after that please retry changing your fonts as described above.
note: if you download the official release, you will get an unknown publisher warning, as it has gpg signatures instead of microsoft signatures.
this does not pose any thread, as long as you only download notepad++ from the only official source at https://notepad-plus-plus.org .
additional note: i suppose you didn’t do anything wrong, you might have on the contrary, helped to discover a misbehaviour in the 3rd party notepad++ release at the microsoft store.
ps: i hope you don’t mind both of us answering in an alternating manner.
we are acting as a team, you can take our replies as one source.
That worked! Thanks very much to both of you. Yeah MS store better be aware of this problem : I still have an “unofficial Notepad++” in the list of app in win10 that I can’t uninstall I lost at least 1 hour until I contacted you… Thanks again
you are very welcome.
two are glad to be of service.
(a quote from the movie bicentennial man, adapted for the notepad+ community ;-) )
misbehaviour in the 3rd party notepad++ release at the microsoft store.
Just what the support team wants to waste their time and effort on…
a warning for future readers:
please do not download notepad++ from unofficial sources !
the current unofficial releases from following sources are known to have issues:
- microsoft store
screenshots of sources to avoid:
avoid the current release from microsoft store:
avoid the current release from portableapps.com:
LOL. A valiant try, but it isn’t going to really do anything. :)
yes, except serving as a copy paste source, when the next case comes in ;-)
you are absolutely correct, that we can’t expect people to search for this, as a preventative measure, before downloading notepad++ at the microsoft store, or from portableapps.
but i blue-eyedly believe that, as soon as someone discovers an issue with those releases, they will eventually find our topics and this warning, before opening a new topic or issue.
I’ve bumped issue#5415, trying to gain traction on at least adding “portable” in prominent locations on the download page, so that eventually people searching for “portable notepad++” will see the official page, rather than the portableapps, as the first and primary link. (I guess it won’t actually help on this one, because the OP got it from the Windows store… but at least the Windows store points out it’s unofficial.)