Community
    • Login

    Default Language Style

    Scheduled Pinned Locked Moved General Discussion
    pythonhighlightstyle
    3 Posts 2 Posters 464 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.
    • fly-wireF
      fly-wire
      last edited by

      Where are the default language styles from? eg python

      fly-wireF PeterJonesP 2 Replies Last reply Reply Quote 0
      • fly-wireF
        fly-wire @fly-wire
        last edited by

        Do the styles have any relationship to https://pygments.org/styles/?

        1 Reply Last reply Reply Quote 0
        • PeterJonesP
          PeterJones @fly-wire
          last edited by

          @fly-wire ,

          The colors chosen for Python lexer/syntax highlighting can be found in Settings > Style Configurator, and selecting Python from the language choices. The default colors in the default theme were somehow chosen by the developers in ages past; the colors defined in other themes were chosen by the theme creators.

          The code that handles parsing the Python text and deciding which characters to color with each style are compiled as part of the Notepad++ application, and cannot be changed without re-building Notepad++ from source

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