Jump to content
Brian

[code] with scrollbar and Select Text button

Recommended Posts

CODE is the new CODEBOX. It has a scrollbar and Select Text button!  ^_^

I already did a mass Search+Replace on all old posts, and replaced [codebox] with [code].
         |
         |
         |
         |
         |
      \  |  /
       \ | /
        \|/
         V

Did you know you can add line numbers?             [code=auto:1]

You can specify a different starting line too:     [code=auto:24]

'auto' can also be:  js, html, sql, css, xml, nocode
         for JavaScript, HTML, SQL, CSS, XML, or no syntax highlighting.

 

 Don't use CODEBOX anymore because it won't do anything  

  • Upvote 4
Link to comment
Share on other sites

I think before the forum update, there are so many BBCode, of cour with codebox
Edited by Cydh
Link to comment
Share on other sites

There is a bug. If you have a post with a [ code] box which contains more than one line the line breaks are removed when you edit that post. (Occured in bug tracker - dunno if this happens in forum, too.)

  • Upvote 1
Link to comment
Share on other sites

There is a bug. If you have a post with a [ code] box which contains more than one line the line breaks are removed when you edit that post. (Occured in bug tracker - dunno if this happens in forum, too.)

hmm it might be a bug with the Bug Tracker.

Something similar happened on IPS's bug tracker (even though they are not using IP.Tracker)

Does it still happen if you use Preview first? and are you using the plain text or rich text editor?

Edited by Brian
Link to comment
Share on other sites

Does it still happen if you use Preview first? and are you using the plain text or rich text editor?

Doesn't matter since the formatting is gone as soon as you click the EDIT button.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.