Community
    • Login

    Why "Brace highlight style" font size hard-coded to 10 in "stylers.model.xml" ?

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 2.0k Views 2 Watching
    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.
    • Vitalii DovganV Offline
      Vitalii Dovgan
      last edited by

      The file “stylers.model.xml” contains the following line:

      <WidgetStyle name="Brace highlight style" styleID="34" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="10" />
      

      The fontSize="10" part makes the highlighted braces to always have a font size of 10.
      Therefore, when I increase the Font size in the Default Style (within the Style Configurator), I’m getting small highlighted braces because their font size is still 10.

      So I’m proposing to change the mentioned line in “stylers.model.xml” to:

      <WidgetStyle name="Brace highlight style" styleID="34" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
      

      unless there is a specific reason to always have the font size of 10 there…

      PeterJonesP 1 Reply Last reply Reply Quote 4
      • PeterJonesP Online
        PeterJones @Vitalii Dovgan
        last edited by

        @Vitalii-Dovgan ,

        PR 16928 will remove that forced fontSize, and fix other fontSize consistency problems in the model and themes.

        1 Reply Last reply Reply Quote 1

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors