[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 129860] New: perl syntax highlighting, $q, $m, $s treated as q, m,
From: rian <thewierdnut () yahoo ! com>
Date: 2006-06-26 17:44:20
Message-ID: 20060626194419.129860.thewierdnut () yahoo ! com
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=129860
Summary: perl syntax highlighting, $q,$m,$s treated as q,m,s
Product: kdevelop
Version: 3.3.3
Platform: Gentoo Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-bugs kdevelop org
ReportedBy: thewierdnut yahoo com
Version: 3.3.3 (using KDE KDE 3.5.3)
Installed from: Gentoo Packages
Compiler: gcc (GCC) 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
OS: Linux
if you are calling a method in a package (?terminology?), and one of your arguments \
is a variable named $q,$m, or $s, then it ends up being incorrectly highlighted.
If you open up a blank file in kdevelop, an turn on the perl syntax highlighting, \
none of these lines are correctly highlighted
a::a($q, $a); #this text should be gray (comment colored)
a::a($s, $a); #this text should be gray (comment colored)
a::a($m, $a); #this text should be gray (comment colored)
Here are a few things i have noticed:
for the example:
a::a($q, $a); #this text should be grey (comment colored)
it seems to be treating the $q as a q. it seems to be seeing something like this: \
q,<text>,. It mishighlights everthing until the next comma, as demonstrated by this \
example: a::a($q, $a); #not gray, #gray
for the examples:
a::a($s, $a); #this text should be gray (comment colored)
a::a($m, $a); #this text should be gray (comment colored)
if you add a third space after the semicolon, it will be correctly highlighted:
a::a($m, $a); #This text is gray
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic