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

            Bug ID: 367821
           Summary: wineHQ-syntax: The section in an reg file isn't high
                    lighted
           Product: kate
           Version: 3.14.2
          Platform: Debian unstable
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: syntax
          Assignee: [email protected]
          Reporter: [email protected]

Opening an reg file from wine (user.reg, system.reg or userdef.reg) didn't show
the section in "[ ... ]" correctly.



Reproducible: Always

Steps to Reproduce:
0. This is for wine standard installation
1. check if wine is installed
2. run wineboot -fu to create the WINEPREFIX
3. open the file "user.reg in ~/.wine

Actual Results:  
[Control Panel\\Desktop] 1471827642
#time=1d1fc109b094db0
"ActiveWndTrackTimeout"=dword:00000000
"BlockSendInputResets"="0"


Expected Results:  
"[Control Panel\\Desktop]" should be in bold letters.

How to solve this:

---------- winehq.xml ----------
 1    <?xml version="1.0" encoding="UTF-8"?>
 2    <!DOCTYPE language SYSTEM "language.dtd">
 3    <language name="WINE Config" version="1.03" kateversion="2.4"
section="Configuration" extensions="*.reg" mimetype="">
 4      <highlighting>
 5        <contexts>
 6          <context attribute="Normal Text" lineEndContext="#stay"
name="Normal">
 7            <RegExpr String="WINE REGISTRY Version.*$"
attribute="RegistryBeginEnd" context="#stay" />
 8            <RegExpr String="#\s*&lt;\s*wineconf\s*&gt;"
attribute="RegistryBeginEnd" context="#stay" column="0"/>
 9            <RegExpr String="#\s*&lt;\s*\/\s*wineconf\s*&gt;"
attribute="RegistryBeginEnd" context="#stay" column="0"/>
10            <RegExpr String="\[.*\]$" attribute="Section" context="#stay"
column="0"/>
11            <RegExpr String=";.*$" attribute="Comment" context="#stay"/>
---------- /winehq.xml ----------

Simply remove the Dollar sign as the line end indicator (RegEx) in winehq.xml
in line 10.

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

Reply via email to