Syntax highlighter test..
Posted: Sat Jul 07, 2012 4:12 am
by your-name-here
C++:Syntax: Select all
#ifndef __TEST_H
#define __TEST_H
#endif // __TEST_H
Python:
Posted: Thu Aug 09, 2012 1:20 am
by Absolute
The python syntax Highlighter looks broken, I have twice the amounts of lines in highlighted code:
ex:
http://www.sourcepython.com/forums/showthread.php?76-Player-index-userid&p=348&viewfull=1#post348
Posted: Thu Aug 09, 2012 1:33 am
by satoon101
Yeah, I reported this. It only shows like that on Chrome. I tested with IE and FF and they both look fine. What seems to be happening is the numbering goes straight down, like instead of 10 being in 1 line, it puts 1 on one line and 0 on the next... Not sure why that is happening, but it is being looked into.
Satoon
Posted: Thu Aug 09, 2012 9:43 am
by Monday
I'll look @ this issue when i get some time.. I am guessing a css issue or something goofy like that.
Posted: Thu Aug 09, 2012 5:33 pm
by Monday
Is the issue fixed? I edited one of the .css files and it seems to appear on my end?
Posted: Fri Aug 10, 2012 12:46 am
by satoon101
Still not working for me:
http://www.sourcepython.com/forums/showthread.php?15-Coding-StyleThe lines still only show 1 character for the line number on each line.
Satoon
Posted: Fri Aug 10, 2012 4:44 am
by satoon101
Not sure if you made more changes, but it seems to work correctly now. Thank you

Posted: Fri Aug 10, 2012 1:15 pm
by Monday
satoon101 wrote:Not sure if you made more changes, but it seems to work correctly now. Thank you
The change I made was in a css file, a browsers love to cache those things.. :P