diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-09-29 09:06:12 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-09-29 09:06:12 +0000 |
commit | 63d803c0b99ceece4e2ea45eef9993947a3b3c83 (patch) | |
tree | 0ee3caff14ea7981abbf5d5711a12db3245ffbf8 /public | |
parent | eb1e6d8c260e272fdee28ea1df5f034b2731215d (diff) | |
download | redmine-63d803c0b99ceece4e2ea45eef9993947a3b3c83.tar.gz redmine-63d803c0b99ceece4e2ea45eef9993947a3b3c83.zip |
Update the list with popular languages (#24681).
git-svn-id: http://svn.redmine.org/redmine/trunk@17533 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r-- | public/javascripts/jstoolbar/jstoolbar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/jstoolbar/jstoolbar.js b/public/javascripts/jstoolbar/jstoolbar.js index 41e12f830..dccff9952 100644 --- a/public/javascripts/jstoolbar/jstoolbar.js +++ b/public/javascripts/jstoolbar/jstoolbar.js @@ -453,7 +453,7 @@ jsToolBar.prototype.resizeDragStop = function(event) { /* Code highlighting menu */ jsToolBar.prototype.precodeMenu = function(fn){ - var hlLanguages = ["c", "clojure", "cpp", "css", "diff", "erb", "go", "groovy", "haml", "html", "java", "javascript", "json", "lua", "pascal", "php", "python", "ruby", "sass", "sql", "text", "xml", "yaml"]; + var hlLanguages = ["c", "cpp", "csharp", "css", "diff", "go", "groovy", "html", "java", "javascript", "objc", "perl", "php", "python", "r", "ruby", "sass", "scala", "shell", "sql", "swift", "xml", "yaml"]; var menu = $("<ul style='position:absolute;'></ul>"); for (var i = 0; i < hlLanguages.length; i++) { $("<li></li>").text(hlLanguages[i]).appendTo(menu).mousedown(function(){ |