From 810d0691f750b57f394c142a37ea564438c136ae Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 2 Sep 2016 20:45:51 +0200 Subject: [PATCH] langs --- htdocs/application/config/ace_languages.php | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/htdocs/application/config/ace_languages.php b/htdocs/application/config/ace_languages.php index 69b40d8..873c3e0 100644 --- a/htdocs/application/config/ace_languages.php +++ b/htdocs/application/config/ace_languages.php @@ -9,8 +9,23 @@ if (!defined('BASEPATH')) exit('No direct script access allowed'); //codemirror languages $config['ace_languages'] = array( - 'html5' => 'htmlmixed', + 'text' => 'plain_text', + 'html5' => 'html', 'css' => 'css', 'javascript' => 'javascript', 'php' => 'php', + 'python' => 'python', + 'ruby' => 'ruby', + 'lua' => 'lua', + 'erlang' => 'erlang', + 'go' => 'golang', + 'c' => 'c_cpp', + 'cpp' => 'c_cpp', + 'diff' => 'diff', + 'latex' => 'latex', + 'sql' => 'sql', + 'xml' => 'xml', + 'abap' => 'abap', + 'actionscript' => 'actionscript', + 'actionscript3' => 'actionscript', );