Kallithea issues archive

Issue #136: Syntax highlighting support

Reported by: Sam Jaques
State: new
Created on: 2015-05-29 08:23
Updated on: 2015-06-08 08:44

Description

It seems CodeMirror supports this already. This is used for the side-by-side diff, don't know if it's used in the default view.

E.g.:

var editor = CodeMirror.fromTextArea('code1', {
  height: "150px",
  parserfile: "codemirror/contrib/sql/js/parsesql.js",
  path: "codemirror/js/",
  stylesheet: "css/sqlcolors.css",
  textWrapping: true
});

Attachments

Comments

Comment by Mads Kiilerich, on 2015-06-06 17:14

Comment by Sam Jaques, on 2015-06-08 08:44

It's a feature request :) So I did not implement or investigate much more than this...