java/code/webapp/WEB-INF/pages/common/fragments/editarea.jspf | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 91e2cc74c8a6e81c7b3faee7866c609c04463449
Author: Stephen Herr <sherr(a)redhat.com>
Date: Mon Apr 9 09:44:47 2012 -0400
810871 - Reduce languages available in editarea to only common / useful ones.
diff --git a/java/code/webapp/WEB-INF/pages/common/fragments/editarea.jspf
b/java/code/webapp/WEB-INF/pages/common/fragments/editarea.jspf
index 4cc0e13..c7efbc1 100644
--- a/java/code/webapp/WEB-INF/pages/common/fragments/editarea.jspf
+++ b/java/code/webapp/WEB-INF/pages/common/fragments/editarea.jspf
@@ -7,6 +7,8 @@ editAreaLoader.init({
,allow_resize: "both"
,word_wrap: true
,toolbar: "search, go_to_line, |, undo, redo, |, syntax_selection, |,
highlight, reset_highlight, |, help"
- ,syntax: "bash"
+ ,syntax: "bash"
+ ,syntax_selection_allow: "bash,perl,php,python,ruby,xml"
+ ,start_highlight: true // default syntax highlighting on
});
</script>
Show replies by date