Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4213

Default Text block colors are not used in editor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.0
    • None
    • editor - Options
    • Product Version: Apache NetBeans IDE 12.0-beta3

      Java: 14; OpenJDK 64-Bit Server VM 14+36

      Runtime: OpenJDK Runtime Environment 14+36

      System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_IN (nb)

    Description

      Steps to reproduce

      1. Start Netbeans with Clean user dir and Java Se 14
      2. Create a Java application project (maven or Ant)
      3. Enter a text block (JEP 355)
      4. Open Options Dialog | Fonts & colors
      5. Select Java in Language
      6. Select Text block in category
      7. Verify that the back ground is #EEDDDD and foreground is Black+Inherited
        Expected Result

      In the editor The text block in foreground should be black (inherited)

      In the editor the text block back ground shoudl be #EEDDDD

      Actual result (see attachment textBlock-Default foreground-notapplied.png)

      The text block foreground is #CE7B00 which is default for a string literal
      The text block background is #EEDDDD

       

      Workaround

      Forcing the colors to be not inherited works

      Attachments

        1. textBlock-Default foreground-notapplied.png
          260 kB
          Manikantan Narender Nath

        Activity

          People

            Unassigned Unassigned
            manikantannaren Manikantan Narender Nath
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: