Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Syntax Highlighter bug in 3.0 beta2
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Daniel Jimenez  
View profile  
 More options Mar 31, 4:40 pm
From: Daniel Jimenez <daniel.j.jime...@gmail.com>
Date: Tue, 31 Mar 2009 13:40:16 -0700 (PDT)
Local: Tues, Mar 31 2009 4:40 pm
Subject: Syntax Highlighter bug in 3.0 beta2
Hi all,

I just wanted to report a bug with the syntax highlighting inside SQL.
Not sure if anyone is aware of it yet or not. I've uploaded a sample
file to the Google group, and I've uploaded a screenshot showing my
issue.

http://groups-beta.google.com/group/cftextmate/web/sql_highlighting_i...
http://groups-beta.google.com/group/cftextmate/web/sql_highlighting_i...

Basically it looks like the issue is that after surrounding something
with pounds (sharps, #, or whatever you like to call it) in a SQL
query the rest of the line is commented out. Are pounds comments in
some SQL variants?

Anyway, I just thought it'd take a second and report it.

Daniel


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Rohan  
View profile  
 More options Mar 31, 5:07 pm
From: Rob Rohan <robro...@gmail.com>
Date: Wed, 1 Apr 2009 08:07:50 +1100
Local: Tues, Mar 31 2009 5:07 pm
Subject: Re: Syntax Highlighter bug in 3.0 beta2
Thanks Daniel, I'll see what I can see (if no one beats me to it)

--------------------------------------------------------------------------- -----------------

Title     : i just wanted to report a bug with the syntax highlighting  
inside sql
TicId     : 193131bea5058bac812029b64de3d39e0e9799cb

Assigned  : anon
Opened    : Wed Apr 01 08:06:25 +1100 2009 (0 days)
State     : OPEN
Tags      : syntax-sql

Comments (1):
   * Added 04/01 08:06 by anon
        Not sure if anyone is aware of it yet or not. I've uploaded a sample
        file to the Google group, and I've uploaded a screenshot showing my
        issue.

        http://groups-beta.google.com/group/cftextmate/web/sql_highlighting_i...
        http://groups-beta.google.com/group/cftextmate/web/sql_highlighting_i...
        ** more... **

              Rob Rohan (小罗)
              http://robrohan.com
              http://twitter.com/robrohan

On Apr 1, 2009, at 7:40 AM, Daniel Jimenez wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Hewitt  
View profile  
 More options Apr 7, 1:11 pm
From: Andrew Hewitt <ragamu...@gmail.com>
Date: Tue, 7 Apr 2009 13:11:55 -0400
Local: Tues, Apr 7 2009 1:11 pm
Subject: Re: Syntax Highlighter bug in 3.0 beta2

Noticed another problem. See the attached. The comment on line 3 should be
formatted like the comment on line 5. It seems to happen because of the "id"
variable on line 2 being set to another variable versus something withing
quotes. Couple things I noticed that might help debug it:

- Setting anything ending with "id" will create the problem so "myobj.id"
also does it.
- Using quotes on the right side will bypass the problem.
- Once the problem happens on line 2 then any variable set to another
variable after that will also cause comments after them to lose their
formatting, until quotes show up.

- Andrew

  syntaxissue.png
38K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Rohan  
View profile  
 More options Apr 7, 7:29 pm
From: Rob Rohan <robro...@gmail.com>
Date: Wed, 8 Apr 2009 09:29:05 +1000
Local: Tues, Apr 7 2009 7:29 pm
Subject: Re: Syntax Highlighter bug in 3.0 beta2

Cheers Andrew

Title     : the comment on line 3 should be formatted like the comment  
on line 5 it seems to happen because of the id variable on line 2  
being set to another variable versus something withing quotes couple  
things i noticed that might help debug it
TicId     : 21eb0ab98fff40693fa3efb8bd1be9f31335e4d2

Assigned  : anon
Opened    : Wed Apr 08 09:27:47 +1000 2009 (0 days)
State     : OPEN
Tags      : syntax-variable-comment-colour

Comments (1):
   * Added 04/08 09:27 by anon

        - Setting anything ending with "id" will create the problem so  
"myobj.id" also
        does it.
        - Using quotes on the right side will bypass the problem.
        - Once the problem happens on line 2 then any variable set to another  
variable
        after that will also cause comments after them to lose their  
formatting, until
        ** more... **

              Rob Rohan (小罗)
              http://robrohan.com
              http://twitter.com/robrohan

On Apr 8, 2009, at 3:11 AM, Andrew Hewitt wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
db  
View profile  
 More options Apr 19, 11:18 pm
From: db <dylanbro...@gmail.com>
Date: Sun, 19 Apr 2009 20:18:30 -0700 (PDT)
Local: Sun, Apr 19 2009 11:18 pm
Subject: Re: Syntax Highlighter bug in 3.0 beta2
For the (seemingly) amount of traction cftextmate has I'm surprised
more people haven't reported this. Is anyone "formally" supporting
cftextmate via www.cftextmate.com? It'll be great when this issue
(vars rendering as comments inside cfquery) is fixed!

Thanks for the hard work!

Dylan

On Mar 31, 2:07 pm, Rob Rohan <robro...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Rohan  
View profile  
 More options Apr 20, 12:26 am
From: Rob Rohan <robro...@gmail.com>
Date: Mon, 20 Apr 2009 14:26:20 +1000
Local: Mon, Apr 20 2009 12:26 am
Subject: Re: Syntax Highlighter bug in 3.0 beta2
Most people use cfqueryparam.   Patches welcome.

              Rob Rohan (小罗)
              http://robrohan.com
              http://twitter.com/robrohan

On Apr 20, 2009, at 1:18 PM, db wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google