Home Download Buy Blog Forum Support

[BUG] problem with synax highlight (Perl)

[BUG] problem with synax highlight (Perl)

Postby harnash on Thu Oct 06, 2011 9:08 am

Hi.

It seems there is a problem with syntax highlighting of a Perl code:
Code: Select all
sub test {
    my $data = 0xFFFFFFFF << (32);
    return $data;
}


now all text below is beeing highlighted incorrectly.
harnash
 
Posts: 1
Joined: Thu Oct 06, 2011 9:02 am

Re: [BUG] problem with synax highlight (Perl)

Postby kino on Mon Nov 07, 2011 4:20 am

I have a similar problem. My variable, array and hash are not highlighted. Also the regular expression in my code are a single color.
kino
 
Posts: 3
Joined: Mon Nov 07, 2011 4:16 am

Re: [BUG] problem with synax highlight (Perl)

Postby amaslenn on Thu Feb 02, 2012 6:42 pm

I have the same problem
amaslenn
 
Posts: 3
Joined: Thu Feb 02, 2012 6:37 pm

Re: [BUG] problem with synax highlight (Perl)

Postby facelessuser on Thu Feb 02, 2012 9:04 pm

Yes, same here. I actually code perl in a different editor because of this.
facelessuser
 
Posts: 1576
Joined: Tue Apr 05, 2011 7:38 pm

Re: [BUG] problem with synax highlight (Perl)

Postby sunperp on Sun Feb 19, 2012 12:59 am

Wow, I just downloaded the sublime text beta to try out with my perl coding, and this is the first issue that I noticed.

For now, I've had to eliminate any "<< (" sequence in my perl code to keep this from happening. The editor doesn't seem to recognize the open parenthesis if it is just after the left shift characters.
sunperp
 
Posts: 1
Joined: Sun Feb 19, 2012 12:54 am

Re: [BUG] problem with synax highlight (Perl)

Postby Negor on Tue Mar 27, 2012 8:04 am

Same problem
Negor
 
Posts: 3
Joined: Tue Mar 27, 2012 8:00 am

Re: [BUG] problem with synax highlight (Perl)

Postby miralita on Mon Apr 09, 2012 1:40 pm

I have the other problem with modern perl syntax:
Code: Select all
$self->{pidfile} //= '/var/run/' . $self->name() . '.pid';


All remaining code below is coloured as if this string contains an unclosed quotation mark.
miralita
 
Posts: 1
Joined: Mon Apr 09, 2012 1:34 pm

Re: [BUG] problem with synax highlight (Perl)

Postby konenkovs on Thu May 03, 2012 1:34 pm

Thanks for the great editor, but +1 to this perl syntax issue
Attachments
sublime_perl_syntax_broken.png
sublime_perl_syntax_broken.png (11.07 KiB) Viewed 966 times
konenkovs
 
Posts: 1
Joined: Thu May 03, 2012 1:28 pm

Re: [BUG] problem with synax highlight (Perl)

Postby nick. on Thu May 03, 2012 3:45 pm

Shameless self-plug for my custom Perl syntax. Passes all issues reported in this thread, though there are still some problems.
nick.
 
Posts: 266
Joined: Wed Jan 18, 2012 3:45 am


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 16 guests