Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#916 closed enhancement (fixed)

Perl syntax highlighting: highlight interpolated variables and special characters in strings

Reported by: zenogantner Owned by:
Priority: minor Milestone:
Component: Syntax Highlighting Version: trunk
Keywords: syntaxhighlighting, perl5, perl6 Cc:

Description

It would be nice if interpolated variables and special characters would be highlighted with special colors, e.g.:

print "Hello\n" # 'Hello' and '\n' should have different colors.

print "val=$value" # 'val=' and '$value' should have different colors.

Change History (6)

comment:1 Changed 4 years ago by szabgab

  • Component changed from editor to Syntax Highlighting

comment:2 Changed 3 years ago by zenogantner

Copied from duplicate #1214 (by szabgab):

Scintilla does not do it yet: http://sourceforge.net/tracker/index.php?func=detail&aid=3076629&group_id=2439&atid=102439

comment:3 Changed 3 years ago by azawawi

Once upgraded to Scintilla 2.27 in Wx::Scintilla. I will begin fixing LexPerl?.cxx to include this feature.

comment:4 Changed 3 years ago by azawawi

Incoming in Scintilla 0.21_05 from Scintilla trunk :)

comment:5 Changed 3 years ago by azawawi

  • Resolution set to fixed
  • Status changed from new to closed

Scintilla 0.21_05 fixes this ticket by a recent patch on Scintilla interest group.

comment:6 Changed 3 years ago by azawawi

Fixed in r15437

Note: See TracTickets for help on using tickets.