Problem editing font size in default style

  • I’m having trouble editing the font size in the default style.

    The instructions I’ve seen all say to select the default theme, then global styles language, and then global override style. But when I select default/global styles, there are no options available in the style column.

    I can make selections in the (grayed out) font size box and save them, but it doesn’t change anything in the display. I can open stylers.xml and manually change font sizes in global override and default style, but that doesn’t change anything in the display either.

    Did I break something, or am I just doing it wrong?

  • I’ve never seen the Style column entirely empty in that dialog. My best guess is that your default stylers.xml is corrupted.

    What is the output of ? > Debug Info > Copy debug information to clipboard : this will tell use useful information, like version, whether it’s installed or portable, whether you’re running as Admin or a non-privileged user, etc.

    If it’s a normal install (Local Conf mode : OFF in the Debug Info), then there should be a folder called %AppData%\Notepad++ (see FAQ for more on that directory; in short, if you open windows Explorer, and type %AppData%\Notepad++ in the location bar, it should open that directory), and it should include a file called stylers.xml. If that file is corrupt, you can make a backup (copy to old-stylers.xml or similar), then copy from c:\program files (x86)\notepad++\stylers.model.xml (or wherever Debug Info said the executable path was) to %AppData%\Notepad++\stylers.xml, and that will reset it to defaults, which shouldn’t be corrupt anymore.

    If that doesn’t fix the problem, paste the Debug Info here, and let us know the results of the experiment I just suggested.

  • Copying from stylers.model.xml did the trick, thanks! No clue what caused the problem originally, but I’ll take what I can get.

    On a related note, is there a list anywhere of which plugins are deprecated? I wonder if I added something that is no longer usable. NppConverter, for example, won’t update and thus can’t be uninstalled.

  • No deprecated plugin list that I’ve heard of.

    If you want to uninstall one that the Plugin Manager won’t let you (because of the won’t update), you can just go into the program directory, plugins subdirectory (and its hierarchy), and look for the associated DLL for a given plugin (normally pretty close to the plugin name, but without spaces). Assuming NPP is closed, you can just delete the DLL, and it will be uninstalled.

Log in to reply