Open GoogleCodeExporter opened 9 years ago
My modified shCore.js (not shCore.java as written above, oops!) file can be
found
here: http://www.iancooper.name/javascripts/syntaxhighlighter/shCore.js
Line 73 contains the tabSize variable; I have changed it to 8 and the code
displays
properly. Example code:
http://www.iancooper.name/pages/javascript/JavaScriptEngine.java
Original comment by drcoops...@gmail.com
on 18 Sep 2008 at 3:20
I'm not sure what you mean. Tabs are automatically converted to form aligned
columns
based on 4-space tabs. Have a look at the "smart tabs" example to see what I
mean.
Original comment by alex.gor...@gmail.com
on 9 Oct 2008 at 1:30
If you use a text editor that assumes tabs work off of 8-space columns, the
syntaxhighlighter code's assumption of 4-space columns messes up the formatting
of
the code.
Original comment by drcoops...@gmail.com
on 9 Oct 2008 at 2:57
I see you point. I'll have a look at making this configurable.
Original comment by alex.gor...@gmail.com
on 9 Oct 2008 at 5:18
Original comment by alex.gor...@gmail.com
on 9 Oct 2008 at 5:18
Original issue reported on code.google.com by
drcoops...@gmail.com
on 18 Sep 2008 at 3:18