• Login
Community
  • Login

Default Language Style

Scheduled Pinned Locked Moved General Discussion
pythonhighlightstyle
3 Posts 2 Posters 468 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.
  • F
    fly-wire
    last edited by Jun 25, 2022, 12:34 PM

    Where are the default language styles from? eg python

    F P 2 Replies Last reply Jun 25, 2022, 12:47 PM Reply Quote 0
    • F
      fly-wire @fly-wire
      last edited by Jun 25, 2022, 12:47 PM

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

      1 Reply Last reply Reply Quote 0
      • P
        PeterJones @fly-wire
        last edited by Jun 25, 2022, 8:40 PM

        @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
        2 out of 3
        • First post
          2/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors