Syntax highlighting
Added by Yecine Yecine about 13 years ago
Hi,
I'm having some difficulties to higlight source code in my issues
I tried the folowing but it's not working
private ArrayList<Album> albumsList = null;
private Context context;
I have the code lines but no color changes ...
Do you have an idea why i'm getting this ?
My config
About your application's environment
Ruby version 1.8.7 (i686-linux)
RubyGems version 1.6.0
Rack version 1.1.2
Rails version 2.3.11
Active Record version 2.3.11
Active Resource version 2.3.11
Action Mailer version 2.3.11
Active Support version 2.3.11
Application root /home/.sites/28/site1/vhosts/redmine/htdocs
Environment production
Database adapter mysql
Database schema version 20110902000000
About your Redmine plugins
Redmine Code Review plugin 0.4.5
Redmine Pidoco Integration plugin 1.0
Redmine Gitrevision Download plugin 0.0.8
Redmine Light Box plugin 0.0.1
Redmine Spent Time Column 1.1.0
Redmine Auto Done 100% 0.0.1
Redcase 1.0 alpha 0.144
Redmine Time Tracker plugin 0.4
Redmine Spent Time Required 0.0.1
Redmine Logs plugin 0.0.2
Redmine Backlogs v0.6.20
Redmine Graphs plugin 0.1.0
Thanks
Replies (5)
RE: Syntax highlighting - Added by Mischa The Evil about 13 years ago
You were probably using wrong syntax earlier.
RE: Syntax highlighting - Added by Yecine Yecine about 13 years ago
I copy paste the text so it's the exact same syntax.
I have the line numbering and all but it's missing the colors
please check those images
https://skitch.com/yecinedhouib/gudqi/bug-114-code-my-first-project-redmine
https://skitch.com/yecinedhouib/gudqi/bug-114-code-my-first-project-redmine
RE: Syntax highlighting - Added by Mischa The Evil about 13 years ago
Hmmm... That looks odd. Is coderay loaded correctly? Other stylesheet issues? Does it work in the repository module (on files not diffs as these are generated by Redmine core AFAIR)? What Redmine version? Does it work running without the plugins?
RE: Syntax highlighting - Added by Yecine Yecine about 13 years ago
How do i know if coderay is loaded correctly ? I have checked in the plugin page there aren't any coderay plugin ...
And it doesn't work either on repository module in files ...
I can't see any other problems regarding stylesheet issue ...
And i am on Redmine 1.2.2.devel (MySQL)