From kdevelop-bugs Mon Jun 26 17:44:20 2006 From: rian Date: Mon, 26 Jun 2006 17:44:20 +0000 To: kdevelop-bugs Subject: [Bug 129860] New: perl syntax highlighting, $q, $m, $s treated as q, m, Message-Id: <20060626194419.129860.thewierdnut () yahoo ! com> X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=118306951809844 ------- 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,,. 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