• Login
Community
  • Login

How can I make the comment text Python normal instead of italicized?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 668 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.
  • P
    Peter 0
    last edited by Sep 30, 2023, 12:04 AM

    This is a very minor issue, but I’d like the font to be displayed in my Python comments to be a normal font–not in italics.

    4074da25-e7f4-4d6c-b62d-bd75b1534cd2-image.png

    1 Reply Last reply Reply Quote 0
    • M
      Mark Olson
      last edited by Mark Olson Sep 30, 2023, 12:44 AM Sep 30, 2023, 12:40 AM

      Settings -> Style Configurator from the main menu, go down the list of languages on the left side to Python, find COMMENT LINE (or maybe COMMENTLINE) in the Style drop-down, and set the font to whatever you want.

      You might have to choose the theme you want to customize using the Select theme: drop-down at the top, but that should already be set by default to whatever theme you’re currently using if that isn’t the factory default.

      Just for illustration, here’s an example (on NPP 8.5.7, but it shouldn’t matter unless you’re on a really old version).

      329fb874-5671-4373-af60-3802aea06ed5-image.png

      P 1 Reply Last reply Sep 30, 2023, 3:22 AM Reply Quote 5
      • P
        Peter 0 @Mark Olson
        last edited by Sep 30, 2023, 3:22 AM

        @Mark-Olson Ahhhhhhhhh ok. I had no idea what that style column was for. Thanks a bunch.

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