Community
    • Login

    User defined language styler font settings - am I missing something?

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Daniel CrichtonD
      Daniel Crichton
      last edited by

      Hi,

      I’ve been putting together a user defined language for a custom scripting language, and am a little confused by the font settings in the styler. I had assumed that by setting a font in the Default styler, and leaving the other Styler settings with a blank font, that they would inherit the font name from the Default styler, but instead they inherit from the NPP Global/Default settings.

      For example, if my UDL has a Default styler of Consolas, but NPP as a default of Courier New, and all of the “Folding in …” stylers are left with a blank font, then I’d expect the formatted version of my script to use Consolas throughout, but it actually uses Courier New for all of the “Folding in …” blocks.

      Is there a setting I’m missing? Or is this just how it works? Seems odd that the Default style doesn’t apply to everything in the UDL …

      Dan

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Daniel Crichton
        last edited by

        @Daniel-Crichton

        if I understand correctly then you do have set a global font, if this is the case, then
        yes, it is expected behavior as this is what the setting should do.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors