Results 1 to 7 of 7

Thread: xcode and line numbers in Chrome

  1. #1
    JohnH's Avatar
    JohnH is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Dec 2005
    Location
    Norway
    Posts
    14,202
    Reputation
    2369

    xcode and line numbers in Chrome

    The same issue posted here Extra Lines using SyntaxHighlighter for Chrome Only? - Stack Overflow is also seen in this forum using Chrome browser.
    It was also reported today in "Issues" at SyntaxHighlighter website here: Many extra lines
    I just started using Chrome this summer and haven't noticed it before today, then again not many use the xcode block, even less post more than 10 lines of code in a block.

  2. #2
    Neal's Avatar
    Neal is offline VB.NET Forum Admin
    .NET Framework
    .NET 4.5
    Join Date
    Jul 2004
    Location
    Richmond, VA
    Posts
    1,248
    Reputation
    220
    Thanks for the info. I use Chrome too. If you hear of any updates that need to be installed for vBulletin let me know, I'll keep my eyes out too.
    Neal
    VB.NET Forums Admin

  3. #3
    JohnH's Avatar
    JohnH is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Dec 2005
    Location
    Norway
    Posts
    14,202
    Reputation
    2369
    It's sad this is still not resolved by author of SyntaxHighlighter. It is possible to use a customized shCore.css though, according to the Stack Overflow link in previous post.

    Today I found another bug with it, if you add multiple different xcode blocks, for example one 'vb' and one 'xml', then SyntaxHighlighter can only find the first of those 'brushes'. Both works by themselves, but not together. This bug also affects the page globally, so if for example 'vb' brush is used in one post, then the 'xml' can't be found if used in a subsequent post in thread. I'm still using Chrome, btw.
    I can't see this mentioned in the Issues list for past year, it is possible there is a misconfiguration of this plugin at this site?

  4. #4
    JohnH's Avatar
    JohnH is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Dec 2005
    Location
    Norway
    Posts
    14,202
    Reputation
    2369
    I see the numbering layout in Chrome has been resolved and you're using a local copy of SyntaxHighlighter files now, nice!
    The brushes bug is still present though

  5. #5
    Herman is offline VB.NET Forum Miyagee
    .NET Framework
    .NET 4.0
    Join Date
    Oct 2011
    Location
    Montreal, QC, CA
    Posts
    449
    Reputation
    346
    I was wondering why it would sometimes tell me it couldn't find the brush, no matter what argument I passed the xcode tag. I thought it was cookies or something, but yeah your explanation makes sense John. Also other brushes that should work, don't, like 'js' or 'javascript'... Not that it matters much, but it feels broken when you actually want to use it.

  6. #6
    JohnH's Avatar
    JohnH is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Dec 2005
    Location
    Norway
    Posts
    14,202
    Reputation
    2369
    Quote Originally Posted by Herman View Post
    I was wondering why it would sometimes tell me it couldn't find the brush, no matter what argument I passed the xcode tag. I thought it was cookies or something, but yeah your explanation makes sense John. Also other brushes that should work, don't, like 'js' or 'javascript'... Not that it matters much, but it feels broken when you actually want to use it.
    All brushes work when it is the first brush used in that page, it is subsequent uses of any other brush that throws the error.

  7. #7
    Herman is offline VB.NET Forum Miyagee
    .NET Framework
    .NET 4.0
    Join Date
    Oct 2011
    Location
    Montreal, QC, CA
    Posts
    449
    Reputation
    346
    Ah yes I see it now. Thanks for the precision.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Harvest time tracking