Usually, a few countermeasures can reduce this to end of the line only.
E.g., from one of my scripts:

$grutte= -s( "$bank.fb"); #; #

But indeed, it's irritating to have the text mishighlighting. I've been
looking at where we can customize the language highlighting, but I can't
find it. So, as I read whole file contents a lot, and therefor need to
get the file size, this is to me an ever present annoyance.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/631856

Title:
  perl syntax highlighting doesn't work for "-s"

Status in Light-Weight Text Editor for Gnome:
  New
Status in “gedit” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: gedit

  Code:

  while ( (not -e "$omg") or (-s "$omg" < 71) ) {
    getstore($img, $omg);
  }

  Everything after (-s "$omg" < 71) gets highlighted even though the
  code is correct.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: gedit 2.30.3-0ubuntu0.1
  ProcVersionSignature: Ubuntu 2.6.32-24.41-generic 2.6.32.15+drm33.5
  Uname: Linux 2.6.32-24-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Mon Sep  6 21:08:38 2010
  ProcEnviron:
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: gedit

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/631856/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to