"Clike" code color scheme from CodeMirror not applied in Tiki
- Status
- Open
- Subject
- "Clike" code color scheme from CodeMirror not applied in Tiki
- Version
- 15.x
- Category
- Support request
- Feature
- Wiki Plugin (extends basic syntax)
- Resolution status
- New
- Submitted by
- Padlock
- Lastmod by
- drsassafras
- Rating
- Related-to
- Description
Polom, fantastic team,
I thought it would be useful to report this malfunction that I already mentioned in IRC and haven't yet found a solution for.
When inserting C++ code snippets using the {CODE()} plugin, many of the listed color schemes listed as available from CodeMirror do not work properly if not at all in wiki. I should be using 'clike' (c-like) for C++ code, but it leaves the code bits completely un-coloured.
For now I'm using the 'tiki' color scheme because it does apply some colors to my code, but those are not C compliant.
Here's an example snippet :
- include <utility>
Message::Message()
{m_number = 0;
}
Message::~Message()
{
}Message::Message(const Message &x)
{
m_owner = x.m_owner;
m_number = x.m_number;
m_dest = x.m_dest;
}
Thanks in advance if you have any suggestion,Regards,
Nick
- include <utility>
- Importance
- 5
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 6358
- Created
- Thursday 01 June, 2017 14:25:28 UTC
by Padlock - LastModif
- Friday 02 June, 2017 09:36:42 UTC