Jump to content

Cc suggestion

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
20 replies to this topic

#1
outsid3r

outsid3r

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 623 posts
This is something that i have noted sometime ago but i never talked about it but it would be a good idea to color the syntax in CODE tag, and it's something that can be easily made, how about it jordan?

#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
You mean like GeShI Highlighting?

[highlight=c]// This is a C++ Comment
int main() {
int somVar;
}[/highlight]

:)

Use [noparse][highlight=<lang>]// code[/highlight][/noparse] Replace <lang> with your language.

#3
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts
How about implementing the PEAR Text_Highlighter so we can have line numbers, but people can actually copy/paste the code.

#4
outsid3r

outsid3r

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 623 posts
Testing...

[highlight=c]

int main(){
printf("Hello codecall!\n");
return 0;
}

[/highlight]

EDIT:

That's great!! sorry jordan, obviously i didn't knew that codecall had this feature!

#5
Guest_Jordan_*

Guest_Jordan_*
  • Guests
That is ok. Most people aren't aware of it. We use to have buttons on the textarea for it but now we do not so people never know it is there.

Posted via CodeCall Mobile

#6
outsid3r

outsid3r

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 623 posts
Yea, i see. Anyway, your new avatar is cool :D

#7
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Thanks, I created it here: FACE YOUR MANGA | Shake yourself!

#8
outsid3r

outsid3r

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 623 posts
Thanks jordan, i have just created mine, this is great! it really looks like me :D

#9
Guest_Jordan_*

Guest_Jordan_*
  • Guests
I see it! Looks great! Nice work. :)

#10
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Only one thing with the Geshi or whatever that is... the numbers SUCK! You have to either quote the post to copy and paste.. or remove the numbers one by one.

#11
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts

TcM said:

Only one thing with the Geshi or whatever that is... the numbers SUCK! You have to either quote the post to copy and paste.. or remove the numbers one by one.

PEAR Text_Highlighter doesn't have this problem.

#12
Guest_Jaan_*

Guest_Jaan_*
  • Guests

John said:

How about implementing the PEAR Text_Highlighter so we can have line numbers, but people can actually copy/paste the code.

I don't think adding line numbers is good idea.. When people copy and paste codes then they will get those lines with the code and it's VERY annoying to delete them every time.

@edit: I just said the same thing that TcM said xP