Highlighting not valid for -X perl sytax

Bug #312273 reported by Burgett
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GtkSourceView
Fix Released
Low
gtksourceview2 (Ubuntu)
Triaged
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gedit

Gedit 2.22.3
Ubuntu 8.04.1

Checking the size of a file using the -s causes the highlighter to think that the rest of the program key words (commands) are text. For example
    $text = (($size = -s $file)) ? "$size bytes" : 'empty';
    print $text;

will cause the $file)) to appear in red background with pink letters, the "?", ":", and ";" to appear in pink along with the following print command and the ";". The $text appears in green as it should for variables

ProblemType: Bug
Architecture: i386
Date: Mon Dec 29 12:35:29 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/gedit
NonfreeKernelModules: hsfengine wl nvidia
Package: gedit 2.22.3-0ubuntu1
PackageArchitecture: i386
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gedit
Uname: Linux 2.6.24-22-generic i686

Revision history for this message
Burgett (rburgett) wrote :
Changed in gedit:
importance: Undecided → Low
Revision history for this message
Pedro Villavicencio (pedro) wrote :

confirmed, will look upstream thanks.

Changed in gtksourceview2:
assignee: nobody → desktop-bugs
status: New → Confirmed
Revision history for this message
Pedro Villavicencio (pedro) wrote :
Changed in gtksourceview:
importance: Undecided → Unknown
status: New → Unknown
Changed in gtksourceview2:
status: Confirmed → Triaged
Changed in gtksourceview:
status: Unknown → New
Changed in gtksourceview:
importance: Unknown → Low
Changed in gtksourceview:
status: New → Fix Released
Vlad Orlov (monsta)
tags: added: precise trusty xenial
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.