Jump to content

[code] with scrollbar and Select Text button


Brian

Recommended Posts


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  243
  • Reputation:   206
  • Joined:  11/28/11
  • Last Seen:  


Ohh, that's cool.

Nice update!

Edited by Xantara
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

  •  my name is ? testing
testing ??

hehe. nice update.
love brian ajaja
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

it would be more fascinating if we can add Syntax Highlight for this...haha ~

anyway..great update ^^

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  974
  • Reputation:   41
  • Joined:  11/13/11
  • Last Seen:  

What's with that?

 

 

TRYING


 TRYING OLD ONE 



HEHEHE


THIS IS AMAZiNG xD


I LOVE SIGN OF THE DEVIL >


hahaha this is great bro :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  59
  • Topics Per Day:  0.01
  • Content Count:  396
  • Reputation:   53
  • Joined:  07/24/12
  • Last Seen:  


test

 

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  355
  • Reputation:   34
  • Joined:  02/09/12
  • Last Seen:  

Im cool, that's all.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  115
  • Reputation:   4
  • Joined:  10/25/12
  • Last Seen:  

easy to copy
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  128
  • Reputation:   1
  • Joined:  03/19/12
  • Last Seen:  

Nice!
hehe
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  764
  • Reputation:   220
  • Joined:  11/14/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

Hello Testing
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  764
  • Reputation:   220
  • Joined:  11/14/11
  • Last Seen:  

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...