Package: joe
Version: 3.5-1.1
Severity: normal
Tags: patch
Syntax highlighting for PHP highlights variables in single-quoted strings.
Only double-quoted strings have variables interpreted, so there is no
meaning to a dollar sign ("$") in a single-quoted string and it ought not to
be highlighted.
I'm not intimately familiar with the format of the .jsf files so I may have
missed something, but this change appears to do what I expected.
Cheers & God bless
Sam "SammyTheSnake" Penny
--- php.jsf.orig 2008-03-07 12:56:04.000000000 +0000
+++ php.jsf 2008-03-07 12:56:08.000000000 +0000
@@ -155,6 +155,7 @@
:string_sq Constant_sq
* string_sq
- "$" var_insqstring recolor=-1
"\'" idle
"\\" string_sq_esc recolor=-1
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable'), (50, 'testing')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-amd64
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages joe depends on:
ii libc6 2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii libncurses5 5.5-5 Shared libraries for terminal hand
joe recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]