Menu

syntax highlighting: indented text in POD

2008-04-13
2012-11-13
  • Nobody/Anonymous

    In the Perl syntax highlighting, in POD sections, indented text (mainly intnended for sample code) appears as yellow text on red. It's very loud and I want to change that, but I can't find where. Help?

     
    • Fool4UAnyway

      Fool4UAnyway - 2008-04-13

      Menu_____ : Settings
      Option___ : Styler Configurator...

      Language_ : Perl
      Style____ : POD

      Now you can select the desired foreground and background color.

       
      • Nobody/Anonymous

        No, that only works for the non-indented text. I made that green on white, just like plain comments. But the indented text is yellow on red.

        Wait, I'll post a screenshot... Not sure if it'll survive the antispam measures on this forum. But I can try.

            http://users.pandora.be/bartl/podcoloring.gif  (10k)

         
        • Fool4UAnyway

          Fool4UAnyway - 2008-04-13

          I'm not familiar with Perl, but I just could reproduce your problem.

          Perhaps this is some built-in type of syntax highlighting for lines starting with a space character.

          When you indent your code by tab characters, you won't have this problem.

           
          • Fool4UAnyway

            Fool4UAnyway - 2008-04-13

            Just another second of research made me found out you can change the style colors.

            Menu_____ : Settings
            Option___ : Styler Configurator...

            Language_ : Global Styles
            Style____ : Find Mark Style

            Now you can select the desired foreground and background color.

            I don't know why these lines are "marked" _automatically_ in Perl.
            This can't be undone by CTRL+SHIFT+M, so it seems this has some other cause.