[PHP] and [CODE]

This is a discussion on [PHP] and [CODE] within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I think things are just fine the way they are. I personally don't like scroll bars in code tags. And ...

  1. #16
    Super Moderater.
    Join Date
    Jan 2005
    Posts
    374
    I think things are just fine the way they are.

    I personally don't like scroll bars in code tags. And as for a [cpp] or [c] syntaxer, you could just write your own.

    The only problem I have is that sometimes where you have a long line of code with no spaces, a space creeps in. It's obviously a bug and must serve some purpose. However, I was just wondering if anyone was going to address that, or give a reason as to why not.

    Code:
    ================================================================

  2. #17
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    It's a force-breaker. The forum software forcibly inserts spaces into all extremely long continous words to avoid horizontal scrolling, because then the browser can wrap lines. This applies to all text, not just that in code sections. The problem is that in code sections it's not wrapped anyway, so the feature should exclude them from force-breaking.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #18
    Super Moderater.
    Join Date
    Jan 2005
    Posts
    374
    The problem is that in code sections it's not wrapped anyway, so the feature should exclude them from force-breaking.
    So is the webmaster going to do anything about this?

  4. #19
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Unlikely, as it means modifying the board source. Which probably means no official support.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. c++ game [code] need help
    By mario fortunato in forum Game Programming
    Replies: 3
    Last Post: 02-24-2006, 08:41 AM
  2. [code] Recursive Search Function
    By anonytmouse in forum Windows Programming
    Replies: 1
    Last Post: 12-17-2004, 11:21 PM
  3. [code] Enumerate IE instances and retrieve interfaces.
    By anonytmouse in forum Windows Programming
    Replies: 1
    Last Post: 05-05-2004, 09:01 AM
  4. intersection and union
    By BaAa3 in forum C Programming
    Replies: 2
    Last Post: 02-29-2004, 04:39 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21