Update ACE Editor to version 1.2.9
The new ACE editor introduces full support for emojis (and, thereby, UTF-16 characters with high- and low-surrogates). Hence, we can remove our custom fix. Further, this update will allow emojis to be used in pair programming sessions.
This commit is contained in:
82
vendor/assets/javascripts/ace/theme-gruvbox.js
vendored
Normal file
82
vendor/assets/javascripts/ace/theme-gruvbox.js
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
define("ace/theme/gruvbox",["require","exports","module","ace/lib/dom"], function(require, exports, module) {
|
||||
|
||||
exports.isDark = true;
|
||||
exports.cssClass = "ace-gruvbox";
|
||||
exports.cssText = ".ace-gruvbox .ace_gutter-active-line {\
|
||||
background-color: #3C3836;\
|
||||
}\
|
||||
.ace-gruvbox {\
|
||||
color: #EBDAB4;\
|
||||
background-color: #1D2021;\
|
||||
}\
|
||||
.ace-gruvbox .ace_invisible {\
|
||||
color: #504945;\
|
||||
}\
|
||||
.ace-gruvbox .ace_marker-layer .ace_selection {\
|
||||
background: rgba(179, 101, 57, 0.75)\
|
||||
}\
|
||||
.ace-gruvbox.ace_multiselect .ace_selection.ace_start {\
|
||||
box-shadow: 0 0 3px 0px #002240;\
|
||||
}\
|
||||
.ace-gruvbox .ace_keyword {\
|
||||
color: #8ec07c;\
|
||||
}\
|
||||
.ace-gruvbox .ace_comment {\
|
||||
font-style: italic;\
|
||||
color: #928375;\
|
||||
}\
|
||||
.ace-gruvbox .ace-statement {\
|
||||
color: red;\
|
||||
}\
|
||||
.ace-gruvbox .ace_variable {\
|
||||
color: #84A598;\
|
||||
}\
|
||||
.ace-gruvbox .ace_variable.ace_language {\
|
||||
color: #D2879B;\
|
||||
}\
|
||||
.ace-gruvbox .ace_constant {\
|
||||
color: #C2859A;\
|
||||
}\
|
||||
.ace-gruvbox .ace_constant.ace_language {\
|
||||
color: #C2859A;\
|
||||
}\
|
||||
.ace-gruvbox .ace_constant.ace_numeric {\
|
||||
color: #C2859A;\
|
||||
}\
|
||||
.ace-gruvbox .ace_string {\
|
||||
color: #B8BA37;\
|
||||
}\
|
||||
.ace-gruvbox .ace_support {\
|
||||
color: #F9BC41;\
|
||||
}\
|
||||
.ace-gruvbox .ace_support.ace_function {\
|
||||
color: #F84B3C;\
|
||||
}\
|
||||
.ace-gruvbox .ace_storage {\
|
||||
color: #8FBF7F;\
|
||||
}\
|
||||
.ace-gruvbox .ace_keyword.ace_operator {\
|
||||
color: #EBDAB4;\
|
||||
}\
|
||||
.ace-gruvbox .ace_punctuation.ace_operator {\
|
||||
color: yellow;\
|
||||
}\
|
||||
.ace-gruvbox .ace_marker-layer .ace_active-line {\
|
||||
background: #3C3836;\
|
||||
}\
|
||||
.ace-gruvbox .ace_marker-layer .ace_selected-word {\
|
||||
border-radius: 4px;\
|
||||
border: 8px solid #3f475d;\
|
||||
}\
|
||||
.ace-gruvbox .ace_print-margin {\
|
||||
width: 5px;\
|
||||
background: #3C3836;\
|
||||
}\
|
||||
.ace-gruvbox .ace_indent-guide {\
|
||||
background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQUFD4z6Crq/sfAAuYAuYl+7lfAAAAAElFTkSuQmCC\") right repeat-y;\
|
||||
}";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
|
||||
});
|
Reference in New Issue
Block a user