Jump to content

CodeBox Version 2 ?! xD


Emistry

Recommended Posts


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

Haha..it is me again!! xD

recently when i surf some forum...i saw some codebox with custom function

7Wx23.png

as you can see in the Picture...

there are 4 Function...

Expand : ( Useless )

at that forum....this function work like the "Picasa Photo Viewer" when you view an image..

or maybe like Facebook...when you click on it..then it will expand the view...xD

Select:

we have this already xD

Wrap: ( Useless )

work just like those text file that have wrap function..

but i think this is not needed..

Line Number: ( Maybe useful )

anyway,...this would be my main concern above 4...xD

at that forum...the Line Number allow to Disable / Enable the line number view..

just like those pastebin...after you post the script..you will saw the Number Line at the side there...

Anyway, just a suggestion haha ~

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  201
  • Reputation:   47
  • Joined:  11/17/11
  • Last Seen:  

I actually really like this suggestion, +1 Rep ^

I always reference to Line # when trying to help people, and even though we can just copy and paste it, it would be easier to just say "Hey you need to make you you have quotes on line 4 and 7!" - This waythey know exactly where we are talking about. (Sometimes copy and paste could even take a while to find unless you use CTRL + F haha)

But yeah, i think everything there would be useful so i definitely back this one up, nice one!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  967
  • Reputation:   53
  • Joined:  11/13/11
  • Last Seen:  

why making codebox more complicated

~~~

first Expand

IPB has a feature of max size of a picture on topic view

but you can press the image for it to expand to its max resolution ( on upload )

and what you said is for code.. i think its not that needed...

second Select

No need for that

third Wrap

like Expand. its not needed...

forth line numbers

i think adding that is good

but for me the regular codebox looks fine

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  615
  • Reputation:   201
  • Joined:  11/09/11
  • Last Seen:  

Actually I have to agree... if someone has a line number error, and says I have a problem on line #154... but no one wants to select / copy it, open their editor, paste... just to find out the line numbers...

I'll look at coding this shortly (maybe tonight) shouldn't be hard...

Link to comment
Share on other sites

×
×
  • Create New...