Loading...
 
Skip to main content

"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
(0)
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 :

  1. 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

Importance
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6358
Created
Thursday 01 June, 2017 14:25:28 UTC
by Padlock
LastModif
Friday 02 June, 2017 09:36:42 UTC


Show PHP error messages