Linked Questions

4 votes
1 answer
205 views

Syntax highlighter bugs on multiple <script> tags [duplicate]

To illustrate, multiple non-script tags works fine: <element name="value"></element> <element name="value"></element> But multiple script tags bugs the highlighter, see the ...
user avatar
4 votes
3 answers
148 views

Shouldn't the code formatter highlight the word "having" for SQL syntax? [duplicate]

In this SQL statement, notice the color of the word "having" versus the words "select", "from", "where", and "group by" select cu.name ,cu.email ,count(*) as books_purchased from customers cu ,...
JosephStyons's user avatar
0 votes
1 answer
186 views

Syntax highlighting thrown off by apostrophe in comment [duplicate]

I noticed a bug in the syntax highlighting for Objective-C code. See this post: https://stackoverflow.com/questions/25623716/error-no-such-table-sqlite The apostrophe in a comment in the second code ...
Zev Eisenberg's user avatar
2 votes
2 answers
65 views

Did I do my syntax highlighting wrong? If so, what is the right way? [duplicate]

I tried setting a syntax type based on Jeff's Hints, but it doesn't seem to be working properly. Did I do it wrong? https://stackoverflow.com/a/8546141/124069
Chase Florell's user avatar
4 votes
1 answer
167 views

JavaScript regex syntax highlighting issue [duplicate]

if(!/^https?:\/\//.test(val) && foo == 'bar') { val = 'http://' + val; } As you can see, the // causes the highlighter to switch to comment mode which is incorrect.
ThiefMaster's user avatar
  • 15.6k
3 votes
1 answer
194 views

Syntax highlighting for C++ code, initializing with `()` vs `=` [duplicate]

I had initially asked this on Code review meta but @Mast in the comments suggested me to ask this on the main meta site. I have tested it on Stack overflow, Code review, and Software Engineering sites....
user avatar
3 votes
2 answers
144 views

Syntax highlighting broken [duplicate]

Syntax highlighting seems to have been broken recently. For example see the code example at: WPF TextBlock Padding is cutting off text All the attributes' first letters are black. Is this a bug? ......
sourcenouveau's user avatar
3 votes
2 answers
161 views

Syntax Highlighting - Two Character Identifiers [duplicate]

I noticed a bug/feature with the syntax highlighting where two-character capitalized identifiers are not being highlighted inside code blocks. This does not appear to be a problem in the case of two-...
Nathan Taylor's user avatar
3 votes
1 answer
125 views

My syntax highlighting stopped working on Stack Overflow [duplicate]

All of a sudden, my syntax highlighting stopped working on Stack Overflow which can be seen in this answer. And now, even if I edit that post, try to post a question or an answer, there's no syntax ...
Meleak's user avatar
  • 183
5 votes
1 answer
180 views

Syntax-Highlighting won't recognize all CSS keywords [duplicate]

I just discovered a strange behavior of the CSS syntax highlighting feature which you can see in the following code example: .first_rule { color: red; } .second_rule:hover { color: blue; } ....
YMMD's user avatar
  • 161
2 votes
1 answer
140 views

String not displaying correctly [duplicate]

I just answered my own question here (GeoPheonix answered in the comments but didn't provide a full answer), and the string in the code isn't displaying correctly: This may seem like a minor nitpick ...
SomeKittens's user avatar
  • 2,326
1 vote
2 answers
160 views

Syntax highlighting fails to highlight "abstract" correctly [duplicate]

I've just noticed that the syntax highlighting no longer highlights C# "abstract" keyword correctly: Is this an abuse of the type system? I think it used to work correctly before. Anything changed?...
mmx's user avatar
  • 17.1k
4 votes
2 answers
123 views

Incorrect C# syntax highlighting with @"\" [duplicate]

The title really says it all, but when I use the @ character to ignore escapes in a string literal @"Like This\", the \" is interpreted as a quote character belonging to the string rather than the ...
Eric J.'s user avatar
  • 1,425
11 votes
0 answers
189 views

Style XML element in code block messes up syntax highlighting coloring [duplicate]

If you put some XML in a code block (by indenting by 4 spaces) and one of the tags is <Style> it will mess up the syntax highlighting of the generated result. This works: <Style2 Foo="...
Isak Savo's user avatar
  • 211
5 votes
2 answers
86 views

Incorrect syntax highlighting with non-ASCII characters [duplicate]

The C# highlighter (and possibly others) chokes on non-ASCII characters in class names, as can be seen in this post: Trouble with if circulating EDIT: Prettify bug report submitted.
nneonneo's user avatar
  • 3,631

15 30 50 per page
1 2
3
4 5
13