https://bugs.kde.org/show_bug.cgi?id=517160

            Bug ID: 517160
           Summary: bold attribute is ignored in first itemData element
    Classification: Frameworks and Libraries
           Product: frameworks-syntax-highlighting
      Version First 6.16.0
       Reported In:
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: framework
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 190408
  --> https://bugs.kde.org/attachment.cgi?id=190408&action=edit
syntax higlighting definition

SUMMARY
<itemData> element may have attribute bold="true". If this element is placed
first (before other <itemData> elements) then this attribute is ignored.

STEPS TO REPRODUCE
1. Place the bug.xml file attached into
~/.local/share/org.kde.syntax-highlighting/syntax directory.
2. Open the testbug file attached in the Kate editor.

OBSERVED RESULT
Letters 'a' and 'b' are shown wrongly as plain not bold.

EXPECTED RESULT
Letters 'a' and 'b' should be shown properly as bold not plain. This can be
fixed by the following steps:
1. Close Kate editor.
2. Swap two <itemData> elements in bug.xml file to place <itemData> element
named "Data" after <itemData> element named "Normal Text", save changes.
3. Run Kate again, open the testbug file attached.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION
(none)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to