Merge remote-tracking branch 'remotes/origin/master' into worker

Conflicts:
	lib/ace/css/editor.css
This commit is contained in:
nightwing 2012-10-01 23:29:11 +04:00
commit cbfb690a2e
170 changed files with 8597 additions and 4188 deletions

View file

@ -12,9 +12,9 @@
.ace_content {
position: absolute;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
box-sizing: border-box;
cursor: text;
}
@ -27,13 +27,13 @@
z-index: 4;
}
.ace_gutter_active_line {
.ace_gutter-active-line {
position: absolute;
left: 0;
right: 0;
}
.ace_scroller.horscroll {
.ace_scroller.ace_scroll-left {
box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;
}
@ -62,50 +62,40 @@
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpGRTk5MTVGREIxNDkxMUUxOTc5Q0FFREQyMTNGMjBFQyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpGRTk5MTVGRUIxNDkxMUUxOTc5Q0FFREQyMTNGMjBFQyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkZFOTkxNUZCQjE0OTExRTE5NzlDQUVERDIxM0YyMEVDIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkZFOTkxNUZDQjE0OTExRTE5NzlDQUVERDIxM0YyMEVDIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+SIDkjAAAAJ1JREFUeNpi/P//PwMlgImBQkB7A6qrq/+DMC55FkIGKCoq4pVnpFkgTp069f/+/fv/r1u37r+tre1/kg0A+ptn9uzZYLaRkRHpLvjw4cNXWVlZhufPnzOcO3eOdAO0tbVPAjHDmzdvGA4fPsxIsgGSkpJmv379Ynj37h2DjIyMCMkG3LhxQ/T27dsMampqDHZ2dq/pH41DxwCAAAMAFdc68dUsFZgAAAAASUVORK5CYII=");
}
.ace_editor .ace_sb {
.ace_scrollbar {
position: absolute;
overflow-x: hidden;
overflow-y: scroll;
right: 0;
}
.ace_editor .ace_sb div {
.ace_scrollbar-inner {
position: absolute;
width: 1px;
left: 0;
}
.ace_editor .ace_print_margin_layer {
z-index: 0;
position: absolute;
overflow: hidden;
margin: 0;
left: 0;
height: 100%;
width: 100%;
}
.ace_editor .ace_print_margin {
.ace_print-margin {
position: absolute;
height: 100%;
}
.ace_editor > textarea {
.ace_text-input {
position: absolute;
z-index: 0;
width: 0.5em;
height: 1em;
opacity: 0;
background: transparent;
appearance: none;
-moz-appearance: none;
appearance: none;
border: none;
resize: none;
outline: none;
overflow: hidden;
}
.ace_editor > textarea.ace_composition {
.ace_text-input.ace_composition {
background: #fff;
color: #000;
z-index: 1000;
@ -121,15 +111,15 @@
white-space: nowrap;
height: 100%;
width: 100%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
box-sizing: border-box;
/* setting pointer-events: auto; on node under the mouse, which changes
during scroll, will break mouse wheel scrolling in Safari */
pointer-events: none;
}
.ace_gutter .ace_layer {
.ace_gutter-layer {
position: relative;
width: auto;
text-align: right;
@ -153,13 +143,16 @@
.ace_cursor {
z-index: 4;
position: absolute;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.ace_cursor.ace_hidden {
opacity: 0.2;
}
.ace_editor.multiselect .ace_cursor {
.ace_editor.ace_multiselect .ace_cursor {
border-left-width: 1px;
}
@ -182,23 +175,23 @@
z-index: 6;
}
.ace_marker-layer .ace_active_line {
.ace_marker-layer .ace_active-line {
position: absolute;
z-index: 2;
}
.ace_marker-layer .ace_selected_word {
.ace_marker-layer .ace_selected-word {
position: absolute;
z-index: 4;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
box-sizing: border-box;
}
.ace_line .ace_fold {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
height: 11px;
@ -213,9 +206,9 @@
color: transparent;
border: 1px solid black;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
border-radius: 2px;
cursor: pointer;
pointer-events: auto;
@ -232,11 +225,11 @@
background-position: center center, top left;
}
.ace_dragging .ace_content {
.ace_editor.ace_dragging .ace_content {
cursor: move;
}
.ace_gutter_tooltip {
.ace_gutter-tooltip {
background-color: #FFFFD5;
border: 1px solid gray;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
@ -245,11 +238,10 @@
padding: 4px;
position: absolute;
z-index: 300;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
box-sizing: border-box;
cursor: default;
white-space: pre-wrap;
}
.ace_folding-enabled > .ace_gutter-cell {
@ -257,9 +249,9 @@
}
.ace_fold-widget {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
box-sizing: border-box;
margin: 0 -12px 0 1px;
display: inline-block;
@ -275,28 +267,28 @@
border: 1px solid transparent;
}
.ace_fold-widget.end {
.ace_fold-widget.ace_end {
background-image: url("data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%05%00%00%00%05%08%06%00%00%00%8Do%26%E5%00%00%004IDATx%DAm%C7%C1%09%000%08C%D1%8C%ECE%C8E(%8E%EC%02)%1EZJ%F1%C1'%04%07I%E1%E5%EE%CAL%F5%A2%99%99%22%E2%D6%1FU%B5%FE0%D9x%A7%26Wz5%0E%D5%00%00%00%00IEND%AEB%60%82");
}
.ace_fold-widget.closed {
.ace_fold-widget.ace_closed {
background-image: url("data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%03%00%00%00%06%08%06%00%00%00%06%E5%24%0C%00%00%009IDATx%DA5%CA%C1%09%000%08%03%C0%AC*(%3E%04%C1%0D%BA%B1%23%A4Uh%E0%20%81%C0%CC%F8%82%81%AA%A2%AArGfr%88%08%11%11%1C%DD%7D%E0%EE%5B%F6%F6%CB%B8%05Q%2F%E9tai%D9%00%00%00%00IEND%AEB%60%82");
}
.ace_fold-widget:hover {
border: 1px solid rgba(0, 0, 0, 0.3);
background-color: rgba(255, 255, 255, 0.2);
-moz-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
-webkit-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
-moz-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}
.ace_fold-widget:active {
border: 1px solid rgba(0, 0, 0, 0.4);
background-color: rgba(0, 0, 0, 0.05);
-moz-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
-webkit-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
-moz-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}
/**
* Dark version for fold widgets
@ -304,10 +296,10 @@
.ace_dark .ace_fold-widget {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");
}
.ace_dark .ace_fold-widget.end {
.ace_dark .ace_fold-widget.ace_end {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");
}
.ace_dark .ace_fold-widget.closed {
.ace_dark .ace_fold-widget.ace_closed {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");
}
.ace_dark .ace_fold-widget:hover {
@ -315,32 +307,44 @@
background-color: rgba(255, 255, 255, 0.1);
}
.ace_dark .ace_fold-widget:active {
-moz-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
-webkit-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
-moz-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
}
.ace_fold-widget.invalid {
.ace_fold-widget.ace_invalid {
background-color: #FFB4B4;
border-color: #DE5555;
}
.ace_fade-fold-widgets .ace_fold-widget {
-webkit-transition: opacity 0.4s ease 0.05s;
-moz-transition: opacity 0.4s ease 0.05s;
-ms-transition: opacity 0.4s ease 0.05s;
-webkit-transition: opacity 0.4s ease 0.05s;
-o-transition: opacity 0.4s ease 0.05s;
-ms-transition: opacity 0.4s ease 0.05s;
transition: opacity 0.4s ease 0.05s;
opacity: 0;
}
.ace_fade-fold-widgets:hover .ace_fold-widget {
-webkit-transition: opacity 0.05s ease 0.05s;
-moz-transition: opacity 0.05s ease 0.05s;
-ms-transition: opacity 0.05s ease 0.05s;
-webkit-transition: opacity 0.05s ease 0.05s;
-o-transition: opacity 0.05s ease 0.05s;
-ms-transition: opacity 0.05s ease 0.05s;
transition: opacity 0.05s ease 0.05s;
opacity:1;
}
.ace_underline {
text-decoration: underline;
}
.ace_bold {
font-weight: bold;
}
.ace_italic {
font-style: italic;
}

View file

@ -378,7 +378,7 @@ var EditSession = function(text, mode) {
this.highlight = function(re) {
if (!this.$searchHighlight) {
var highlight = new SearchHighlight(null, "ace_selected_word", "text");
var highlight = new SearchHighlight(null, "ace_selected-word", "text");
this.$searchHighlight = this.addDynamicMarker(highlight);
}
this.$searchHighlight.setRegexp(re);

View file

@ -497,7 +497,7 @@ var Editor = function(renderer, session) {
} else {
range = new Range(cursor.row, 0, cursor.row+1, 0);
}
session.$highlightLineMarker = session.addMarker(range, "ace_active_line", "background");
session.$highlightLineMarker = session.addMarker(range, "ace_active-line", "background");
}
}
};

View file

@ -57,6 +57,7 @@ exports.handler.attach = function(editor) {
.emacs-mode .ace_cursor{\
border: 2px rgba(50,250,50,0.8) solid!important;\
-moz-box-sizing: border-box!important;\
-webkit-box-sizing: border-box!important;\
box-sizing: border-box!important;\
background-color: rgba(0,250,0,0.9);\
opacity: 0.5;\

View file

@ -37,6 +37,7 @@ var dom = require("../lib/dom");
var TextInput = function(parentNode, host) {
var text = dom.createElement("textarea");
text.className = "ace_text-input";
/*/ debug
text.style.opacity = 1
text.style.background = "rgba(0, 250, 0, 0.3)"
@ -46,13 +47,16 @@ var TextInput = function(parentNode, host) {
if (useragent.isTouchPad)
text.setAttribute("x-palm-disable-auto-cap", true);
text.setAttribute("wrap", "off");
text.wrap = "off";
text.spellcheck = false;
text.style.top = "-2em";
parentNode.insertBefore(text, parentNode.firstChild);
var PLACEHOLDER = useragent.isIE ? "\x01" : "\x01";
sendText();
var PLACEHOLDER = useragent.isIE ? "\x01" : "\x00";
reset(true);
if (isFocused())
host.onFocus();
var inCompostion = false;
var copied = false;

View file

@ -28,9 +28,9 @@
*
* ***** END LICENSE BLOCK ***** */
"use strict"
define(function(require, exports, module) {
"use strict";
var util = require("./util");
@ -42,42 +42,27 @@ var keepScrollPosition = function(editor, fn) {
editor.renderer.scrollToRow(editor.getCursorPosition().row - diff);
};
function Motion(getRange, type){
if (type == 'extend')
var extend = true;
else
var reverse = type;
this.nav = function(editor) {
var r = getRange(editor);
if (!r)
function Motion(m) {
if (typeof m == "function") {
var getPos = m;
m = this;
} else {
var getPos = m.getPos;
}
m.nav = function(editor, range, count, param) {
var a = getPos(editor, range, count, param, false);
if (!a)
return;
if (!r.end)
var a = r;
else if (reverse)
var a = r.start;
else
var a = r.end;
editor.clearSelection();
editor.moveCursorTo(a.row, a.column);
}
this.sel = function(editor){
var r = getRange(editor);
if (!r)
};
m.sel = function(editor, range, count, param) {
var a = getPos(editor, range, count, param, true);
if (!a)
return;
if (extend)
return editor.selection.setSelectionRange(r);
if (!r.end)
var a = r;
else if (reverse)
var a = r.start;
else
var a = r.end;
editor.selection.selectTo(a.row, a.column);
}
};
return m;
}
var nonWordRe = /[\s.\/\\()\"'-:,.;<>~!@#$%^&*|+=\[\]{}`~?]/;
@ -90,20 +75,20 @@ var StringStream = function(editor, cursor) {
this.row = cursor.row;
this.col = cursor.column;
var line = editor.session.getLine(this.row);
var maxRow = editor.session.getLength()
this.ch = line[this.col] || '\n'
var maxRow = editor.session.getLength();
this.ch = line[this.col] || '\n';
this.skippedLines = 0;
this.next = function() {
this.ch = line[++this.col] || this.handleNewLine(1);
//this.debug()
return this.ch;
}
};
this.prev = function() {
this.ch = line[--this.col] || this.handleNewLine(-1);
//this.debug()
return this.ch;
}
};
this.peek = function(dir) {
var ch = line[this.col + dir];
if (ch)
@ -113,7 +98,7 @@ var StringStream = function(editor, cursor) {
if (this.col == line.length - 1)
return '\n';
return editor.session.getLine(this.row + 1)[0] || '\n';
}
};
this.handleNewLine = function(dir) {
if (dir == 1){
@ -128,7 +113,7 @@ var StringStream = function(editor, cursor) {
return line[0] || '\n';
}
if (dir == -1) {
if (this.row == 0)
if (this.row === 0)
return '';
this.row --;
line = editor.session.getLine(this.row);
@ -136,11 +121,11 @@ var StringStream = function(editor, cursor) {
this.skippedLines--;
return '\n';
}
}
};
this.debug = function() {
console.log(line.substring(0, this.col)+'|'+this.ch+'\''+this.col+'\''+line.substr(this.col+1));
}
}
};
};
var Search = require("ace/search").Search;
var search = new Search();
@ -179,7 +164,7 @@ module.exports = {
else
str.next();
return {column: str.col, row: str.row}
return {column: str.col, row: str.row};
}),
"b": new Motion(function(editor) {
var str = new StringStream(editor);
@ -199,7 +184,7 @@ module.exports = {
return {column: str.col, row: str.row};
}),
"B": new Motion(function(editor) {
var str = new StringStream(editor)
var str = new StringStream(editor);
str.prev();
while(str.ch && !(!whiteRe.test(str.ch) && whiteRe.test(str.peek(-1))) && str.skippedLines > -2)
str.prev();
@ -208,7 +193,7 @@ module.exports = {
str.next();
return {column: str.col, row: str.row};
}, true),
}),
"e": new Motion(function(editor) {
var str = new StringStream(editor);
@ -389,98 +374,58 @@ module.exports = {
}
},
"f": {
"f": new Motion({
param: true,
handlesCount: true,
nav: function(editor, range, count, param) {
var ed = editor;
var cursor = ed.getCursorPosition();
getPos: function(editor, range, count, param, isSel) {
var cursor = editor.getCursorPosition();
var column = util.getRightNthChar(editor, cursor, param, count || 1);
if (typeof column === "number") {
ed.selection.clearSelection(); // Why does it select in the first place?
ed.moveCursorTo(cursor.row, column + cursor.column + 1);
cursor.column += column + (isSel ? 2 : 1);
return cursor;
}
},
sel: function(editor, range, count, param) {
var ed = editor;
var cursor = ed.getCursorPosition();
}
}),
"F": new Motion({
param: true,
handlesCount: true,
getPos: function(editor, range, count, param, isSel) {
var cursor = editor.getCursorPosition();
var column = util.getLeftNthChar(editor, cursor, param, count || 1);
if (typeof column === "number") {
cursor.column -= column + 1;
return cursor;
}
}
}),
"t": new Motion({
param: true,
handlesCount: true,
getPos: function(editor, range, count, param, isSel) {
var cursor = editor.getCursorPosition();
var column = util.getRightNthChar(editor, cursor, param, count || 1);
if (typeof column === "number") {
ed.moveCursorTo(cursor.row, column + cursor.column + 1);
cursor.column += column + (isSel ? 1 : 0);
return cursor;
}
}
},
"F": {
}),
"T": new Motion({
param: true,
handlesCount: true,
nav: function(editor, range, count, param) {
var ed = editor;
var cursor = ed.getCursorPosition();
getPos: function(editor, range, count, param, isSel) {
var cursor = editor.getCursorPosition();
var column = util.getLeftNthChar(editor, cursor, param, count || 1);
if (typeof column === "number") {
ed.selection.clearSelection(); // Why does it select in the first place?
ed.moveCursorTo(cursor.row, cursor.column - column - 1);
}
},
sel: function(editor, range, count, param) {
var ed = editor;
var cursor = ed.getCursorPosition();
var column = util.getLeftNthChar(editor, cursor, param, count || 1);
if (typeof column === "number") {
ed.moveCursorTo(cursor.row, cursor.column - column - 1);
cursor.column -= column;
return cursor;
}
}
},
"t": {
param: true,
handlesCount: true,
nav: function(editor, range, count, param) {
var ed = editor;
var cursor = ed.getCursorPosition();
var column = util.getRightNthChar(editor, cursor, param, count || 1);
if (typeof column === "number") {
ed.selection.clearSelection(); // Why does it select in the first place?
ed.moveCursorTo(cursor.row, column + cursor.column);
}
},
sel: function(editor, range, count, param) {
var ed = editor;
var cursor = ed.getCursorPosition();
var column = util.getRightNthChar(editor, cursor, param, count || 1);
if (typeof column === "number") {
ed.moveCursorTo(cursor.row, column + cursor.column);
}
}
},
"T": {
param: true,
handlesCount: true,
nav: function(editor, range, count, param) {
var ed = editor;
var cursor = ed.getCursorPosition();
var column = util.getLeftNthChar(editor, cursor, param, count || 1);
if (typeof column === "number") {
ed.selection.clearSelection(); // Why does it select in the first place?
ed.moveCursorTo(cursor.row, -column + cursor.column);
}
},
sel: function(editor, range, count, param) {
var ed = editor;
var cursor = ed.getCursorPosition();
var column = util.getLeftNthChar(editor, cursor, param, count || 1);
if (typeof column === "number") {
ed.moveCursorTo(cursor.row, -column + cursor.column);
}
}
},
}),
"^": {
nav: function(editor) {

View file

@ -2,7 +2,7 @@ define(function(require, exports, module) {
var registers = require("../registers");
var dom = require("../../../lib/dom");
dom.importCssString('.insert-mode. ace_cursor{\
dom.importCssString('.insert-mode .ace_cursor{\
border-left: 2px solid #333333;\
}\
.ace_dark.insert-mode .ace_cursor{\

View file

@ -177,7 +177,7 @@ var Cursor = function(parentEl) {
var overwrite = this.session.getOverwrite();
if (overwrite != this.overwrite)
this.$setOverite(overwrite);
this.$setOverwrite(overwrite);
// cache for textarea and gutter highlight
this.$pixelPos = pixelPos;
@ -185,7 +185,7 @@ var Cursor = function(parentEl) {
this.restartTimer();
};
this.$setOverite = function(overwrite) {
this.$setOverwrite = function(overwrite) {
this.overwrite = overwrite;
for (var i = this.cursors.length; i--; ) {
if (overwrite)

View file

@ -148,8 +148,8 @@ var Gutter = function(parentEl) {
c = foldWidgets[i] = this.session.getFoldWidget(i);
if (c)
html.push(
"<span class='ace_fold-widget ", c,
c == "start" && i == foldStart && i < fold.end.row ? " closed" : " open",
"<span class='ace_fold-widget ace_", c,
c == "start" && i == foldStart && i < fold.end.row ? " ace_closed" : " ace_open",
"' style='height:", config.lineHeight, "px",
"'></span>"
);

View file

@ -95,7 +95,7 @@ var Marker = function(parentEl) {
}
else {
this.drawSingleLineMarker(
html, range, marker.clazz + " start", config,
html, range, marker.clazz + " ace_start", config,
null, marker.type
);
}
@ -116,7 +116,7 @@ var Marker = function(parentEl) {
row, range.start.column,
row, this.session.getScreenLastRowColumn(row)
);
this.drawSingleLineMarker(stringBuilder, lineRange, clazz + " start", layerConfig, 1, "text");
this.drawSingleLineMarker(stringBuilder, lineRange, clazz + " ace_start", layerConfig, 1, "text");
// selection end
row = range.end.row;
@ -140,7 +140,7 @@ var Marker = function(parentEl) {
var left = Math.round(padding + range.start.column * config.characterWidth);
stringBuilder.push(
"<div class='", clazz, " start' style='",
"<div class='", clazz, " ace_start' style='",
"height:", height, "px;",
"right:0;",
"top:", top, "px;",

View file

@ -193,7 +193,7 @@
"state": "start",
"data": [
[ "support.constant", "+" ],
[ "text", " var highlight = new SearchHighlight(null, \"ace_selected_word\", \"text\");" ]
[ "text", " var highlight = new SearchHighlight(null, \"ace_selected-word\", \"text\");" ]
]
},
{

View file

@ -2,7 +2,7 @@
{
"state": "start",
"data": [
[ "xml_pe", "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" ]
[ "xml-pe", "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" ]
]
},
{

View file

@ -45,25 +45,28 @@ define(function(require, exports, module) {
};
var keywords = (
"this|throw|then|try|typeof|super|switch|return|break|by)|continue|" +
"this|throw|then|try|typeof|super|switch|return|break|by|continue|" +
"catch|class|in|instanceof|is|isnt|if|else|extends|for|forown|" +
"finally|function|while|when|new|no|not|delete|debugger|do|loop|of|off|" +
"or|on|unless|until|and|yes"
);
var langConstant = (
"true|false|null|undefined"
"true|false|null|undefined|NaN|Infinity"
);
var illegal = (
"case|const|default|function|var|void|with|enum|export|implements|" +
"interface|let|package|private|protected|public|static|yield|" +
"__hasProp|extends|slice|bind|indexOf"
"__hasProp|slice|bind|indexOf"
);
var supportClass = (
"Array|Boolean|Date|Function|Number|Object|RegExp|ReferenceError|" +
"String|RangeError|SyntaxError|Error|EvalError|TypeError|URIError"
"Array|Boolean|Date|Function|Number|Object|RegExp|ReferenceError|String|" +
"Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|" +
"SyntaxError|TypeError|URIError|" +
"ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|" +
"Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray"
);
var supportFunction = (
@ -71,26 +74,44 @@ define(function(require, exports, module) {
"encodeURIComponent|decodeURI|decodeURIComponent|String|"
);
var variableLanguage = (
"window|arguments|prototype|document"
);
var keywordMapper = this.createKeywordMapper({
"keyword": keywords,
"constant.language": langConstant,
"invalid.illegal": illegal,
"language.support.class": supportClass,
"language.support.function": supportFunction,
"variable.language": variableLanguage
}, "identifier");
var headRe = "[$A-Za-z_\\x7f-\\uffff]";
var functionRe = {
"({args})->": {
token: ["paren.lparen", "text", "paren.lparen", "text", "variable.parameter", "text", "paren.rparen", "text", "paren.rparen", "text", "storage.type"],
regex: "(\\()(\\s*)(\\{)(\\s*)(" + headRe + "[$\\w\\s,\\x7f-\\uffff]*" + ")(\\s*)(\\})(\\s*)(\\))(\\s*)([\\-=]>)"
},
"({})->": {
token: ["paren.lparen", "text", "paren.lparen", "text", "paren.rparen", "text", "paren.rparen", "text", "storage.type"],
regex: "(\\()(\\s*)(\\{)(\\s*)(\\})(\\s*)(\\))(\\s*)([\\-=]>)"
},
"(args)->": {
token: ["paren.lparen", "text", "variable.parameter", "text", "paren.rparen", "text", "storage.type"],
regex: "(\\()(\\s*)(" + [headRe, headRe + "[$\\w\\x7f-\\uffff]", headRe + "[^#)]*[^#(){}=,\\/\\\\]"].join("|") + ")(\\s*)(\\))(\\s*)([\\-=]>)"
},
"()->": {
token: ["paren.lparen", "text", "paren.rparen", "text", "storage.type"],
regex: "(\\()(\\s*)(\\))(\\s*)([\\-=]>)"
}
};
this.$rules = {
start : [
{
token : "identifier",
regex : "(?:(?:\\.|::)\\s*)" + identifier
}, {
token : "variable",
regex : "@(?:" + identifier + ")?"
}, {
token: keywordMapper,
regex : identifier
}, {
token : "constant.numeric",
regex : "(?:0x[\\da-fA-F]+|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:[eE][+-]?\\d+)?)"
}, {
@ -134,12 +155,84 @@ define(function(require, exports, module) {
}, {
token : "comment",
regex : "#.*"
}, {
token : [
"punctuation.operator", "identifier"
],
regex : "(\\.)(" + illegal + ")"
}, {
token : "punctuation.operator",
regex : "\\."
}, {
//class A extends B
token : [
"keyword", "text", "language.support.class", "text", "keyword", "text", "language.support.class"
],
regex : "(class)(\\s+)(" + identifier + ")(\\s+)(extends)(\\s+)(" + identifier + ")"
}, {
//class A
token : [
"keyword", "text", "language.support.class"
],
regex : "(class)(\\s+)(" + identifier + ")"
}, {
//play = ({args}) ->
//play : ({args}) ->
token : [
"entity.name.function", "text", "keyword.operator", "text"
].concat(functionRe["({args})->"].token),
regex : "(" + identifier + ")(\\s*)(=|:)(\\s*)" + functionRe["({args})->"].regex
}, {
//play = ({}) ->
//play : ({}) ->
token : [
"entity.name.function", "text", "keyword.operator", "text"
].concat(functionRe["({})->"].token),
regex : "(" + identifier + ")(\\s*)(=|:)(\\s*)" + functionRe["({})->"].regex
}, {
//play = (args) ->
//play : (args) ->
token : [
"entity.name.function", "text", "keyword.operator", "text"
].concat(functionRe["(args)->"].token),
regex : "(" + identifier + ")(\\s*)(=|:)(\\s*)" + functionRe["(args)->"].regex
}, {
//play = () ->
//play : () ->
token : [
"entity.name.function", "text", "keyword.operator", "text"
].concat(functionRe["()->"].token),
regex : "(" + identifier + ")(\\s*)(=|:)(\\s*)" + functionRe["()->"].regex
}, {
//play = ->
//play : ->
token : [
"entity.name.function", "text", "keyword.operator", "text", "storage.type"
],
regex : "(" + identifier + ")(\\s*)(=|:)(\\s*)([\\-=]>)"
},
functionRe["({args})->"],
functionRe["({})->"],
functionRe["(args)->"],
functionRe["()->"]
, {
token : "identifier",
regex : "(?:(?:\\.|::)\\s*)" + identifier
}, {
token : "variable",
regex : "@(?:" + identifier + ")?"
}, {
token: keywordMapper,
regex : identifier
}, {
token : "punctuation.operator",
regex : "\\?|\\:|\\,|\\."
}, {
token : "storage.type",
regex : "[\\-=]>"
}, {
token : "keyword.operator",
regex : "(?:[\\-=]>|[-+*/%<>&|^!?=]=|>>>=?|\\-\\-|\\+\\+|::|&&=|\\|\\|=|<<=|>>=|\\?\\.|\\.{2,3}|[!*+-=><])"
regex : "(?:[-+*/%<>&|^!?=]=|>>>=?|\\-\\-|\\+\\+|::|&&=|\\|\\|=|<<=|>>=|\\?\\.|\\.{2,3}|[!*+-=><])"
}, {
token : "paren.lparen",
regex : "[({[]"

View file

@ -41,6 +41,11 @@ var assert = require("../test/assertions");
module.exports = {
setUp : function() {
this.tokenizer = new Mode().getTokenizer();
this.testTokens = function(tokens, correct) {
correct.forEach(function(type, i) {
assert.equal(tokens[i].type, type);
});
};
},
"test: tokenize keyword": function() {
@ -48,7 +53,208 @@ module.exports = {
assert.equal(tokens.length, 1);
assert.equal(tokens[0].type, "keyword");
},
"test: tokenize function: 'foo = ({args}) ->'": function() {
var tokens = this.tokenizer.getLineTokens("foo = ({args}) ->", "start").tokens;
var correct = [
"entity.name.function", "text", "keyword.operator", "text",
"paren.lparen", "paren.lparen", "variable.parameter", "paren.rparen", "paren.rparen", "text", "storage.type"
];
assert.equal(tokens.length, 11);
this.testTokens(tokens, correct);
tokens = this.tokenizer.getLineTokens("foo = ({arg1, arg2}) ->", "start").tokens;
assert.equal(tokens.length, 11);
this.testTokens(tokens, correct);
tokens = this.tokenizer.getLineTokens("foo : ({arg1, arg2}) ->", "start").tokens;
assert.equal(tokens.length, 11);
this.testTokens(tokens, correct);
},
"test: tokenize function: invalid case: 'foo = ({args}) ->'": function() {
var tokens = this.tokenizer.getLineTokens("foo = ({0abc}) ->", "start").tokens;
assert.notEqual(tokens[0].type, "entity.name.function");
tokens = this.tokenizer.getLineTokens("foo = ({/abc}) ->", "start").tokens;
assert.notEqual(tokens[0].type, "entity.name.function");
tokens = this.tokenizer.getLineTokens("foo = ({abc/}) ->", "start").tokens;
assert.notEqual(tokens[0].type, "entity.name.function");
tokens = this.tokenizer.getLineTokens("foo = ({#abc}) ->", "start").tokens;
assert.notEqual(tokens[0].type, "entity.name.function");
tokens = this.tokenizer.getLineTokens("foo = ({abc#}) ->", "start").tokens;
assert.notEqual(tokens[0].type, "entity.name.function");
tokens = this.tokenizer.getLineTokens("foo = ({)abc}) ->", "start").tokens;
assert.notEqual(tokens[0].type, "entity.name.function");
tokens = this.tokenizer.getLineTokens("foo = ({abc)}) ->", "start").tokens;
assert.notEqual(tokens[0].type, "entity.name.function");
tokens = this.tokenizer.getLineTokens("foo = ({a{bc}) ->", "start").tokens;
assert.notEqual(tokens[0].type, "entity.name.function");
},
"test: tokenize function: 'foo = ({}) ->'": function() {
var tokens = this.tokenizer.getLineTokens("foo = ({}) ->", "start").tokens;
var correct = [
"entity.name.function", "text", "keyword.operator", "text",
"paren.lparen", "paren.lparen", "paren.rparen", "paren.rparen", "text", "storage.type"
];
assert.equal(tokens.length, 10);
this.testTokens(tokens, correct);
tokens = this.tokenizer.getLineTokens("foo : ({}) ->", "start").tokens;
assert.equal(tokens.length, 10);
this.testTokens(tokens, correct);
tokens = this.tokenizer.getLineTokens("foo = ({ }) ->", "start").tokens;
correct = [
"entity.name.function", "text", "keyword.operator", "text",
"paren.lparen", "paren.lparen", "text", "paren.rparen", "paren.rparen", "text", "storage.type"
];
assert.equal(tokens.length, 11);
this.testTokens(tokens, correct);
},
"test: tokenize function: 'foo = (args) ->'": function() {
var tokens = this.tokenizer.getLineTokens("foo = (args) ->", "start").tokens;
var correct = [
"entity.name.function", "text", "keyword.operator", "text",
"paren.lparen", "variable.parameter", "paren.rparen", "text", "storage.type"
];
assert.equal(tokens.length, 9);
this.testTokens(tokens, correct);
tokens = this.tokenizer.getLineTokens("foo = (arg1, arg2) ->", "start").tokens;
assert.equal(tokens.length, 9);
this.testTokens(tokens, correct);
tokens = this.tokenizer.getLineTokens("foo = (arg1 = 1, arg2 = 'name') ->", "start").tokens;
assert.equal(tokens.length, 9);
this.testTokens(tokens, correct);
},
"test: tokenize function: invalid case: 'foo=(args) ->'": function() {
var tokens = this.tokenizer.getLineTokens("foo=(args#) ->", "start").tokens;
assert.notEqual(tokens[0].type, "entity.name.function");
tokens = this.tokenizer.getLineTokens("foo=(args=) ->", "start").tokens;
assert.notEqual(tokens[0].type, "entity.name.function");
tokens = this.tokenizer.getLineTokens("foo=(args{) ->", "start").tokens;
assert.notEqual(tokens[0].type, "entity.name.function");
tokens = this.tokenizer.getLineTokens("foo=(args}) ->", "start").tokens;
assert.notEqual(tokens[0].type, "entity.name.function");
tokens = this.tokenizer.getLineTokens("foo=(}args) ->", "start").tokens;
assert.notEqual(tokens[0].type, "entity.name.function");
tokens = this.tokenizer.getLineTokens("foo=(a)rgs) ->", "start").tokens;
assert.notEqual(tokens[0].type, "entity.name.function");
tokens = this.tokenizer.getLineTokens("foo=(args/) ->", "start").tokens;
assert.notEqual(tokens[0].type, "entity.name.function");
tokens = this.tokenizer.getLineTokens("foo=(args\\) ->", "start").tokens;
assert.notEqual(tokens[0].type, "entity.name.function");
},
"test: tokenize function: 'foo = () ->'": function() {
var tokens = this.tokenizer.getLineTokens("foo = () ->", "start").tokens;
var correct = [
"entity.name.function", "text", "keyword.operator", "text",
"paren.lparen", "paren.rparen", "text", "storage.type"
];
assert.equal(tokens.length, 8);
this.testTokens(tokens, correct);
tokens = this.tokenizer.getLineTokens("foo : ( ) ->", "start").tokens;
correct = [
"entity.name.function", "text", "keyword.operator", "text",
"paren.lparen", "text", "paren.rparen", "text", "storage.type"
];
assert.equal(tokens.length, 9);
this.testTokens(tokens, correct);
},
"test: tokenize function: 'window.foo = (args) ->'": function() {
var tokens = this.tokenizer.getLineTokens("window.foo = (args) ->", "start").tokens;
var correct = [
"variable.language", "punctuation.operator", "entity.name.function", "text", "keyword.operator", "text",
"paren.lparen", "variable.parameter", "paren.rparen", "text", "storage.type"
];
assert.equal(tokens.length, 11);
this.testTokens(tokens, correct);
this.tokenizer.getLineTokens("window.foo = (args) ->", "start").tokens;
assert.equal(tokens.length, 11);
this.testTokens(tokens, correct);
},
"test: tokenize function: 'foo = ->'": function() {
var tokens = this.tokenizer.getLineTokens("foo = ->", "start").tokens;
var correct = [
"entity.name.function", "text", "keyword.operator", "text", "storage.type"
];
assert.equal(tokens.length, 5);
this.testTokens(tokens, correct);
this.tokenizer.getLineTokens("foo : ->", "start").tokens;
assert.equal(tokens.length, 5);
this.testTokens(tokens, correct);
},
"test: tokenize callback function: 'foo bar: 1, (args) ->'": function() {
var tokens = this.tokenizer.getLineTokens("foo bar: 1, (args) ->", "start").tokens;
var correct = [
"identifier", "text", "identifier", "punctuation.operator", "text", "constant.numeric", "punctuation.operator", "text",
"paren.lparen", "variable.parameter", "paren.rparen", "text", "storage.type"
];
assert.equal(tokens.length, 13);
this.testTokens(tokens, correct);
},
"test: tokenize class: 'class Foo'": function() {
var tokens = this.tokenizer.getLineTokens("class Foo", "start").tokens;
var correct = [
"keyword", "text", "language.support.class"
];
assert.equal(tokens.length, 3);
this.testTokens(tokens, correct);
},
"test: tokenize class 'class Foo extends Bar'": function() {
var tokens = this.tokenizer.getLineTokens("class Foo extends Bar", "start").tokens;
var correct = [
"keyword", "text", "language.support.class", "text", "keyword", "text", "language.support.class"
];
assert.equal(tokens.length, 7);
this.testTokens(tokens, correct);
},
"test: tokenize illegal name property: 'foo.static.function'": function() {
var tokens = this.tokenizer.getLineTokens("foo.static.function", "start").tokens;
var correct = [
"identifier", "punctuation.operator", "identifier", "punctuation.operator", "identifier"
];
assert.equal(tokens.length, 5);
this.testTokens(tokens, correct);
},
// TODO: disable. not yet implemented
"!test tokenize string with interpolation": function() {
var tokens = this.tokenizer.getLineTokens('"#{ 22 / 7 } is a decent approximation of π"', "start").tokens;

View file

@ -49,7 +49,7 @@ var ColdfusionHighlightRules = function() {
regex : "<\\!\\[CDATA\\[",
next : "cdata"
}, {
token : "xml_pe",
token : "xml-pe",
regex : "<\\?.*?\\?>"
}, {
token : "comment",

View file

@ -68,7 +68,7 @@ var HtmlHighlightRules = function() {
regex : "<\\!\\[CDATA\\[",
next : "cdata"
}, {
token : "xml_pe",
token : "xml-pe",
regex : "<\\?.*?\\?>"
}, {
token : "comment",
@ -76,7 +76,7 @@ var HtmlHighlightRules = function() {
regex : "<\\!--",
next : "comment"
}, {
token : "xml_pe",
token : "xml-pe",
regex : "<\\!.*?>"
}, {
token : "meta.tag",

View file

@ -70,7 +70,7 @@ var JavaScriptHighlightRules = function() {
var kwBeforeRe = "case|do|else|finally|in|instanceof|return|throw|try|typeof|yield";
// TODO: Unicode escape sequences
var identifierRe = "[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\d\\$_\u00a1-\uffff]*\\b";
var identifierRe = "[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\\d\\$_\u00a1-\uffff]*\\b";
var escapedRe = "\\\\(?:x[0-9a-fA-F]{2}|" + // hex
"u[0-9a-fA-F]{4}|" + // unicode

61
lib/ace/mode/jsp.js Normal file
View file

@ -0,0 +1,61 @@
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2010, Ajax.org B.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of Ajax.org B.V. nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* ***** END LICENSE BLOCK ***** */
define(function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var TextMode = require("./text").Mode;
var Tokenizer = require("../tokenizer").Tokenizer;
var JspHighlightRules = require("./jsp_highlight_rules").JspHighlightRules;
var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent;
var Range = require("../range").Range;
var CstyleBehaviour = require("./behaviour/cstyle").CstyleBehaviour;
var CStyleFoldMode = require("./folding/cstyle").FoldMode;
var JavaScriptMode = require("./javascript").Mode;
var CssMode = require("./css").Mode;
var Mode = function() {
var highlighter = new JspHighlightRules();
this.$tokenizer = new Tokenizer(highlighter.getRules());
this.$outdent = new MatchingBraceOutdent();
this.$behaviour = new CstyleBehaviour();
this.foldingRules = new CStyleFoldMode();
};
oop.inherits(Mode, TextMode);
(function() {
}).call(Mode.prototype);
exports.Mode = Mode;
});

View file

@ -0,0 +1,85 @@
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2010, Ajax.org B.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of Ajax.org B.V. nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* ***** END LICENSE BLOCK ***** */
define(function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var HtmlHighlightRules = require("./html_highlight_rules").HtmlHighlightRules;
var JavaHighlightRules = require("./java_highlight_rules").JavaHighlightRules;
var JspHighlightRules = function() {
HtmlHighlightRules.call(this);
for (var i in this.$rules) {
this.$rules[i].unshift({
token : "meta.tag", // jsp open tag
regex : "<%@?|<%=?|<jsp:[^>]+>",
next : "jsp-start"
});
}
var builtinVariables = 'request|response|out|session|' +
'application|config|pageContext|page|Exception';
var keywords = 'page|include|taglib';
this.embedRules(JavaHighlightRules, "jsp-");
this.$rules["start"].unshift({
token : "comment",
merge : true,
regex : "<%--",
next : "comment"
});
this.$rules["jsp-start"].unshift({
token : "meta.tag", // jsp close tag
regex : "%>|<\\/jsp:[^>]+>",
next : "start"
},
{
token: "variable.language",
regex : builtinVariables
}, {
token: "keyword",
regex : keywords
});
this.$rules.comment.unshift({
token : "comment",
regex : ".*?--%>",
next : "start"
});
};
oop.inherits(JspHighlightRules, HtmlHighlightRules);
exports.JspHighlightRules = JspHighlightRules;
});

View file

@ -87,7 +87,7 @@ var LiquidHighlightRules = function() {
regex : "<\\!\\[CDATA\\[",
next : "cdata"
}, {
token : "xml_pe",
token : "xml-pe",
regex : "<\\?.*?\\?>"
}, {
token : "comment",

View file

@ -69,9 +69,9 @@ var MarkdownHighlightRules = function() {
regex: "^\\-+(?=\\s*$)"
}, { // header
token : function(value) {
return "markup.heading." + value.length;
return "markup.heading." + value.search(/[^#]/);
},
regex : "^#{1,6}"
regex : "^#{1,6}(?:[^ #].*| +.*(?:[^ #].*|[^ ]+.* +#+ *))$"
}, github_embed("(?:javascript|js)", "js-"),
github_embed("xml", "xml-"),
github_embed("html", "html-"),

View file

@ -0,0 +1,100 @@
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2012, Ajax.org B.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of Ajax.org B.V. nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*
* Contributor(s):
*
* quexer <quexer AT gmail DOT com>
*
* ***** END LICENSE BLOCK ***** */
if (typeof process !== "undefined") {
require("amd-loader");
}
define(function(require, exports, module) {
"use strict";
var Mode = require("./markdown").Mode;
var assert = require("../test/assertions");
module.exports = {
setUp : function() {
this.tokenizer = new Mode().getTokenizer();
},
"test: header 1 ": function() {
var tokens = this.tokenizer.getLineTokens("#f", "start").tokens;
assert.equal(tokens.length, 1);
assert.equal(tokens[0].type, 'markup.heading.1');
},
"test: header 2": function() {
var tokens = this.tokenizer.getLineTokens("## foo", "start").tokens;
assert.equal(tokens.length, 1);
assert.equal(tokens[0].type, 'markup.heading.2');
},
"test: header ends with ' #'": function() {
var tokens = this.tokenizer.getLineTokens("# # # ", "start").tokens;
assert.equal(tokens.length, 1);
assert.equal(tokens[0].type, 'markup.heading.1');
},
"test: header ends with '#'": function() {
var tokens = this.tokenizer.getLineTokens("#foo# ", "start").tokens;
assert.equal(tokens.length, 1);
assert.equal(tokens[0].type, 'markup.heading.1');
},
"test: 6+ #s is not a valid header": function() {
var tokens = this.tokenizer.getLineTokens("####### foo", "start").tokens;
assert.equal(tokens.length, 1);
assert.equal(tokens[0].type, 'text');
},
"test: # followed be only space is not a valid header": function() {
var tokens = this.tokenizer.getLineTokens("# ", "start").tokens;
assert.equal(tokens.length, 1);
assert.equal(tokens[0].type, 'text');
},
"test: only space between #s is not a valid header": function() {
var tokens = this.tokenizer.getLineTokens("# #", "start").tokens;
assert.equal(tokens.length, 1);
assert.equal(tokens[0].type, 'text');
}
};
});
if (typeof module !== "undefined" && module === require.main) {
require("asyncjs").test.testcase(module.exports).exec();
}

View file

@ -1040,7 +1040,7 @@ oop.inherits(PhpLangHighlightRules, TextHighlightRules);
var PhpHighlightRules = function() {
this.$rules = new HtmlHighlightRules().getRules();
HtmlHighlightRules.call(this);
for (var i in this.$rules) {
this.$rules[i].unshift({
@ -1059,9 +1059,7 @@ var PhpHighlightRules = function() {
});
};
oop.inherits(PhpHighlightRules, TextHighlightRules);
oop.inherits(PhpHighlightRules, HtmlHighlightRules);
exports.PhpHighlightRules = PhpHighlightRules;
});

View file

@ -45,7 +45,7 @@ var XmlHighlightRules = function() {
regex : "<\\!\\[CDATA\\[",
next : "cdata"
}, {
token : "xml_pe",
token : "xml-pe",
regex : "<\\?.*?\\?>"
}, {
token : "comment",
@ -53,7 +53,7 @@ var XmlHighlightRules = function() {
regex : "<\\!--",
next : "comment"
}, {
token : "xml_pe",
token : "xml-pe",
regex : "<\\!.*?>"
}, {
token : "meta.tag", // opening tag

View file

@ -121,12 +121,12 @@ var XQueryParser = function(input, state) {
this.ap = function(token)
{
this.addToken(token, "xml_pe");
this.addToken(token, "xml-pe");
};
this.ax = function(start, stop)
{
this.highlighter.addToken(start.getStartIndex(), stop.getStopIndex(), "xml_pe");
this.highlighter.addToken(start.getStartIndex(), stop.getStopIndex(), "xml-pe");
};
this.at = function(start, stop)

View file

@ -48,7 +48,7 @@ var XQueryHighlightRules = function() {
regex : "<\\!\\[CDATA\\[",
next : "cdata"
}, {
token : "xml_pe",
token : "xml-pe",
regex : "<\\?.*?\\?>"
}, {
token : "comment",

View file

@ -61,7 +61,7 @@ function GutterHandler(mouseHandler) {
var tooltipTimeout, mouseEvent, tooltip, tooltipAnnotation;
function createTooltip() {
tooltip = dom.createElement("div");
tooltip.className = "ace_gutter_tooltip";
tooltip.className = "ace_gutter-tooltip";
tooltip.style.maxWidth = "500px";
tooltip.style.display = "none";
editor.container.appendChild(tooltip);

View file

@ -44,7 +44,7 @@ function DefaultHandlers(mouseHandler) {
editor.setDefaultHandler("dblclick", this.onDoubleClick.bind(mouseHandler));
editor.setDefaultHandler("tripleclick", this.onTripleClick.bind(mouseHandler));
editor.setDefaultHandler("quadclick", this.onQuadClick.bind(mouseHandler));
editor.setDefaultHandler("mousewheel", this.onScroll.bind(mouseHandler));
editor.setDefaultHandler("mousewheel", this.onMouseWheel.bind(mouseHandler));
var exports = ["select", "startSelect", "drag", "dragEnd", "dragWait",
"dragWaitEnd", "startDrag", "focusWait"];
@ -298,7 +298,10 @@ function DefaultHandlers(mouseHandler) {
this.setState("null");
};
this.onScroll = function(ev) {
this.onMouseWheel = function(ev) {
if (ev.getShiftKey() || ev.getAccelKey()){
return;
}
var editor = this.editor;
var isScrolable = editor.renderer.isScrollableBy(ev.wheelX * ev.speed, ev.wheelY * ev.speed);
if (isScrolable) {

View file

@ -399,7 +399,7 @@ var Editor = require("./editor").Editor;
return;
this.inMultiSelectMode = true;
this.setStyle("multiselect");
this.setStyle("ace_multiselect");
this.keyBinding.addKeyboardHandler(commands.keyboardHandler);
this.commands.on("exec", this.$onMultiSelectExec);
@ -412,7 +412,7 @@ var Editor = require("./editor").Editor;
return;
this.inMultiSelectMode = false;
this.unsetStyle("multiselect");
this.unsetStyle("ace_multiselect");
this.keyBinding.removeKeyboardHandler(commands.keyboardHandler);
this.commands.removeEventListener("exec", this.$onMultiSelectExec);

View file

@ -52,9 +52,10 @@ var EventEmitter = require("./lib/event_emitter").EventEmitter;
**/
var ScrollBar = function(parent) {
this.element = dom.createElement("div");
this.element.className = "ace_sb";
this.element.className = "ace_scrollbar";
this.inner = dom.createElement("div");
this.inner.className = "ace_scrollbar-inner";
this.element.appendChild(this.inner);
parent.appendChild(this.element);

File diff suppressed because one or more lines are too long

View file

@ -1,18 +1,10 @@
.ace-chrome .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-chrome .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-chrome .ace_gutter {
background: #ebebeb;
color: #333;
overflow : hidden;
}
.ace-chrome .ace_print_margin {
.ace-chrome .ace_print-margin {
width: 1px;
background: #e8e8e8;
}
@ -64,7 +56,7 @@
.ace-chrome .ace_line .ace_support.ace_type,
.ace-chrome .ace_line .ace_support.ace_class
.ace-chrome .ace_line .ace_support.ace_other, {
.ace-chrome .ace_line .ace_support.ace_other {
color: rgb(109, 121, 222);
}
@ -96,7 +88,7 @@
color: rgb(49, 132, 149);
}
.ace-chrome .ace_line .ace_xml_pe {
.ace-chrome .ace_line .ace_xml-pe {
color: rgb(104, 104, 91);
}
@ -104,9 +96,6 @@
color: #0000A2;
}
.ace-chrome .ace_markup.ace_underline {
text-decoration:underline;
}
.ace-chrome .ace_markup.ace_heading {
color: rgb(12, 7, 255);
@ -133,15 +122,15 @@
border: 1px solid rgb(192, 192, 192);
}
.ace-chrome .ace_marker-layer .ace_active_line {
.ace-chrome .ace_marker-layer .ace_active-line {
background: rgba(0, 0, 0, 0.07);
}
.ace-chrome .ace_gutter_active_line {
.ace-chrome .ace_gutter-active-line {
background-color : #dcdcdc;
}
.ace-chrome .ace_marker-layer .ace_selected_word {
.ace-chrome .ace_marker-layer .ace_selected-word {
background: rgb(250, 250, 255);
border: 1px solid rgb(200, 200, 250);
}

View file

@ -1,124 +1,124 @@
.ace-clouds .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-clouds .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-clouds .ace_gutter {
background: #ebebeb;
color: #333;
color: #333
}
.ace-clouds .ace_print_margin {
.ace-clouds .ace_print-margin {
width: 1px;
background: #e8e8e8;
background: #e8e8e8
}
.ace-clouds .ace_scroller {
background-color: #FFFFFF;
background-color: #FFFFFF
}
.ace-clouds .ace_text-layer {
color: #000000;
color: #000000
}
.ace-clouds .ace_cursor {
border-left: 2px solid #000000;
border-left: 2px solid #000000
}
.ace-clouds .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #000000;
border-bottom: 1px solid #000000
}
.ace-clouds .ace_marker-layer .ace_selection {
background: #BDD5FC;
background: #BDD5FC
}
.ace-clouds.multiselect .ace_selection.start {
.ace-clouds.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #FFFFFF;
border-radius: 2px;
border-radius: 2px
}
.ace-clouds .ace_marker-layer .ace_step {
background: rgb(255, 255, 0);
background: rgb(255, 255, 0)
}
.ace-clouds .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid #BFBFBF;
border: 1px solid #BFBFBF
}
.ace-clouds .ace_marker-layer .ace_active_line {
background: #FFFBD1;
.ace-clouds .ace_marker-layer .ace_active-line {
background: #FFFBD1
}
.ace-clouds .ace_gutter_active_line {
background-color : #dcdcdc;
.ace-clouds .ace_gutter-active-line {
background-color : #dcdcdc
}
.ace-clouds .ace_marker-layer .ace_selected_word {
border: 1px solid #BDD5FC;
.ace-clouds .ace_marker-layer .ace_selected-word {
border: 1px solid #BDD5FC
}
.ace-clouds .ace_invisible {
color: #BFBFBF;
color: #BFBFBF
}
.ace-clouds .ace_keyword, .ace-clouds .ace_meta {
color:#AF956F;
.ace-clouds .ace_keyword,
.ace-clouds .ace_meta,
.ace-clouds .ace_support.ace_constant.ace_property-value {
color: #AF956F
}
.ace-clouds .ace_keyword.ace_operator {
color:#484848;
color: #484848
}
.ace-clouds .ace_keyword.ace_other.ace_unit {
color: #96DC5F
}
.ace-clouds .ace_constant.ace_language {
color:#39946A;
color: #39946A
}
.ace-clouds .ace_constant.ace_numeric {
color:#46A609;
color: #46A609
}
.ace-clouds .ace_constant.ace_character.ace_entity {
color: #BF78CC
}
.ace-clouds .ace_invalid {
background-color:#FF002A;
background-color: #FF002A
}
.ace-clouds .ace_fold {
background-color: #AF956F;
border-color: #000000;
background-color: #AF956F;
border-color: #000000
}
.ace-clouds .ace_support.ace_function,
.ace-clouds .ace_storage,
.ace-clouds .ace_support.ace_class,
.ace-clouds .ace_support.ace_type,
.ace-clouds .ace_support.ace_other {
color:#C52727;
}
.ace-clouds .ace_storage {
color:#C52727;
.ace-clouds .ace_support.ace_function,
.ace-clouds .ace_support.ace_other,
.ace-clouds .ace_support.ace_type {
color: #C52727
}
.ace-clouds .ace_string {
color:#5D90CD;
color: #5D90CD
}
.ace-clouds .ace_comment {
color:#BCC8BA;
color: #BCC8BA
}
.ace-clouds .ace_entity.ace_name.ace_tag,
.ace-clouds .ace_entity.ace_other.ace_attribute-name {
color:#606060;
color: #606060
}
.ace-clouds .ace_markup.ace_underline {
text-decoration:underline;
text-decoration: underline
}
.ace-clouds .ace_indent-guide {
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y
}

View file

@ -34,6 +34,6 @@ exports.isDark = false;
exports.cssClass = "ace-clouds";
exports.cssText = require('ace/requirejs/text!./clouds.css');
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -1,126 +1,125 @@
.ace-clouds-midnight .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-clouds-midnight .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-clouds-midnight .ace_gutter {
background: #232323;
color: #929292;
color: #929292
}
.ace-clouds-midnight .ace_print_margin {
.ace-clouds-midnight .ace_print-margin {
width: 1px;
background: #232323;
background: #232323
}
.ace-clouds-midnight .ace_scroller {
background-color: #191919;
background-color: #191919
}
.ace-clouds-midnight .ace_text-layer {
color: #929292;
color: #929292
}
.ace-clouds-midnight .ace_cursor {
border-left: 2px solid #7DA5DC;
border-left: 2px solid #7DA5DC
}
.ace-clouds-midnight .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #7DA5DC;
border-bottom: 1px solid #7DA5DC
}
.ace-clouds-midnight .ace_marker-layer .ace_selection {
background: #000000;
background: #000000
}
.ace-clouds-midnight.multiselect .ace_selection.start {
.ace-clouds-midnight.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #191919;
border-radius: 2px;
border-radius: 2px
}
.ace-clouds-midnight .ace_marker-layer .ace_step {
background: rgb(102, 82, 0);
background: rgb(102, 82, 0)
}
.ace-clouds-midnight .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid #BFBFBF;
border: 1px solid #BFBFBF
}
.ace-clouds-midnight .ace_marker-layer .ace_active_line {
background: rgba(215, 215, 215, 0.031);
.ace-clouds-midnight .ace_marker-layer .ace_active-line {
background: rgba(215, 215, 215, 0.031)
}
.ace-clouds-midnight .ace_gutter_active_line {
background-color: rgba(215, 215, 215, 0.031);
.ace-clouds-midnight .ace_gutter-active-line {
background-color: rgba(215, 215, 215, 0.031)
}
.ace-clouds-midnight .ace_marker-layer .ace_selected_word {
border: 1px solid #000000;
.ace-clouds-midnight .ace_marker-layer .ace_selected-word {
border: 1px solid #000000
}
.ace-clouds-midnight .ace_invisible {
color: #BFBFBF;
color: #BFBFBF
}
.ace-clouds-midnight .ace_keyword, .ace-clouds-midnight .ace_meta {
color:#927C5D;
.ace-clouds-midnight .ace_keyword,
.ace-clouds-midnight .ace_meta,
.ace-clouds-midnight .ace_support.ace_constant.ace_property-value {
color: #927C5D
}
.ace-clouds-midnight .ace_keyword.ace_operator {
color:#4B4B4B;
color: #4B4B4B
}
.ace-clouds-midnight .ace_keyword.ace_other.ace_unit {
color: #366F1A
}
.ace-clouds-midnight .ace_constant.ace_language {
color:#39946A;
color: #39946A
}
.ace-clouds-midnight .ace_constant.ace_numeric {
color:#46A609;
color: #46A609
}
.ace-clouds-midnight .ace_constant.ace_character.ace_entity {
color: #A165AC
}
.ace-clouds-midnight .ace_invalid {
color:#FFFFFF;
background-color:#E92E2E;
color: #FFFFFF;
background-color: #E92E2E
}
.ace-clouds-midnight .ace_fold {
background-color: #927C5D;
border-color: #929292;
background-color: #927C5D;
border-color: #929292
}
.ace-clouds-midnight .ace_support.ace_function,
.ace-clouds-midnight .ace_storage,
.ace-clouds-midnight .ace_support.ace_class,
.ace-clouds-midnight .ace_support.ace_type,
.ace-clouds-midnight .ace_support.ace_other {
color:#E92E2E;
}
.ace-clouds-midnight .ace_storage {
color:#E92E2E;
.ace-clouds-midnight .ace_support.ace_function,
.ace-clouds-midnight .ace_support.ace_other,
.ace-clouds-midnight .ace_support.ace_type {
color: #E92E2E
}
.ace-clouds-midnight .ace_string {
color:#5D90CD;
color: #5D90CD
}
.ace-clouds-midnight .ace_comment {
color:#3C403B;
color: #3C403B
}
.ace-clouds-midnight .ace_entity.ace_name.ace_tag,
.ace-clouds-midnight .ace_entity.ace_other.ace_attribute-name {
color:#606060;
color: #606060
}
.ace-clouds-midnight .ace_markup.ace_underline {
text-decoration:underline;
text-decoration: underline
}
.ace-clouds-midnight .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQlJT8z1BeXv4fAA2KA6+h9Z+2AAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQlJT8z1BeXv4fAA2KA6+h9Z+2AAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-clouds-midnight";
exports.cssText = require('ace/requirejs/text!./clouds_midnight.css');
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -1,147 +1,136 @@
.ace-cobalt .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-cobalt .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-cobalt .ace_gutter {
background: #011e3a;
color: #fff;
color: #fff
}
.ace-cobalt .ace_print_margin {
.ace-cobalt .ace_print-margin {
width: 1px;
background: #011e3a;
background: #011e3a
}
.ace-cobalt .ace_scroller {
background-color: #002240;
background-color: #002240
}
.ace-cobalt .ace_text-layer {
color: #FFFFFF;
color: #FFFFFF
}
.ace-cobalt .ace_cursor {
border-left: 2px solid #FFFFFF;
border-left: 2px solid #FFFFFF
}
.ace-cobalt .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #FFFFFF;
border-bottom: 1px solid #FFFFFF
}
.ace-cobalt .ace_marker-layer .ace_selection {
background: rgba(179, 101, 57, 0.75);
background: rgba(179, 101, 57, 0.75)
}
.ace-cobalt.multiselect .ace_selection.start {
.ace-cobalt.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #002240;
border-radius: 2px;
border-radius: 2px
}
.ace-cobalt .ace_marker-layer .ace_step {
background: rgb(127, 111, 19);
background: rgb(127, 111, 19)
}
.ace-cobalt .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid rgba(255, 255, 255, 0.15);
border: 1px solid rgba(255, 255, 255, 0.15)
}
.ace-cobalt .ace_marker-layer .ace_active_line {
background: rgba(0, 0, 0, 0.35);
.ace-cobalt .ace_marker-layer .ace_active-line {
background: rgba(0, 0, 0, 0.35)
}
.ace-cobalt .ace_gutter_active_line {
background-color: rgba(0, 0, 0, 0.35);
.ace-cobalt .ace_gutter-active-line {
background-color: rgba(0, 0, 0, 0.35)
}
.ace-cobalt .ace_marker-layer .ace_selected_word {
border: 1px solid rgba(179, 101, 57, 0.75);
.ace-cobalt .ace_marker-layer .ace_selected-word {
border: 1px solid rgba(179, 101, 57, 0.75)
}
.ace-cobalt .ace_invisible {
color: rgba(255, 255, 255, 0.15);
color: rgba(255, 255, 255, 0.15)
}
.ace-cobalt .ace_keyword, .ace-cobalt .ace_meta {
color:#FF9D00;
.ace-cobalt .ace_keyword,
.ace-cobalt .ace_meta {
color: #FF9D00
}
.ace-cobalt .ace_constant, .ace-cobalt .ace_constant.ace_other {
color:#FF628C;
}
.ace-cobalt .ace_constant.ace_character, {
color:#FF628C;
}
.ace-cobalt .ace_constant.ace_character.ace_escape, {
color:#FF628C;
.ace-cobalt .ace_constant,
.ace-cobalt .ace_constant.ace_character,
.ace-cobalt .ace_constant.ace_character.ace_escape,
.ace-cobalt .ace_constant.ace_other {
color: #FF628C
}
.ace-cobalt .ace_invalid {
color:#F8F8F8;
background-color:#800F00;
color: #F8F8F8;
background-color: #800F00
}
.ace-cobalt .ace_support {
color:#80FFBB;
color: #80FFBB
}
.ace-cobalt .ace_support.ace_constant {
color:#EB939A;
color: #EB939A
}
.ace-cobalt .ace_fold {
background-color: #FF9D00;
border-color: #FFFFFF;
background-color: #FF9D00;
border-color: #FFFFFF
}
.ace-cobalt .ace_support.ace_function {
color:#FFB054;
color: #FFB054
}
.ace-cobalt .ace_storage {
color:#FFEE80;
color: #FFEE80
}
.ace-cobalt .ace_string.ace_regexp {
color:#80FFC2;
color: #80FFC2
}
.ace-cobalt .ace_comment {
font-style:italic;
color:#0088FF;
font-style: italic;
color: #0088FF
}
.ace-cobalt .ace_variable {
color:#CCCCCC;
color: #CCCCCC
}
.ace-cobalt .ace_variable.ace_language {
color:#FF80E1;
color: #FF80E1
}
.ace-cobalt .ace_meta.ace_tag {
color:#9EFFFF;
color: #9EFFFF
}
.ace-cobalt .ace_markup.ace_underline {
text-decoration:underline;
text-decoration: underline
}
.ace-cobalt .ace_markup.ace_heading {
color:#C8E4FD;
background-color:#001221;
color: #C8E4FD;
background-color: #001221
}
.ace-cobalt .ace_markup.ace_list {
background-color:#130D26;
background-color: #130D26
}
.ace-cobalt .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgUHL4zzBz5sz/AA80BCzv+WXhAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgUHL4zzBz5sz/AA80BCzv+WXhAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-cobalt";
exports.cssText = require('ace/requirejs/text!./cobalt.css');
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -1,11 +1,3 @@
.ace-crimson-editor .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-crimson-editor .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-crimson-editor .ace_gutter {
background: #ebebeb;
color: #333;
@ -17,7 +9,7 @@
text-align: right;
}
.ace-crimson-editor .ace_print_margin {
.ace-crimson-editor .ace_print-margin {
width: 1px;
background: #e8e8e8;
}
@ -112,7 +104,7 @@
color: rgb(0, 64, 128);
}
.ace-crimson-editor .ace_line .ace_xml_pe {
.ace-crimson-editor .ace_line .ace_xml-pe {
color: rgb(104, 104, 91);
}
@ -133,11 +125,11 @@
border: 1px solid rgb(192, 192, 192);
}
.ace-crimson-editor .ace_marker-layer .ace_active_line {
.ace-crimson-editor .ace_marker-layer .ace_active-line {
background: rgb(232, 242, 254);
}
.ace-crimson-editor .ace_gutter_active_line {
.ace-crimson-editor .ace_gutter-active-line {
background-color : #dcdcdc;
}
@ -145,7 +137,7 @@
color:rgb(28, 2, 255);
}
.ace-crimson-editor .ace_marker-layer .ace_selected_word {
.ace-crimson-editor .ace_marker-layer .ace_selected-word {
background: rgb(250, 250, 255);
border: 1px solid rgb(200, 200, 250);
}

View file

@ -1,153 +1,137 @@
.ace-dawn .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-dawn .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-dawn .ace_gutter {
background: #ebebeb;
color: #333;
color: #333
}
.ace-dawn .ace_print_margin {
.ace-dawn .ace_print-margin {
width: 1px;
background: #e8e8e8;
background: #e8e8e8
}
.ace-dawn .ace_scroller {
background-color: #F9F9F9;
background-color: #F9F9F9
}
.ace-dawn .ace_text-layer {
color: #080808;
color: #080808
}
.ace-dawn .ace_cursor {
border-left: 2px solid #000000;
border-left: 2px solid #000000
}
.ace-dawn .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #000000;
border-bottom: 1px solid #000000
}
.ace-dawn .ace_marker-layer .ace_selection {
background: rgba(39, 95, 255, 0.30);
background: rgba(39, 95, 255, 0.30)
}
.ace-dawn.multiselect .ace_selection.start {
.ace-dawn.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #F9F9F9;
border-radius: 2px;
border-radius: 2px
}
.ace-dawn .ace_marker-layer .ace_step {
background: rgb(255, 255, 0);
background: rgb(255, 255, 0)
}
.ace-dawn .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid rgba(75, 75, 126, 0.50);
border: 1px solid rgba(75, 75, 126, 0.50)
}
.ace-dawn .ace_marker-layer .ace_active_line {
background: rgba(36, 99, 180, 0.12);
.ace-dawn .ace_marker-layer .ace_active-line {
background: rgba(36, 99, 180, 0.12)
}
.ace-dawn .ace_gutter_active_line {
background-color : #dcdcdc;
.ace-dawn .ace_gutter-active-line {
background-color : #dcdcdc
}
.ace-dawn .ace_marker-layer .ace_selected_word {
border: 1px solid rgba(39, 95, 255, 0.30);
.ace-dawn .ace_marker-layer .ace_selected-word {
border: 1px solid rgba(39, 95, 255, 0.30)
}
.ace-dawn .ace_invisible {
color: rgba(75, 75, 126, 0.50);
color: rgba(75, 75, 126, 0.50)
}
.ace-dawn .ace_keyword, .ace-dawn .ace_meta {
color:#794938;
.ace-dawn .ace_keyword,
.ace-dawn .ace_meta {
color: #794938
}
.ace-dawn .ace_constant, .ace-dawn .ace_constant.ace_other {
color:#811F24;
}
.ace-dawn .ace_constant.ace_character, {
color:#811F24;
}
.ace-dawn .ace_constant.ace_character.ace_escape, {
color:#811F24;
.ace-dawn .ace_constant,
.ace-dawn .ace_constant.ace_character,
.ace-dawn .ace_constant.ace_character.ace_escape,
.ace-dawn .ace_constant.ace_other {
color: #811F24
}
.ace-dawn .ace_invalid.ace_illegal {
text-decoration:underline;
font-style:italic;
color:#F8F8F8;
background-color:#B52A1D;
text-decoration: underline;
font-style: italic;
color: #F8F8F8;
background-color: #B52A1D
}
.ace-dawn .ace_invalid.ace_deprecated {
text-decoration:underline;
font-style:italic;
color:#B52A1D;
text-decoration: underline;
font-style: italic;
color: #B52A1D
}
.ace-dawn .ace_support {
color:#691C97;
color: #691C97
}
.ace-dawn .ace_support.ace_constant {
color:#B4371F;
color: #B4371F
}
.ace-dawn .ace_fold {
background-color: #794938;
border-color: #080808;
background-color: #794938;
border-color: #080808
}
.ace-dawn .ace_markup.ace_list,
.ace-dawn .ace_support.ace_function {
color:#693A17;
color: #693A17
}
.ace-dawn .ace_storage {
font-style:italic;
color:#A71D5D;
font-style: italic;
color: #A71D5D
}
.ace-dawn .ace_string {
color:#0B6125;
color: #0B6125
}
.ace-dawn .ace_string.ace_regexp {
color:#CF5628;
color: #CF5628
}
.ace-dawn .ace_comment {
font-style:italic;
color:#5A525F;
font-style: italic;
color: #5A525F
}
.ace-dawn .ace_variable {
color:#234A97;
color: #234A97
}
.ace-dawn .ace_markup.ace_underline {
text-decoration:underline;
text-decoration: underline
}
.ace-dawn .ace_markup.ace_heading {
color:#19356D;
}
.ace-dawn .ace_markup.ace_list {
color:#693A17;
color: #19356D
}
.ace-dawn .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4+fPnf4ZVq1b9BwAkVQboFQv98gAAAABJRU5ErkJggg==) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4+fPnf4ZVq1b9BwAkVQboFQv98gAAAABJRU5ErkJggg==) right repeat-y
}

View file

@ -34,6 +34,6 @@ exports.isDark = false;
exports.cssClass = "ace-dawn";
exports.cssText = require('ace/requirejs/text!./dawn.css');
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -1,17 +1,9 @@
.ace-dreamweaver .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-dreamweaver .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-dreamweaver .ace_gutter {
background: #e8e8e8;
color: #333;
}
.ace-dreamweaver .ace_print_margin {
.ace-dreamweaver .ace_print-margin {
width: 1px;
background: #e8e8e8;
}
@ -107,7 +99,7 @@
color: #06F
}
.ace-dreamweaver .ace_line .ace_xml_pe {
.ace-dreamweaver .ace_line .ace_xml-pe {
color: rgb(104, 104, 91);
}
@ -115,9 +107,6 @@
color: #00F;
}
.ace-dreamweaver .ace_markup.ace_underline {
text-decoration:underline;
}
.ace-dreamweaver .ace_markup.ace_heading {
color: rgb(12, 7, 255);
@ -144,11 +133,11 @@
border: 1px solid rgb(192, 192, 192);
}
.ace-dreamweaver .ace_marker-layer .ace_active_line {
.ace-dreamweaver .ace_marker-layer .ace_active-line {
background: rgba(0, 0, 0, 0.07);
}
.ace-dreamweaver .ace_marker-layer .ace_selected_word {
.ace-dreamweaver .ace_marker-layer .ace_selected-word {
background: rgb(250, 250, 255);
border: 1px solid rgb(200, 200, 250);
}

View file

@ -1,18 +1,10 @@
.ace-eclipse .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-eclipse .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-eclipse .ace_gutter {
background: #ebebeb;
border-right: 1px solid rgb(159, 159, 159);
color: rgb(136, 136, 136);
}
.ace-eclipse .ace_print_margin {
.ace-eclipse .ace_print-margin {
width: 1px;
background: #ebebeb;
}
@ -77,7 +69,7 @@
color: rgb(127, 0, 127);
}
.ace-eclipse .ace_line .ace_xml_pe {
.ace-eclipse .ace_line .ace_xml-pe {
color: rgb(104, 104, 91);
}
@ -101,11 +93,11 @@
background: rgb(255, 255, 0);
}
.ace-eclipse .ace_marker-layer .ace_active_line {
.ace-eclipse .ace_marker-layer .ace_active-line {
background: rgb(232, 242, 254);
}
.ace-eclipse .ace_marker-layer .ace_selected_word {
.ace-eclipse .ace_marker-layer .ace_selected-word {
border: 1px solid rgb(181, 213, 255);
}

View file

@ -1,18 +1,5 @@
/* CSS style content from github's default pygments highlighter template.
Cursor and selection styles from textmate.css. */
.ace-github .ace_editor {
color: #333;
background-color: #F8F8F8;
border: 1px solid #CCC;
font: 13px 'Bitstream Vera Sans Mono', Courier, monospace !important;
line-height: 19px !important;
overflow: auto;
padding: 6px 10px;
border-radius: 3px;
position: relative;
margin-bottom: 15px;
}
.ace-github .ace_gutter {
background: #e8e8e8;
color: #AAA;
@ -68,7 +55,7 @@
font-weight: normal;
}
.ace-github .ace_variable.ace_instancce {
.ace-github .ace_variable.ace_instance {
color: teal;
}
@ -88,21 +75,18 @@
border-bottom: 1px solid black;
}
.ace-github .ace_marker-layer .ace_active_line {
.ace-github .ace_marker-layer .ace_active-line {
background: rgb(255, 255, 204);
}
.ace-github .ace_marker-layer .ace_selection {
background: rgb(181, 213, 255);
}
.ace-github.multiselect .ace_selection.start {
.ace-github.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px white;
border-radius: 2px;
}
/* bold keywords cause cursor issues for some fonts */
/* this disables bold style for editor and keeps for static highlighter */
.ace-github.ace_editor .ace_line > span {
font-weight: normal !important;
}
.ace-github .ace_marker-layer .ace_step {
background: rgb(252, 255, 0);
@ -117,17 +101,17 @@
border: 1px solid rgb(192, 192, 192);
}
.ace-github .ace_gutter_active_line {
.ace-github .ace_gutter-active-line {
background-color : rgba(0, 0, 0, 0.07);
}
.ace-github .ace_marker-layer .ace_selected_word {
.ace-github .ace_marker-layer .ace_selected-word {
background: rgb(250, 250, 255);
border: 1px solid rgb(200, 200, 250);
}
.ace-github .ace_print_margin {
.ace-github .ace_print-margin {
width: 1px;
background: #e8e8e8;
}

View file

@ -1,141 +1,125 @@
.ace-idle-fingers .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-idle-fingers .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-idle-fingers .ace_gutter {
background: #3b3b3b;
color: #fff;
color: #fff
}
.ace-idle-fingers .ace_print_margin {
.ace-idle-fingers .ace_print-margin {
width: 1px;
background: #3b3b3b;
background: #3b3b3b
}
.ace-idle-fingers .ace_scroller {
background-color: #323232;
background-color: #323232
}
.ace-idle-fingers .ace_text-layer {
color: #FFFFFF;
color: #FFFFFF
}
.ace-idle-fingers .ace_cursor {
border-left: 2px solid #91FF00;
border-left: 2px solid #91FF00
}
.ace-idle-fingers .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #91FF00;
border-bottom: 1px solid #91FF00
}
.ace-idle-fingers .ace_marker-layer .ace_selection {
background: rgba(90, 100, 126, 0.88);
background: rgba(90, 100, 126, 0.88)
}
.ace-idle-fingers.multiselect .ace_selection.start {
.ace-idle-fingers.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #323232;
border-radius: 2px;
border-radius: 2px
}
.ace-idle-fingers .ace_marker-layer .ace_step {
background: rgb(102, 82, 0);
background: rgb(102, 82, 0)
}
.ace-idle-fingers .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid #404040;
border: 1px solid #404040
}
.ace-idle-fingers .ace_marker-layer .ace_active_line {
background: #353637;
.ace-idle-fingers .ace_marker-layer .ace_active-line {
background: #353637
}
.ace-idle-fingers .ace_gutter_active_line {
background-color: #353637;
.ace-idle-fingers .ace_gutter-active-line {
background-color: #353637
}
.ace-idle-fingers .ace_marker-layer .ace_selected_word {
border: 1px solid rgba(90, 100, 126, 0.88);
.ace-idle-fingers .ace_marker-layer .ace_selected-word {
border: 1px solid rgba(90, 100, 126, 0.88)
}
.ace-idle-fingers .ace_invisible {
color: #404040;
color: #404040
}
.ace-idle-fingers .ace_keyword, .ace-idle-fingers .ace_meta {
color:#CC7833;
.ace-idle-fingers .ace_keyword,
.ace-idle-fingers .ace_meta {
color: #CC7833
}
.ace-idle-fingers .ace_constant, .ace-idle-fingers .ace_constant.ace_other {
color:#6C99BB;
}
.ace-idle-fingers .ace_constant.ace_character, {
color:#6C99BB;
}
.ace-idle-fingers .ace_constant.ace_character.ace_escape, {
color:#6C99BB;
.ace-idle-fingers .ace_constant,
.ace-idle-fingers .ace_constant.ace_character,
.ace-idle-fingers .ace_constant.ace_character.ace_escape,
.ace-idle-fingers .ace_constant.ace_other,
.ace-idle-fingers .ace_support.ace_constant {
color: #6C99BB
}
.ace-idle-fingers .ace_invalid {
color:#FFFFFF;
background-color:#FF0000;
}
.ace-idle-fingers .ace_support.ace_constant {
color:#6C99BB;
color: #FFFFFF;
background-color: #FF0000
}
.ace-idle-fingers .ace_fold {
background-color: #CC7833;
border-color: #FFFFFF;
background-color: #CC7833;
border-color: #FFFFFF
}
.ace-idle-fingers .ace_support.ace_function {
color:#B83426;
color: #B83426
}
.ace-idle-fingers .ace_variable.ace_parameter {
font-style:italic;
font-style: italic
}
.ace-idle-fingers .ace_string {
color:#A5C261;
color: #A5C261
}
.ace-idle-fingers .ace_string.ace_regexp {
color:#CCCC33;
color: #CCCC33
}
.ace-idle-fingers .ace_comment {
font-style:italic;
color:#BC9458;
font-style: italic;
color: #BC9458
}
.ace-idle-fingers .ace_meta.ace_tag {
color:#FFE5BB;
color: #FFE5BB
}
.ace-idle-fingers .ace_entity.ace_name {
color:#FFC66D;
color: #FFC66D
}
.ace-idle-fingers .ace_markup.ace_underline {
text-decoration:underline;
text-decoration: underline
}
.ace-idle-fingers .ace_collab.ace_user1 {
color:#323232;
background-color:#FFF980;
color: #323232;
background-color: #FFF980
}
.ace-idle-fingers .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMwMjL6zzBz5sz/ABEUBGCqhK6UAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMwMjL6zzBz5sz/ABEUBGCqhK6UAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-idle-fingers";
exports.cssText = require('ace/requirejs/text!./idle_fingers.css');
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -1,144 +1,131 @@
.ace-kr-theme .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-kr-theme .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-kr-theme .ace_gutter {
background: #1c1917;
color: #FCFFE0;
color: #FCFFE0
}
.ace-kr-theme .ace_print_margin {
.ace-kr-theme .ace_print-margin {
width: 1px;
background: #1c1917;
background: #1c1917
}
.ace-kr-theme .ace_scroller {
background-color: #0B0A09;
background-color: #0B0A09
}
.ace-kr-theme .ace_text-layer {
color: #FCFFE0;
color: #FCFFE0
}
.ace-kr-theme .ace_cursor {
border-left: 2px solid #FF9900;
border-left: 2px solid #FF9900
}
.ace-kr-theme .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #FF9900;
border-bottom: 1px solid #FF9900
}
.ace-kr-theme .ace_marker-layer .ace_selection {
background: rgba(170, 0, 255, 0.45);
background: rgba(170, 0, 255, 0.45)
}
.ace-kr-theme.multiselect .ace_selection.start {
.ace-kr-theme.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #0B0A09;
border-radius: 2px;
border-radius: 2px
}
.ace-kr-theme .ace_marker-layer .ace_step {
background: rgb(102, 82, 0);
background: rgb(102, 82, 0)
}
.ace-kr-theme .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid rgba(255, 177, 111, 0.32);
border: 1px solid rgba(255, 177, 111, 0.32)
}
.ace-kr-theme .ace_marker-layer .ace_active_line {
background: #38403D;
.ace-kr-theme .ace_marker-layer .ace_active-line {
background: #38403D
}
.ace-kr-theme .ace_gutter_active_line {
background-color : #38403D;
.ace-kr-theme .ace_gutter-active-line {
background-color : #38403D
}
.ace-kr-theme .ace_marker-layer .ace_selected_word {
border: 1px solid rgba(170, 0, 255, 0.45);
.ace-kr-theme .ace_marker-layer .ace_selected-word {
border: 1px solid rgba(170, 0, 255, 0.45)
}
.ace-kr-theme .ace_invisible {
color: rgba(255, 177, 111, 0.32);
color: rgba(255, 177, 111, 0.32)
}
.ace-kr-theme .ace_keyword, .ace-kr-theme .ace_meta {
color:#949C8B;
.ace-kr-theme .ace_keyword,
.ace-kr-theme .ace_meta {
color: #949C8B
}
.ace-kr-theme .ace_constant, .ace-kr-theme .ace_constant.ace_other {
color:rgba(210, 117, 24, 0.76);
}
.ace-kr-theme .ace_constant.ace_character, {
color:rgba(210, 117, 24, 0.76);
}
.ace-kr-theme .ace_constant.ace_character.ace_escape, {
color:rgba(210, 117, 24, 0.76);
.ace-kr-theme .ace_constant,
.ace-kr-theme .ace_constant.ace_character,
.ace-kr-theme .ace_constant.ace_character.ace_escape,
.ace-kr-theme .ace_constant.ace_other {
color: rgba(210, 117, 24, 0.76)
}
.ace-kr-theme .ace_invalid {
color:#F8F8F8;
background-color:#A41300;
color: #F8F8F8;
background-color: #A41300
}
.ace-kr-theme .ace_support {
color:#9FC28A;
color: #9FC28A
}
.ace-kr-theme .ace_support.ace_constant {
color:#C27E66;
color: #C27E66
}
.ace-kr-theme .ace_fold {
background-color: #949C8B;
border-color: #FCFFE0;
background-color: #949C8B;
border-color: #FCFFE0
}
.ace-kr-theme .ace_support.ace_function {
color:#85873A;
color: #85873A
}
.ace-kr-theme .ace_storage {
color:#FFEE80;
color: #FFEE80
}
.ace-kr-theme .ace_string.ace_regexp {
color:rgba(125, 255, 192, 0.65);
color: rgba(125, 255, 192, 0.65)
}
.ace-kr-theme .ace_comment {
font-style:italic;
color:#706D5B;
font-style: italic;
color: #706D5B
}
.ace-kr-theme .ace_variable {
color:#D1A796;
color: #D1A796
}
.ace-kr-theme .ace_variable.ace_language {
color:#FF80E1;
color: #FF80E1
}
.ace-kr-theme .ace_meta.ace_tag {
color:#BABD9C;
color: #BABD9C
}
.ace-kr-theme .ace_markup.ace_underline {
text-decoration:underline;
text-decoration: underline
}
.ace-kr-theme .ace_markup.ace_list {
background-color:#0F0040;
background-color: #0F0040
}
.ace-kr-theme .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPg5uL8zzBz5sz/AA1WA+hUYIqjAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPg5uL8zzBz5sz/AA1WA+hUYIqjAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-kr-theme";
exports.cssText = require('ace/requirejs/text!./kr_theme.css');
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -1,148 +1,122 @@
.ace-merbivore .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-merbivore .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-merbivore .ace_gutter {
background: #202020;
color: #E6E1DC;
color: #E6E1DC
}
.ace-merbivore .ace_print_margin {
.ace-merbivore .ace_print-margin {
width: 1px;
background: #555651;
background: #555651
}
.ace-merbivore .ace_scroller {
background-color: #161616;
background-color: #161616
}
.ace-merbivore .ace_text-layer {
color: #E6E1DC;
color: #E6E1DC
}
.ace-merbivore .ace_cursor {
border-left: 2px solid #FFFFFF;
border-left: 2px solid #FFFFFF
}
.ace-merbivore .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #FFFFFF;
border-bottom: 1px solid #FFFFFF
}
.ace-merbivore .ace_marker-layer .ace_selection {
background: #454545;
background: #454545
}
.ace-merbivore.multiselect .ace_selection.start {
.ace-merbivore.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #161616;
border-radius: 2px;
border-radius: 2px
}
.ace-merbivore .ace_marker-layer .ace_step {
background: rgb(102, 82, 0);
background: rgb(102, 82, 0)
}
.ace-merbivore .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid #404040;
border: 1px solid #404040
}
.ace-merbivore .ace_marker-layer .ace_active_line {
background: #333435;
.ace-merbivore .ace_marker-layer .ace_active-line {
background: #333435
}
.ace-merbivore .ace_gutter_active_line {
background-color: #333435;
.ace-merbivore .ace_gutter-active-line {
background-color: #333435
}
.ace-merbivore .ace_marker-layer .ace_selected_word {
border: 1px solid #454545;
.ace-merbivore .ace_marker-layer .ace_selected-word {
border: 1px solid #454545
}
.ace-merbivore .ace_invisible {
color: #404040;
color: #404040
}
.ace-merbivore .ace_keyword, .ace-merbivore .ace_meta {
color:#FC6F09;
.ace-merbivore .ace_entity.ace_name.ace_tag,
.ace-merbivore .ace_keyword,
.ace-merbivore .ace_meta,
.ace-merbivore .ace_meta.ace_tag,
.ace-merbivore .ace_storage,
.ace-merbivore .ace_support.ace_function {
color: #FC6F09
}
.ace-merbivore .ace_constant, .ace-merbivore .ace_constant.ace_other {
color:#1EDAFB;
.ace-merbivore .ace_constant,
.ace-merbivore .ace_constant.ace_character,
.ace-merbivore .ace_constant.ace_character.ace_escape,
.ace-merbivore .ace_constant.ace_other,
.ace-merbivore .ace_support.ace_type {
color: #1EDAFB
}
.ace-merbivore .ace_constant.ace_character, {
color:#1EDAFB;
}
.ace-merbivore .ace_constant.ace_character.ace_escape, {
color:#1EDAFB;
.ace-merbivore .ace_constant.ace_character.ace_escape {
color: #519F50
}
.ace-merbivore .ace_constant.ace_language {
color:#FDC251;
color: #FDC251
}
.ace-merbivore .ace_constant.ace_library {
color:#8DFF0A;
.ace-merbivore .ace_constant.ace_library,
.ace-merbivore .ace_string,
.ace-merbivore .ace_support.ace_constant {
color: #8DFF0A
}
.ace-merbivore .ace_constant.ace_numeric {
color:#58C554;
color: #58C554
}
.ace-merbivore .ace_invalid {
color:#FFFFFF;
background-color:#990000;
}
.ace-merbivore .ace_support.ace_constant {
color:#8DFF0A;
color: #FFFFFF;
background-color: #990000
}
.ace-merbivore .ace_fold {
background-color: #FC6F09;
border-color: #E6E1DC;
}
.ace-merbivore .ace_support.ace_function {
color:#FC6F09;
}
.ace-merbivore .ace_support.ace_type {
color:#1EDAFB;
}
.ace-merbivore .ace_storage {
color:#FC6F09;
}
.ace-merbivore .ace_string {
color:#8DFF0A;
background-color: #FC6F09;
border-color: #E6E1DC
}
.ace-merbivore .ace_comment {
font-style:italic;
color:#AD2EA4;
}
.ace-merbivore .ace_meta.ace_tag {
color:#FC6F09;
font-style: italic;
color: #AD2EA4
}
.ace-merbivore .ace_entity.ace_other.ace_attribute-name {
color:#FFFF89;
color: #FFFF89
}
.ace-merbivore .ace_markup.ace_underline {
text-decoration:underline;
text-decoration: underline
}
.ace-merbivore .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQExP7zzBz5sz/AA50BAyDznYhAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQExP7zzBz5sz/AA50BAyDznYhAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-merbivore";
exports.cssText = require('ace/requirejs/text!./merbivore.css');
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -1,154 +1,123 @@
.ace-merbivore-soft .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-merbivore-soft .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-merbivore-soft .ace_gutter {
background: #262424;
color: #E6E1DC;
color: #E6E1DC
}
.ace-merbivore-soft .ace_print_margin {
.ace-merbivore-soft .ace_print-margin {
width: 1px;
background: #262424;
background: #262424
}
.ace-merbivore-soft .ace_scroller {
background-color: #1C1C1C;
background-color: #1C1C1C
}
.ace-merbivore-soft .ace_text-layer {
color: #E6E1DC;
color: #E6E1DC
}
.ace-merbivore-soft .ace_cursor {
border-left: 2px solid #FFFFFF;
border-left: 2px solid #FFFFFF
}
.ace-merbivore-soft .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #FFFFFF;
border-bottom: 1px solid #FFFFFF
}
.ace-merbivore-soft .ace_marker-layer .ace_selection {
background: #494949;
background: #494949
}
.ace-merbivore-soft.multiselect .ace_selection.start {
.ace-merbivore-soft.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #1C1C1C;
border-radius: 2px;
border-radius: 2px
}
.ace-merbivore-soft .ace_marker-layer .ace_step {
background: rgb(102, 82, 0);
background: rgb(102, 82, 0)
}
.ace-merbivore-soft .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid #404040;
border: 1px solid #404040
}
.ace-merbivore-soft .ace_marker-layer .ace_active_line {
background: #333435;
.ace-merbivore-soft .ace_marker-layer .ace_active-line {
background: #333435
}
.ace-merbivore-soft .ace_gutter_active_line {
background-color: #333435;
.ace-merbivore-soft .ace_gutter-active-line {
background-color: #333435
}
.ace-merbivore-soft .ace_marker-layer .ace_selected_word {
border: 1px solid #494949;
.ace-merbivore-soft .ace_marker-layer .ace_selected-word {
border: 1px solid #494949
}
.ace-merbivore-soft .ace_invisible {
color: #404040;
color: #404040
}
.ace-merbivore-soft .ace_keyword, .ace-merbivore-soft .ace_meta {
color:#FC803A;
.ace-merbivore-soft .ace_entity.ace_name.ace_tag,
.ace-merbivore-soft .ace_keyword,
.ace-merbivore-soft .ace_meta,
.ace-merbivore-soft .ace_meta.ace_tag,
.ace-merbivore-soft .ace_storage {
color: #FC803A
}
.ace-merbivore-soft .ace_constant, .ace-merbivore-soft .ace_constant.ace_other {
color:#68C1D8;
.ace-merbivore-soft .ace_constant,
.ace-merbivore-soft .ace_constant.ace_character,
.ace-merbivore-soft .ace_constant.ace_character.ace_escape,
.ace-merbivore-soft .ace_constant.ace_other,
.ace-merbivore-soft .ace_support.ace_type {
color: #68C1D8
}
.ace-merbivore-soft .ace_constant.ace_character, {
color:#68C1D8;
}
.ace-merbivore-soft .ace_constant.ace_character.ace_escape, {
color:#68C1D8;
.ace-merbivore-soft .ace_constant.ace_character.ace_escape {
color: #B3E5B4
}
.ace-merbivore-soft .ace_constant.ace_language {
color:#E1C582;
color: #E1C582
}
.ace-merbivore-soft .ace_constant.ace_library {
color:#8EC65F;
.ace-merbivore-soft .ace_constant.ace_library,
.ace-merbivore-soft .ace_string,
.ace-merbivore-soft .ace_support.ace_constant {
color: #8EC65F
}
.ace-merbivore-soft .ace_constant.ace_numeric {
color:#7FC578;
}
.ace-merbivore-soft .ace_invalid {
color:#FFFFFF;
background-color:#FE3838;
color: #7FC578
}
.ace-merbivore-soft .ace_invalid,
.ace-merbivore-soft .ace_invalid.ace_deprecated {
color:#FFFFFF;
background-color:#FE3838;
}
.ace-merbivore-soft .ace_support.ace_constant {
color:#8EC65F;
color: #FFFFFF;
background-color: #FE3838
}
.ace-merbivore-soft .ace_fold {
background-color: #FC803A;
border-color: #E6E1DC;
}
.ace-merbivore-soft .ace_support.ace_type {
color:#68C1D8;
}
.ace-merbivore-soft .ace_storage {
color:#FC803A;
}
.ace-merbivore-soft .ace_string {
color:#8EC65F;
}
.ace-merbivore-soft .ace_comment {
font-style:italic;
color:#AC4BB8;
background-color: #FC803A;
border-color: #E6E1DC
}
.ace-merbivore-soft .ace_comment,
.ace-merbivore-soft .ace_meta {
font-style:italic;
color:#AC4BB8;
}
.ace-merbivore-soft .ace_meta.ace_tag {
color:#FC803A;
font-style: italic;
color: #AC4BB8
}
.ace-merbivore-soft .ace_entity.ace_other.ace_attribute-name {
color:#EAF1A3;
color: #EAF1A3
}
.ace-merbivore-soft .ace_markup.ace_underline {
text-decoration:underline;
text-decoration: underline
}
.ace-merbivore-soft .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQkZH5zzBz5sz/AA8EBB6crd1rAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQkZH5zzBz5sz/AA8EBB6crd1rAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-merbivore-soft";
exports.cssText = require('ace/requirejs/text!./merbivore_soft.css');
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -1,160 +1,133 @@
.ace-mono-industrial .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-mono-industrial .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-mono-industrial .ace_gutter {
background: #1d2521;
color: #C5C9C9;
color: #C5C9C9
}
.ace-mono-industrial .ace_print_margin {
.ace-mono-industrial .ace_print-margin {
width: 1px;
background: #555651;
background: #555651
}
.ace-mono-industrial .ace_scroller {
background-color: #222C28;
background-color: #222C28
}
.ace-mono-industrial .ace_text-layer {
color: #FFFFFF;
color: #FFFFFF
}
.ace-mono-industrial .ace_cursor {
border-left: 2px solid #FFFFFF;
border-left: 2px solid #FFFFFF
}
.ace-mono-industrial .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #FFFFFF;
border-bottom: 1px solid #FFFFFF
}
.ace-mono-industrial .ace_marker-layer .ace_selection {
background: rgba(145, 153, 148, 0.40);
background: rgba(145, 153, 148, 0.40)
}
.ace-mono-industrial.multiselect .ace_selection.start {
.ace-mono-industrial.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #222C28;
border-radius: 2px;
border-radius: 2px
}
.ace-mono-industrial .ace_marker-layer .ace_step {
background: rgb(102, 82, 0);
background: rgb(102, 82, 0)
}
.ace-mono-industrial .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid rgba(102, 108, 104, 0.50);
border: 1px solid rgba(102, 108, 104, 0.50)
}
.ace-mono-industrial .ace_marker-layer .ace_active_line {
background: rgba(12, 13, 12, 0.25);
.ace-mono-industrial .ace_marker-layer .ace_active-line {
background: rgba(12, 13, 12, 0.25)
}
.ace-mono-industrial .ace_gutter_active_line {
background-color: rgba(12, 13, 12, 0.25);
.ace-mono-industrial .ace_gutter-active-line {
background-color: rgba(12, 13, 12, 0.25)
}
.ace-mono-industrial .ace_marker-layer .ace_selected_word {
border: 1px solid rgba(145, 153, 148, 0.40);
.ace-mono-industrial .ace_marker-layer .ace_selected-word {
border: 1px solid rgba(145, 153, 148, 0.40)
}
.ace-mono-industrial .ace_invisible {
color: rgba(102, 108, 104, 0.50);
color: rgba(102, 108, 104, 0.50)
}
.ace-mono-industrial .ace_keyword, .ace-mono-industrial .ace_meta {
color:#A39E64;
.ace-mono-industrial .ace_keyword,
.ace-mono-industrial .ace_meta {
color: #A39E64
}
.ace-mono-industrial .ace_keyword.ace_operator {
color:#A8B3AB;
.ace-mono-industrial .ace_constant,
.ace-mono-industrial .ace_constant.ace_character,
.ace-mono-industrial .ace_constant.ace_character.ace_escape,
.ace-mono-industrial .ace_constant.ace_numeric,
.ace-mono-industrial .ace_constant.ace_other {
color: #E98800
}
.ace-mono-industrial .ace_constant, .ace-mono-industrial .ace_constant.ace_other {
color:#E98800;
}
.ace-mono-industrial .ace_constant.ace_character, {
color:#E98800;
}
.ace-mono-industrial .ace_constant.ace_character.ace_escape, {
color:#E98800;
}
.ace-mono-industrial .ace_constant.ace_numeric {
color:#E98800;
.ace-mono-industrial .ace_entity.ace_name.ace_function,
.ace-mono-industrial .ace_keyword.ace_operator,
.ace-mono-industrial .ace_variable {
color: #A8B3AB
}
.ace-mono-industrial .ace_invalid {
color:#FFFFFF;
background-color:rgba(153, 0, 0, 0.68);
color: #FFFFFF;
background-color: rgba(153, 0, 0, 0.68)
}
.ace-mono-industrial .ace_support.ace_constant {
color:#C87500;
color: #C87500
}
.ace-mono-industrial .ace_fold {
background-color: #A8B3AB;
border-color: #FFFFFF;
background-color: #A8B3AB;
border-color: #FFFFFF
}
.ace-mono-industrial .ace_support.ace_function {
color:#588E60;
color: #588E60
}
.ace-mono-industrial .ace_entity.ace_name,
.ace-mono-industrial .ace_support.ace_class,
.ace-mono-industrial .ace_support.ace_type {
color:#5778B6;
}
.ace-mono-industrial .ace_support.ace_class {
color:#5778B6;
color: #5778B6
}
.ace-mono-industrial .ace_storage {
color:#C23B00;
}
.ace-mono-industrial .ace_variable {
color:#A8B3AB;
color: #C23B00
}
.ace-mono-industrial .ace_variable.ace_language,
.ace-mono-industrial .ace_variable.ace_parameter {
color:#648BD2;
color: #648BD2
}
.ace-mono-industrial .ace_comment {
color:#666C68;
background-color:#151C19;
}
.ace-mono-industrial .ace_variable.ace_language {
color:#648BD2;
color: #666C68;
background-color: #151C19
}
.ace-mono-industrial .ace_entity.ace_other.ace_attribute-name {
color:#909993;
}
.ace-mono-industrial .ace_entity.ace_name {
color:#5778B6;
}
.ace-mono-industrial .ace_entity.ace_name.ace_function {
color:#A8B3AB;
color: #909993
}
.ace-mono-industrial .ace_markup.ace_underline {
text-decoration:underline;
text-decoration: underline
}
.ace-mono-industrial .ace_entity.ace_name.ace_tag {
color: #A65EFF
}
.ace-mono-industrial .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ0tH4zzBz5sz/ABAOBECKH+evAAAAAElFTkSuQmCC) right repeat-y;
}
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ0tH4zzBz5sz/ABAOBECKH+evAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-mono-industrial";
exports.cssText = require('ace/requirejs/text!./mono_industrial.css');
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -1,164 +1,128 @@
.ace-monokai .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-monokai .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-monokai .ace_gutter {
background: #2f3129;
color: #f1f1f1;
color: #f1f1f1
}
.ace-monokai .ace_print_margin {
.ace-monokai .ace_print-margin {
width: 1px;
background: #555651;
background: #555651
}
.ace-monokai .ace_scroller {
background-color: #272822;
background-color: #272822
}
.ace-monokai .ace_text-layer {
color: #F8F8F2;
color: #F8F8F2
}
.ace-monokai .ace_cursor {
border-left: 2px solid #F8F8F0;
border-left: 2px solid #F8F8F0
}
.ace-monokai .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #F8F8F0;
border-bottom: 1px solid #F8F8F0
}
.ace-monokai .ace_marker-layer .ace_selection {
background: #49483E;
background: #49483E
}
.ace-monokai.multiselect .ace_selection.start {
.ace-monokai.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #272822;
border-radius: 2px;
border-radius: 2px
}
.ace-monokai .ace_marker-layer .ace_step {
background: rgb(102, 82, 0);
background: rgb(102, 82, 0)
}
.ace-monokai .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid #49483E;
border: 1px solid #49483E
}
.ace-monokai .ace_marker-layer .ace_active_line {
background: #49483E;
.ace-monokai .ace_marker-layer .ace_active-line {
background: #202020
}
.ace-monokai .ace_gutter_active_line {
background-color: #191916;
.ace-monokai .ace_gutter-active-line {
background-color: #272727
}
.ace-monokai .ace_marker-layer .ace_selected_word {
border: 1px solid #49483E;
.ace-monokai .ace_marker-layer .ace_selected-word {
border: 1px solid #49483E
}
.ace-monokai .ace_invisible {
color: #49483E;
color: #49483E
}
.ace-monokai .ace_keyword, .ace-monokai .ace_meta {
color:#F92672;
}
.ace-monokai .ace_constant.ace_character {
color:#AE81FF;
}
.ace-monokai .ace_constant.ace_language {
color:#AE81FF;
}
.ace-monokai .ace_constant.ace_numeric {
color:#AE81FF;
.ace-monokai .ace_entity.ace_name.ace_tag,
.ace-monokai .ace_keyword,
.ace-monokai .ace_meta,
.ace-monokai .ace_storage {
color: #F92672
}
.ace-monokai .ace_constant.ace_character,
.ace-monokai .ace_constant.ace_language,
.ace-monokai .ace_constant.ace_numeric,
.ace-monokai .ace_constant.ace_other {
color:#AE81FF;
color: #AE81FF
}
.ace-monokai .ace_invalid {
color:#F8F8F0;
background-color:#F92672;
color: #F8F8F0;
background-color: #F92672
}
.ace-monokai .ace_invalid.ace_deprecated {
color:#F8F8F0;
background-color:#AE81FF;
color: #F8F8F0;
background-color: #AE81FF
}
.ace-monokai .ace_support.ace_constant {
color:#66D9EF;
.ace-monokai .ace_support.ace_constant,
.ace-monokai .ace_support.ace_function {
color: #66D9EF
}
.ace-monokai .ace_fold {
background-color: #A6E22E;
border-color: #F8F8F2;
}
.ace-monokai .ace_support.ace_function {
color:#66D9EF;
background-color: #A6E22E;
border-color: #F8F8F2
}
.ace-monokai .ace_storage.ace_type,
.ace-monokai .ace_support.ace_class,
.ace-monokai .ace_support.ace_type {
font-style:italic;
color:#66D9EF;
}
.ace-monokai .ace_support.ace_class {
font-style:italic;
color:#66D9EF;
}
.ace-monokai .ace_storage {
color:#F92672;
}
.ace-monokai .ace_storage.ace_type, .ace-monokai .ace_support.ace_type {
font-style:italic;
color:#66D9EF;
font-style: italic;
color: #66D9EF
}
.ace-monokai .ace_entity.ace_name.ace_function,
.ace-monokai .ace_entity.ace_other.ace_attribute-name,
.ace-monokai .ace_variable {
color:#A6E22E;
color: #A6E22E
}
.ace-monokai .ace_variable.ace_parameter {
font-style:italic;
color:#FD971F;
font-style: italic;
color: #FD971F
}
.ace-monokai .ace_string {
color:#E6DB74;
color: #E6DB74
}
.ace-monokai .ace_comment {
color:#75715E;
}
.ace-monokai .ace_entity.ace_other.ace_attribute-name {
color:#A6E22E;
}
.ace-monokai .ace_entity.ace_name.ace_function {
color:#A6E22E;
color: #75715E
}
.ace-monokai .ace_markup.ace_underline {
text-decoration:underline;
text-decoration: underline
}
.ace-monokai .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ11D6z7Bq1ar/ABCKBG6g04U2AAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ11D6z7Bq1ar/ABCKBG6g04U2AAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-monokai";
exports.cssText = require('ace/requirejs/text!./monokai.css');
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -1,154 +1,141 @@
.ace-pastel-on-dark .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-pastel-on-dark .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-pastel-on-dark .ace_gutter {
background: #353030;
color: #8F938F;
color: #8F938F
}
.ace-pastel-on-dark .ace_print_margin {
.ace-pastel-on-dark .ace_print-margin {
width: 1px;
background: #353030;
background: #353030
}
.ace-pastel-on-dark .ace_scroller {
background-color: #2C2828;
background-color: #2C2828
}
.ace-pastel-on-dark .ace_text-layer {
color: #8F938F;
color: #8F938F
}
.ace-pastel-on-dark .ace_cursor {
border-left: 2px solid #A7A7A7;
border-left: 2px solid #A7A7A7
}
.ace-pastel-on-dark .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #A7A7A7;
border-bottom: 1px solid #A7A7A7
}
.ace-pastel-on-dark .ace_marker-layer .ace_selection {
background: rgba(221, 240, 255, 0.20);
background: rgba(221, 240, 255, 0.20)
}
.ace-pastel-on-dark.multiselect .ace_selection.start {
.ace-pastel-on-dark.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #2C2828;
border-radius: 2px;
border-radius: 2px
}
.ace-pastel-on-dark .ace_marker-layer .ace_step {
background: rgb(102, 82, 0);
background: rgb(102, 82, 0)
}
.ace-pastel-on-dark .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid rgba(255, 255, 255, 0.25);
border: 1px solid rgba(255, 255, 255, 0.25)
}
.ace-pastel-on-dark .ace_marker-layer .ace_active_line {
background: rgba(255, 255, 255, 0.031);
.ace-pastel-on-dark .ace_marker-layer .ace_active-line {
background: rgba(255, 255, 255, 0.031)
}
.ace-pastel-on-dark .ace_gutter_active_line {
background-color: rgba(255, 255, 255, 0.031);
.ace-pastel-on-dark .ace_gutter-active-line {
background-color: rgba(255, 255, 255, 0.031)
}
.ace-pastel-on-dark .ace_marker-layer .ace_selected_word {
border: 1px solid rgba(221, 240, 255, 0.20);
.ace-pastel-on-dark .ace_marker-layer .ace_selected-word {
border: 1px solid rgba(221, 240, 255, 0.20)
}
.ace-pastel-on-dark .ace_invisible {
color: rgba(255, 255, 255, 0.25);
color: rgba(255, 255, 255, 0.25)
}
.ace-pastel-on-dark .ace_keyword, .ace-pastel-on-dark .ace_meta {
color:#757aD8;
.ace-pastel-on-dark .ace_keyword,
.ace-pastel-on-dark .ace_meta {
color: #757aD8
}
.ace-pastel-on-dark .ace_constant,
.ace-pastel-on-dark .ace_constant.ace_character,
.ace-pastel-on-dark .ace_constant.ace_character.ace_escape,
.ace-pastel-on-dark .ace_constant.ace_other {
color: #4FB7C5
}
.ace-pastel-on-dark .ace_keyword.ace_operator {
color:#797878;
color: #797878
}
.ace-pastel-on-dark .ace_constant, .ace-pastel-on-dark .ace_constant.ace_other {
color:#4FB7C5;
}
.ace-pastel-on-dark .ace_constant.ace_character, {
color:#4FB7C5;
}
.ace-pastel-on-dark .ace_constant.ace_character.ace_escape, {
color:#4FB7C5;
.ace-pastel-on-dark .ace_constant.ace_character {
color: #AFA472
}
.ace-pastel-on-dark .ace_constant.ace_language {
color:#DE8E30;
color: #DE8E30
}
.ace-pastel-on-dark .ace_constant.ace_numeric {
color:#CCCCCC;
}
.ace-pastel-on-dark .ace_invalid {
color:#F8F8F8;
background-color:rgba(86, 45, 86, 0.75);
color: #CCCCCC
}
.ace-pastel-on-dark .ace_invalid,
.ace-pastel-on-dark .ace_invalid.ace_illegal {
color:#F8F8F8;
background-color:rgba(86, 45, 86, 0.75);
color: #F8F8F8;
background-color: rgba(86, 45, 86, 0.75)
}
.ace-pastel-on-dark .ace_invalid.ace_deprecated {
text-decoration:underline;
font-style:italic;
color:#D2A8A1;
text-decoration: underline;
font-style: italic;
color: #D2A8A1
}
.ace-pastel-on-dark .ace_fold {
background-color: #757aD8;
border-color: #8F938F;
background-color: #757aD8;
border-color: #8F938F
}
.ace-pastel-on-dark .ace_support.ace_function {
color:#AEB2F8;
color: #AEB2F8
}
.ace-pastel-on-dark .ace_string {
color:#66A968;
color: #66A968
}
.ace-pastel-on-dark .ace_string.ace_regexp {
color:#E9C062;
color: #E9C062
}
.ace-pastel-on-dark .ace_comment {
color:#A6C6FF;
color: #A6C6FF
}
.ace-pastel-on-dark .ace_variable {
color:#BEBF55;
color: #BEBF55
}
.ace-pastel-on-dark .ace_variable.ace_language {
color:#C1C144;
color: #C1C144
}
.ace-pastel-on-dark .ace_xml_pe {
color:#494949;
.ace-pastel-on-dark .ace_xml-pe {
color: #494949
}
.ace-pastel-on-dark .ace_markup.ace_underline {
text-decoration:underline;
text-decoration: underline
}
.ace-pastel-on-dark .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0dD4z9DR0fEfAA+vBBPqhbn1AAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0dD4z9DR0fEfAA+vBBPqhbn1AAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-pastel-on-dark";
exports.cssText = require('ace/requirejs/text!./pastel_on_dark.css');
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -1,147 +1,113 @@
.ace-solarized-dark .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-solarized-dark .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-solarized-dark .ace_gutter {
background: #01313f;
color: #d0edf7;
color: #d0edf7
}
.ace-solarized-dark .ace_print_margin {
.ace-solarized-dark .ace_print-margin {
width: 1px;
background: #33555E;
background: #33555E
}
.ace-solarized-dark .ace_scroller {
background-color: #002B36;
background-color: #002B36
}
.ace-solarized-dark .ace_entity.ace_other.ace_attribute-name,
.ace-solarized-dark .ace_storage,
.ace-solarized-dark .ace_text-layer {
color: #93A1A1;
color: #93A1A1
}
.ace-solarized-dark .ace_cursor {
border-left: 2px solid #D30102;
border-left: 2px solid #D30102
}
.ace-solarized-dark .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #D30102;
border-bottom: 1px solid #D30102
}
.ace-solarized-dark .ace_marker-layer .ace_active-line,
.ace-solarized-dark .ace_marker-layer .ace_selection {
background: #073642;
background: rgba(255, 255, 255, 0.1)
}
.ace-solarized-dark.multiselect .ace_selection.start {
.ace-solarized-dark.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #002B36;
border-radius: 2px;
border-radius: 2px
}
.ace-solarized-dark .ace_marker-layer .ace_step {
background: rgb(102, 82, 0);
background: rgb(102, 82, 0)
}
.ace-solarized-dark .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid rgba(147, 161, 161, 0.50);
border: 1px solid rgba(147, 161, 161, 0.50)
}
.ace-solarized-dark .ace_marker-layer .ace_active_line {
background: #073642;
.ace-solarized-dark .ace_gutter-active-line {
background-color: #0d3440
}
.ace-solarized-dark .ace_gutter_active_line {
background-color: #0d3440;
}
.ace-solarized-dark .ace_marker-layer .ace_selected_word {
border: 1px solid #073642;
.ace-solarized-dark .ace_marker-layer .ace_selected-word {
border: 1px solid #073642
}
.ace-solarized-dark .ace_invisible {
color: rgba(147, 161, 161, 0.50);
color: rgba(147, 161, 161, 0.50)
}
.ace-solarized-dark .ace_keyword, .ace-solarized-dark .ace_meta {
color:#859900;
.ace-solarized-dark .ace_keyword,
.ace-solarized-dark .ace_meta,
.ace-solarized-dark .ace_support.ace_class,
.ace-solarized-dark .ace_support.ace_type {
color: #859900
}
.ace-solarized-dark .ace_constant.ace_character {
color:#CB4B16;
.ace-solarized-dark .ace_constant.ace_character,
.ace-solarized-dark .ace_constant.ace_other {
color: #CB4B16
}
.ace-solarized-dark .ace_constant.ace_language {
color:#B58900;
color: #B58900
}
.ace-solarized-dark .ace_constant.ace_numeric {
color:#D33682;
}
.ace-solarized-dark .ace_constant.ace_other {
color:#CB4B16;
color: #D33682
}
.ace-solarized-dark .ace_fold {
background-color: #268BD2;
border-color: #93A1A1;
background-color: #268BD2;
border-color: #93A1A1
}
.ace-solarized-dark .ace_support.ace_function {
color:#268BD2;
}
.ace-solarized-dark .ace_support.ace_type {
color:#859900;
}
.ace-solarized-dark .ace_support.ace_class {
color:#859900;
}
.ace-solarized-dark .ace_storage {
color:#93A1A1;
}
.ace-solarized-dark .ace_variable {
color:#268BD2;
.ace-solarized-dark .ace_entity.ace_name.ace_function,
.ace-solarized-dark .ace_entity.ace_name.ace_tag,
.ace-solarized-dark .ace_support.ace_function,
.ace-solarized-dark .ace_variable,
.ace-solarized-dark .ace_variable.ace_language {
color: #268BD2
}
.ace-solarized-dark .ace_string {
color:#2AA198;
color: #2AA198
}
.ace-solarized-dark .ace_string.ace_regexp {
color:#D30102;
color: #D30102
}
.ace-solarized-dark .ace_comment {
font-style:italic;
color:#657B83;
}
.ace-solarized-dark .ace_variable.ace_language {
color:#268BD2;
}
.ace-solarized-dark .ace_entity.ace_other.ace_attribute-name {
color:#93A1A1;
}
.ace-solarized-dark .ace_entity.ace_name.ace_function {
color:#268BD2;
font-style: italic;
color: #657B83
}
.ace-solarized-dark .ace_markup.ace_underline {
text-decoration:underline;
text-decoration: underline
}
.ace-solarized-dark .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNg0Db7zzBz5sz/AA82BCv7wOIDAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNg0Db7zzBz5sz/AA82BCv7wOIDAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-solarized-dark";
exports.cssText = require('ace/requirejs/text!./solarized_dark.css');
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -1,146 +1,118 @@
.ace-solarized-light .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-solarized-light .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-solarized-light .ace_gutter {
background: #fbf1d3;
color: #333;
color: #333
}
.ace-solarized-light .ace_print_margin {
.ace-solarized-light .ace_print-margin {
width: 1px;
background: #e8e8e8;
background: #e8e8e8
}
.ace-solarized-light .ace_scroller {
background-color: #FDF6E3;
background-color: #FDF6E3
}
.ace-solarized-light .ace_text-layer {
color: #586E75;
color: #586E75
}
.ace-solarized-light .ace_cursor {
border-left: 2px solid #000000;
border-left: 2px solid #000000
}
.ace-solarized-light .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #000000;
border-bottom: 1px solid #000000
}
.ace-solarized-light .ace_marker-layer .ace_selection {
background: #073642;
background: #073642
}
.ace-solarized-light.multiselect .ace_selection.start {
.ace-solarized-light.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #FDF6E3;
border-radius: 2px;
border-radius: 2px
}
.ace-solarized-light .ace_marker-layer .ace_step {
background: rgb(255, 255, 0);
background: rgb(255, 255, 0)
}
.ace-solarized-light .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid rgba(147, 161, 161, 0.50);
border: 1px solid rgba(147, 161, 161, 0.50)
}
.ace-solarized-light .ace_marker-layer .ace_active_line {
background: #EEE8D5;
.ace-solarized-light .ace_marker-layer .ace_active-line {
background: #EEE8D5
}
.ace-solarized-light .ace_gutter_active_line {
background-color : #dcdcdc;
.ace-solarized-light .ace_gutter-active-line {
background-color : #dcdcdc
}
.ace-solarized-light .ace_marker-layer .ace_selected_word {
border: 1px solid #073642;
.ace-solarized-light .ace_marker-layer .ace_selected-word {
border: 1px solid #073642
}
.ace-solarized-light .ace_invisible {
color: rgba(147, 161, 161, 0.50);
color: rgba(147, 161, 161, 0.50)
}
.ace-solarized-light .ace_keyword, .ace-solarized-light .ace_meta {
color:#859900;
.ace-solarized-light .ace_keyword,
.ace-solarized-light .ace_meta,
.ace-solarized-light .ace_support.ace_class,
.ace-solarized-light .ace_support.ace_type {
color: #859900
}
.ace-solarized-light .ace_constant.ace_character {
color:#CB4B16;
.ace-solarized-light .ace_constant.ace_character,
.ace-solarized-light .ace_constant.ace_other {
color: #CB4B16
}
.ace-solarized-light .ace_constant.ace_language {
color:#B58900;
color: #B58900
}
.ace-solarized-light .ace_constant.ace_numeric {
color:#D33682;
}
.ace-solarized-light .ace_constant.ace_other {
color:#CB4B16;
color: #D33682
}
.ace-solarized-light .ace_fold {
background-color: #268BD2;
border-color: #586E75;
background-color: #268BD2;
border-color: #586E75
}
.ace-solarized-light .ace_support.ace_function {
color:#268BD2;
}
.ace-solarized-light .ace_support.ace_type {
color:#859900;
}
.ace-solarized-light .ace_support.ace_class {
color:#859900;
.ace-solarized-light .ace_entity.ace_name.ace_function,
.ace-solarized-light .ace_entity.ace_name.ace_tag,
.ace-solarized-light .ace_support.ace_function,
.ace-solarized-light .ace_variable,
.ace-solarized-light .ace_variable.ace_language {
color: #268BD2
}
.ace-solarized-light .ace_storage {
color:#073642;
}
.ace-solarized-light .ace_variable {
color:#268BD2;
color: #073642
}
.ace-solarized-light .ace_string {
color:#2AA198;
color: #2AA198
}
.ace-solarized-light .ace_string.ace_regexp {
color:#D30102;
}
.ace-solarized-light .ace_comment {
color:#93A1A1;
}
.ace-solarized-light .ace_variable.ace_language {
color:#268BD2;
color: #D30102
}
.ace-solarized-light .ace_comment,
.ace-solarized-light .ace_entity.ace_other.ace_attribute-name {
color:#93A1A1;
}
.ace-solarized-light .ace_entity.ace_name.ace_function {
color:#268BD2;
color: #93A1A1
}
.ace-solarized-light .ace_markup.ace_underline {
text-decoration:underline;
text-decoration: underline
}
.ace-solarized-light .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4++3xf4ZVq1b9BwAjxwbT1g3hiwAAAABJRU5ErkJggg==) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4++3xf4ZVq1b9BwAjxwbT1g3hiwAAAABJRU5ErkJggg==) right repeat-y
}

View file

@ -34,6 +34,6 @@ exports.isDark = false;
exports.cssClass = "ace-solarized-light";
exports.cssText = require('ace/requirejs/text!./solarized_light.css');
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -1,17 +1,9 @@
.ace-tm .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-tm .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-tm .ace_gutter {
background: #f0f0f0;
color: #333;
}
.ace-tm .ace_print_margin {
.ace-tm .ace_print-margin {
width: 1px;
background: #e8e8e8;
}
@ -104,7 +96,7 @@
color: rgb(49, 132, 149);
}
.ace-tm .ace_line .ace_xml_pe {
.ace-tm .ace_line .ace_xml-pe {
color: rgb(104, 104, 91);
}
@ -112,9 +104,6 @@
color: #0000A2;
}
.ace-tm .ace_markup.ace_underline {
text-decoration:underline;
}
.ace-tm .ace_markup.ace_heading {
color: rgb(12, 7, 255);
@ -135,7 +124,7 @@
.ace-tm .ace_marker-layer .ace_selection {
background: rgb(181, 213, 255);
}
.ace-tm.multiselect .ace_selection.start {
.ace-tm.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px white;
border-radius: 2px;
}
@ -152,15 +141,15 @@
border: 1px solid rgb(192, 192, 192);
}
.ace-tm .ace_marker-layer .ace_active_line {
.ace-tm .ace_marker-layer .ace_active-line {
background: rgba(0, 0, 0, 0.07);
}
.ace-tm .ace_gutter_active_line {
.ace-tm .ace_gutter-active-line {
background-color : #dcdcdc;
}
.ace-tm .ace_marker-layer .ace_selected_word {
.ace-tm .ace_marker-layer .ace_selected-word {
background: rgb(250, 250, 255);
border: 1px solid rgb(200, 200, 250);
}

View file

@ -1,180 +1,136 @@
.ace-tomorrow .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-tomorrow .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-tomorrow .ace_gutter {
background: #f6f6f6;
color: #4D4D4C;
color: #4D4D4C
}
.ace-tomorrow .ace_print_margin {
.ace-tomorrow .ace_print-margin {
width: 1px;
background: #f6f6f6;
background: #f6f6f6
}
.ace-tomorrow .ace_scroller {
background-color: #FFFFFF;
background-color: #FFFFFF
}
.ace-tomorrow .ace_text-layer {
color: #4D4D4C;
color: #4D4D4C
}
.ace-tomorrow .ace_cursor {
border-left: 2px solid #AEAFAD;
border-left: 2px solid #AEAFAD
}
.ace-tomorrow .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #AEAFAD;
border-bottom: 1px solid #AEAFAD
}
.ace-tomorrow .ace_marker-layer .ace_selection {
background: #D6D6D6;
background: #D6D6D6
}
.ace-tomorrow.multiselect .ace_selection.start {
.ace-tomorrow.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #FFFFFF;
border-radius: 2px;
border-radius: 2px
}
.ace-tomorrow .ace_marker-layer .ace_step {
background: rgb(255, 255, 0);
background: rgb(255, 255, 0)
}
.ace-tomorrow .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid #D1D1D1;
border: 1px solid #D1D1D1
}
.ace-tomorrow .ace_marker-layer .ace_active_line {
background: #EFEFEF;
.ace-tomorrow .ace_marker-layer .ace_active-line {
background: #EFEFEF
}
.ace-tomorrow .ace_gutter_active_line {
background-color : #dcdcdc;
.ace-tomorrow .ace_gutter-active-line {
background-color : #dcdcdc
}
.ace-tomorrow .ace_marker-layer .ace_selected_word {
border: 1px solid #D6D6D6;
.ace-tomorrow .ace_marker-layer .ace_selected-word {
border: 1px solid #D6D6D6
}
.ace-tomorrow .ace_invisible {
color: #D1D1D1;
color: #D1D1D1
}
.ace-tomorrow .ace_keyword, .ace-tomorrow .ace_meta {
color:#8959A8;
.ace-tomorrow .ace_keyword,
.ace-tomorrow .ace_meta,
.ace-tomorrow .ace_storage,
.ace-tomorrow .ace_storage.ace_type,
.ace-tomorrow .ace_support.ace_type {
color: #8959A8
}
.ace-tomorrow .ace_keyword.ace_operator {
color:#3E999F;
color: #3E999F
}
.ace-tomorrow .ace_constant.ace_character {
color:#F5871F;
}
.ace-tomorrow .ace_constant.ace_language {
color:#F5871F;
}
.ace-tomorrow .ace_constant.ace_numeric {
color:#F5871F;
.ace-tomorrow .ace_constant.ace_character,
.ace-tomorrow .ace_constant.ace_language,
.ace-tomorrow .ace_constant.ace_numeric,
.ace-tomorrow .ace_keyword.ace_other.ace_unit,
.ace-tomorrow .ace_support.ace_constant,
.ace-tomorrow .ace_variable.ace_parameter {
color: #F5871F
}
.ace-tomorrow .ace_constant.ace_other {
color:#666969;
color: #666969
}
.ace-tomorrow .ace_invalid {
color:#FFFFFF;
background-color:#C82829;
color: #FFFFFF;
background-color: #C82829
}
.ace-tomorrow .ace_invalid.ace_deprecated {
color:#FFFFFF;
background-color:#8959A8;
}
.ace-tomorrow .ace_support.ace_constant {
color:#F5871F;
color: #FFFFFF;
background-color: #8959A8
}
.ace-tomorrow .ace_fold {
background-color: #4271AE;
border-color: #4D4D4C;
}
.ace-tomorrow .ace_support.ace_function {
color:#4271AE;
}
.ace-tomorrow .ace_support.ace_type {
color:#C99E00;
}
.ace-tomorrow .ace_support.ace_class {
color:#C99E00;
}
.ace-tomorrow .ace_storage {
color:#8959A8;
}
.ace-tomorrow .ace_storage.ace_type, .ace-tomorrow .ace_support.ace_type {
color:#8959A8;
background-color: #4271AE;
border-color: #4D4D4C
}
.ace-tomorrow .ace_entity.ace_name.ace_function,
.ace-tomorrow .ace_support.ace_function,
.ace-tomorrow .ace_variable {
color:#4271AE;
color: #4271AE
}
.ace-tomorrow .ace_variable.ace_parameter {
color:#F5871F;
.ace-tomorrow .ace_support.ace_class,
.ace-tomorrow .ace_support.ace_type {
color: #C99E00
}
.ace-tomorrow .ace_markup.ace_heading,
.ace-tomorrow .ace_string {
color:#718C00;
color: #718C00
}
.ace-tomorrow .ace_string.ace_regexp {
color:#C82829;
.ace-tomorrow .ace_entity.ace_name.ace_tag,
.ace-tomorrow .ace_entity.ace_other.ace_attribute-name,
.ace-tomorrow .ace_meta.ace_tag,
.ace-tomorrow .ace_string.ace_regexp,
.ace-tomorrow .ace_variable {
color: #C82829
}
.ace-tomorrow .ace_comment {
color:#8E908C;
}
.ace-tomorrow .ace_variable {
color:#C82829;
}
.ace-tomorrow .ace_meta.ace_tag {
color:#C82829;
}
.ace-tomorrow .ace_entity.ace_other.ace_attribute-name {
color:#C82829;
}
.ace-tomorrow .ace_entity.ace_name.ace_function {
color:#4271AE;
color: #8E908C
}
.ace-tomorrow .ace_markup.ace_underline {
text-decoration:underline;
}
.ace-tomorrow .ace_markup.ace_heading {
color:#718C00;
text-decoration: underline
}
.ace-tomorrow .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bdu3f/BwAlfgctduB85QAAAABJRU5ErkJggg==) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bdu3f/BwAlfgctduB85QAAAABJRU5ErkJggg==) right repeat-y
}

View file

@ -34,6 +34,6 @@ exports.isDark = false;
exports.cssClass = "ace-tomorrow";
exports.cssText = require('ace/requirejs/text!./tomorrow.css');
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -1,180 +1,136 @@
.ace-tomorrow-night .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-tomorrow-night .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-tomorrow-night .ace_gutter {
background: #25282c;
color: #C5C8C6;
color: #C5C8C6
}
.ace-tomorrow-night .ace_print_margin {
.ace-tomorrow-night .ace_print-margin {
width: 1px;
background: #25282c;
background: #25282c
}
.ace-tomorrow-night .ace_scroller {
background-color: #1D1F21;
background-color: #1D1F21
}
.ace-tomorrow-night .ace_text-layer {
color: #C5C8C6;
color: #C5C8C6
}
.ace-tomorrow-night .ace_cursor {
border-left: 2px solid #AEAFAD;
border-left: 2px solid #AEAFAD
}
.ace-tomorrow-night .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #AEAFAD;
border-bottom: 1px solid #AEAFAD
}
.ace-tomorrow-night .ace_marker-layer .ace_selection {
background: #373B41;
background: #373B41
}
.ace-tomorrow-night.multiselect .ace_selection.start {
.ace-tomorrow-night.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #1D1F21;
border-radius: 2px;
border-radius: 2px
}
.ace-tomorrow-night .ace_marker-layer .ace_step {
background: rgb(102, 82, 0);
background: rgb(102, 82, 0)
}
.ace-tomorrow-night .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid #4B4E55;
border: 1px solid #4B4E55
}
.ace-tomorrow-night .ace_marker-layer .ace_active_line {
background: #282A2E;
.ace-tomorrow-night .ace_marker-layer .ace_active-line {
background: #282A2E
}
.ace-tomorrow-night .ace_gutter_active_line {
background-color: #282A2E;
.ace-tomorrow-night .ace_gutter-active-line {
background-color: #282A2E
}
.ace-tomorrow-night .ace_marker-layer .ace_selected_word {
border: 1px solid #373B41;
.ace-tomorrow-night .ace_marker-layer .ace_selected-word {
border: 1px solid #373B41
}
.ace-tomorrow-night .ace_invisible {
color: #4B4E55;
color: #4B4E55
}
.ace-tomorrow-night .ace_keyword, .ace-tomorrow-night .ace_meta {
color:#B294BB;
.ace-tomorrow-night .ace_keyword,
.ace-tomorrow-night .ace_meta,
.ace-tomorrow-night .ace_storage,
.ace-tomorrow-night .ace_storage.ace_type,
.ace-tomorrow-night .ace_support.ace_type {
color: #B294BB
}
.ace-tomorrow-night .ace_keyword.ace_operator {
color:#8ABEB7;
color: #8ABEB7
}
.ace-tomorrow-night .ace_constant.ace_character {
color:#DE935F;
}
.ace-tomorrow-night .ace_constant.ace_language {
color:#DE935F;
}
.ace-tomorrow-night .ace_constant.ace_numeric {
color:#DE935F;
.ace-tomorrow-night .ace_constant.ace_character,
.ace-tomorrow-night .ace_constant.ace_language,
.ace-tomorrow-night .ace_constant.ace_numeric,
.ace-tomorrow-night .ace_keyword.ace_other.ace_unit,
.ace-tomorrow-night .ace_support.ace_constant,
.ace-tomorrow-night .ace_variable.ace_parameter {
color: #DE935F
}
.ace-tomorrow-night .ace_constant.ace_other {
color:#CED1CF;
color: #CED1CF
}
.ace-tomorrow-night .ace_invalid {
color:#CED2CF;
background-color:#DF5F5F;
color: #CED2CF;
background-color: #DF5F5F
}
.ace-tomorrow-night .ace_invalid.ace_deprecated {
color:#CED2CF;
background-color:#B798BF;
}
.ace-tomorrow-night .ace_support.ace_constant {
color:#DE935F;
color: #CED2CF;
background-color: #B798BF
}
.ace-tomorrow-night .ace_fold {
background-color: #81A2BE;
border-color: #C5C8C6;
}
.ace-tomorrow-night .ace_support.ace_function {
color:#81A2BE;
}
.ace-tomorrow-night .ace_support.ace_type {
color:#F0C674;
}
.ace-tomorrow-night .ace_support.ace_class {
color:#F0C674;
}
.ace-tomorrow-night .ace_storage {
color:#B294BB;
}
.ace-tomorrow-night .ace_storage.ace_type, .ace-tomorrow-night .ace_support.ace_type {
color:#B294BB;
background-color: #81A2BE;
border-color: #C5C8C6
}
.ace-tomorrow-night .ace_entity.ace_name.ace_function,
.ace-tomorrow-night .ace_support.ace_function,
.ace-tomorrow-night .ace_variable {
color:#81A2BE;
color: #81A2BE
}
.ace-tomorrow-night .ace_variable.ace_parameter {
color:#DE935F;
.ace-tomorrow-night .ace_support.ace_class,
.ace-tomorrow-night .ace_support.ace_type {
color: #F0C674
}
.ace-tomorrow-night .ace_markup.ace_heading,
.ace-tomorrow-night .ace_string {
color:#B5BD68;
color: #B5BD68
}
.ace-tomorrow-night .ace_string.ace_regexp {
color:#CC6666;
.ace-tomorrow-night .ace_entity.ace_name.ace_tag,
.ace-tomorrow-night .ace_entity.ace_other.ace_attribute-name,
.ace-tomorrow-night .ace_meta.ace_tag,
.ace-tomorrow-night .ace_string.ace_regexp,
.ace-tomorrow-night .ace_variable {
color: #CC6666
}
.ace-tomorrow-night .ace_comment {
color:#969896;
}
.ace-tomorrow-night .ace_variable {
color:#CC6666;
}
.ace-tomorrow-night .ace_meta.ace_tag {
color:#CC6666;
}
.ace-tomorrow-night .ace_entity.ace_other.ace_attribute-name {
color:#CC6666;
}
.ace-tomorrow-night .ace_entity.ace_name.ace_function {
color:#81A2BE;
color: #969896
}
.ace-tomorrow-night .ace_markup.ace_underline {
text-decoration:underline;
}
.ace-tomorrow-night .ace_markup.ace_heading {
color:#B5BD68;
text-decoration: underline
}
.ace-tomorrow-night .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQlVf8z7Bq1ar/AA/hBFp7egmpAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQlVf8z7Bq1ar/AA/hBFp7egmpAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-tomorrow-night";
exports.cssText = require('ace/requirejs/text!./tomorrow_night.css');
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -1,180 +1,133 @@
.ace-tomorrow-night-blue .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-tomorrow-night-blue .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-tomorrow-night-blue .ace_gutter {
background: #00204b;
color: #7388b5;
color: #7388b5
}
.ace-tomorrow-night-blue .ace_print_margin {
.ace-tomorrow-night-blue .ace_print-margin {
width: 1px;
background: #00204b;
background: #00204b
}
.ace-tomorrow-night-blue .ace_scroller {
background-color: #002451;
background-color: #002451
}
.ace-tomorrow-night-blue .ace_constant.ace_other,
.ace-tomorrow-night-blue .ace_text-layer {
color: #FFFFFF;
color: #FFFFFF
}
.ace-tomorrow-night-blue .ace_cursor {
border-left: 2px solid #FFFFFF;
border-left: 2px solid #FFFFFF
}
.ace-tomorrow-night-blue .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #FFFFFF;
border-bottom: 1px solid #FFFFFF
}
.ace-tomorrow-night-blue .ace_marker-layer .ace_selection {
background: #003F8E;
background: #003F8E
}
.ace-tomorrow-night-blue.multiselect .ace_selection.start {
.ace-tomorrow-night-blue.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #002451;
border-radius: 2px;
border-radius: 2px
}
.ace-tomorrow-night-blue .ace_marker-layer .ace_step {
background: rgb(127, 111, 19);
background: rgb(127, 111, 19)
}
.ace-tomorrow-night-blue .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid #404F7D;
border: 1px solid #404F7D
}
.ace-tomorrow-night-blue .ace_marker-layer .ace_active_line {
background: #00346E;
.ace-tomorrow-night-blue .ace_marker-layer .ace_active-line {
background: #00346E
}
.ace-tomorrow-night-blue .ace_gutter_active_line {
background-color: #022040;
.ace-tomorrow-night-blue .ace_gutter-active-line {
background-color: #022040
}
.ace-tomorrow-night-blue .ace_marker-layer .ace_selected_word {
border: 1px solid #003F8E;
.ace-tomorrow-night-blue .ace_marker-layer .ace_selected-word {
border: 1px solid #003F8E
}
.ace-tomorrow-night-blue .ace_invisible {
color: #404F7D;
color: #404F7D
}
.ace-tomorrow-night-blue .ace_keyword, .ace-tomorrow-night-blue .ace_meta {
color:#EBBBFF;
.ace-tomorrow-night-blue .ace_keyword,
.ace-tomorrow-night-blue .ace_meta,
.ace-tomorrow-night-blue .ace_storage,
.ace-tomorrow-night-blue .ace_storage.ace_type,
.ace-tomorrow-night-blue .ace_support.ace_type {
color: #EBBBFF
}
.ace-tomorrow-night-blue .ace_keyword.ace_operator {
color:#99FFFF;
color: #99FFFF
}
.ace-tomorrow-night-blue .ace_constant.ace_character {
color:#FFC58F;
}
.ace-tomorrow-night-blue .ace_constant.ace_language {
color:#FFC58F;
}
.ace-tomorrow-night-blue .ace_constant.ace_numeric {
color:#FFC58F;
}
.ace-tomorrow-night-blue .ace_constant.ace_other {
color:#FFFFFF;
.ace-tomorrow-night-blue .ace_constant.ace_character,
.ace-tomorrow-night-blue .ace_constant.ace_language,
.ace-tomorrow-night-blue .ace_constant.ace_numeric,
.ace-tomorrow-night-blue .ace_keyword.ace_other.ace_unit,
.ace-tomorrow-night-blue .ace_support.ace_constant,
.ace-tomorrow-night-blue .ace_variable.ace_parameter {
color: #FFC58F
}
.ace-tomorrow-night-blue .ace_invalid {
color:#FFFFFF;
background-color:#F99DA5;
color: #FFFFFF;
background-color: #F99DA5
}
.ace-tomorrow-night-blue .ace_invalid.ace_deprecated {
color:#FFFFFF;
background-color:#EBBBFF;
}
.ace-tomorrow-night-blue .ace_support.ace_constant {
color:#FFC58F;
color: #FFFFFF;
background-color: #EBBBFF
}
.ace-tomorrow-night-blue .ace_fold {
background-color: #BBDAFF;
border-color: #FFFFFF;
}
.ace-tomorrow-night-blue .ace_support.ace_function {
color:#BBDAFF;
}
.ace-tomorrow-night-blue .ace_support.ace_type {
color:#FFEEAD;
}
.ace-tomorrow-night-blue .ace_support.ace_class {
color:#FFEEAD;
}
.ace-tomorrow-night-blue .ace_storage {
color:#EBBBFF;
}
.ace-tomorrow-night-blue .ace_storage.ace_type, .ace-tomorrow-night-blue .ace_support.ace_type {
color:#EBBBFF;
background-color: #BBDAFF;
border-color: #FFFFFF
}
.ace-tomorrow-night-blue .ace_entity.ace_name.ace_function,
.ace-tomorrow-night-blue .ace_support.ace_function,
.ace-tomorrow-night-blue .ace_variable {
color:#BBDAFF;
color: #BBDAFF
}
.ace-tomorrow-night-blue .ace_variable.ace_parameter {
color:#FFC58F;
.ace-tomorrow-night-blue .ace_support.ace_class,
.ace-tomorrow-night-blue .ace_support.ace_type {
color: #FFEEAD
}
.ace-tomorrow-night-blue .ace_markup.ace_heading,
.ace-tomorrow-night-blue .ace_string {
color:#D1F1A9;
color: #D1F1A9
}
.ace-tomorrow-night-blue .ace_string.ace_regexp {
color:#FF9DA4;
.ace-tomorrow-night-blue .ace_entity.ace_name.ace_tag,
.ace-tomorrow-night-blue .ace_entity.ace_other.ace_attribute-name,
.ace-tomorrow-night-blue .ace_meta.ace_tag,
.ace-tomorrow-night-blue .ace_string.ace_regexp,
.ace-tomorrow-night-blue .ace_variable {
color: #FF9DA4
}
.ace-tomorrow-night-blue .ace_comment {
color:#7285B7;
}
.ace-tomorrow-night-blue .ace_variable {
color:#FF9DA4;
}
.ace-tomorrow-night-blue .ace_meta.ace_tag {
color:#FF9DA4;
}
.ace-tomorrow-night-blue .ace_entity.ace_other.ace_attribute-name {
color:#FF9DA4;
}
.ace-tomorrow-night-blue .ace_entity.ace_name.ace_function {
color:#BBDAFF;
color: #7285B7
}
.ace-tomorrow-night-blue .ace_markup.ace_underline {
text-decoration:underline;
}
.ace-tomorrow-night-blue .ace_markup.ace_heading {
color:#D1F1A9;
text-decoration: underline
}
.ace-tomorrow-night-blue .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgUAn8z7Bq1ar/ABBUBHJ4/r3JAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgUAn8z7Bq1ar/ABBUBHJ4/r3JAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-tomorrow-night-blue";
exports.cssText = require('ace/requirejs/text!./tomorrow_night_blue.css');
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -1,180 +1,136 @@
.ace-tomorrow-night-bright .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-tomorrow-night-bright .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-tomorrow-night-bright .ace_gutter {
background: #1a1a1a;
color: #DEDEDE;
color: #DEDEDE
}
.ace-tomorrow-night-bright .ace_print_margin {
.ace-tomorrow-night-bright .ace_print-margin {
width: 1px;
background: #1a1a1a;
background: #1a1a1a
}
.ace-tomorrow-night-bright .ace_scroller {
background-color: #000000;
background-color: #000000
}
.ace-tomorrow-night-bright .ace_text-layer {
color: #DEDEDE;
color: #DEDEDE
}
.ace-tomorrow-night-bright .ace_cursor {
border-left: 2px solid #9F9F9F;
border-left: 2px solid #9F9F9F
}
.ace-tomorrow-night-bright .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #9F9F9F;
border-bottom: 1px solid #9F9F9F
}
.ace-tomorrow-night-bright .ace_marker-layer .ace_selection {
background: #424242;
background: #424242
}
.ace-tomorrow-night-bright.multiselect .ace_selection.start {
.ace-tomorrow-night-bright.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #000000;
border-radius: 2px;
border-radius: 2px
}
.ace-tomorrow-night-bright .ace_marker-layer .ace_step {
background: rgb(102, 82, 0);
background: rgb(102, 82, 0)
}
.ace-tomorrow-night-bright .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid #343434;
border: 1px solid #343434
}
.ace-tomorrow-night-bright .ace_marker-layer .ace_active_line {
background: #2A2A2A;
.ace-tomorrow-night-bright .ace_marker-layer .ace_active-line {
background: #2A2A2A
}
.ace-tomorrow-night-bright .ace_gutter_active_line {
background-color: #2A2A2A;
.ace-tomorrow-night-bright .ace_gutter-active-line {
background-color: #2A2A2A
}
.ace-tomorrow-night-bright .ace_marker-layer .ace_selected_word {
border: 1px solid #424242;
.ace-tomorrow-night-bright .ace_marker-layer .ace_selected-word {
border: 1px solid #424242
}
.ace-tomorrow-night-bright .ace_invisible {
color: #343434;
color: #343434
}
.ace-tomorrow-night-bright .ace_keyword, .ace-tomorrow-night-bright .ace_meta {
color:#C397D8;
.ace-tomorrow-night-bright .ace_keyword,
.ace-tomorrow-night-bright .ace_meta,
.ace-tomorrow-night-bright .ace_storage,
.ace-tomorrow-night-bright .ace_storage.ace_type,
.ace-tomorrow-night-bright .ace_support.ace_type {
color: #C397D8
}
.ace-tomorrow-night-bright .ace_keyword.ace_operator {
color:#70C0B1;
color: #70C0B1
}
.ace-tomorrow-night-bright .ace_constant.ace_character {
color:#E78C45;
}
.ace-tomorrow-night-bright .ace_constant.ace_language {
color:#E78C45;
}
.ace-tomorrow-night-bright .ace_constant.ace_numeric {
color:#E78C45;
.ace-tomorrow-night-bright .ace_constant.ace_character,
.ace-tomorrow-night-bright .ace_constant.ace_language,
.ace-tomorrow-night-bright .ace_constant.ace_numeric,
.ace-tomorrow-night-bright .ace_keyword.ace_other.ace_unit,
.ace-tomorrow-night-bright .ace_support.ace_constant,
.ace-tomorrow-night-bright .ace_variable.ace_parameter {
color: #E78C45
}
.ace-tomorrow-night-bright .ace_constant.ace_other {
color:#EEEEEE;
color: #EEEEEE
}
.ace-tomorrow-night-bright .ace_invalid {
color:#CED2CF;
background-color:#DF5F5F;
color: #CED2CF;
background-color: #DF5F5F
}
.ace-tomorrow-night-bright .ace_invalid.ace_deprecated {
color:#CED2CF;
background-color:#B798BF;
}
.ace-tomorrow-night-bright .ace_support.ace_constant {
color:#E78C45;
color: #CED2CF;
background-color: #B798BF
}
.ace-tomorrow-night-bright .ace_fold {
background-color: #7AA6DA;
border-color: #DEDEDE;
}
.ace-tomorrow-night-bright .ace_support.ace_function {
color:#7AA6DA;
}
.ace-tomorrow-night-bright .ace_support.ace_type {
color:#E7C547;
}
.ace-tomorrow-night-bright .ace_support.ace_class {
color:#E7C547;
}
.ace-tomorrow-night-bright .ace_storage {
color:#C397D8;
}
.ace-tomorrow-night-bright .ace_storage.ace_type, .ace-tomorrow-night-bright .ace_support.ace_type {
color:#C397D8;
background-color: #7AA6DA;
border-color: #DEDEDE
}
.ace-tomorrow-night-bright .ace_entity.ace_name.ace_function,
.ace-tomorrow-night-bright .ace_support.ace_function,
.ace-tomorrow-night-bright .ace_variable {
color:#7AA6DA;
color: #7AA6DA
}
.ace-tomorrow-night-bright .ace_variable.ace_parameter {
color:#E78C45;
.ace-tomorrow-night-bright .ace_support.ace_class,
.ace-tomorrow-night-bright .ace_support.ace_type {
color: #E7C547
}
.ace-tomorrow-night-bright .ace_markup.ace_heading,
.ace-tomorrow-night-bright .ace_string {
color:#B9CA4A;
color: #B9CA4A
}
.ace-tomorrow-night-bright .ace_string.ace_regexp {
color:#D54E53;
.ace-tomorrow-night-bright .ace_entity.ace_name.ace_tag,
.ace-tomorrow-night-bright .ace_entity.ace_other.ace_attribute-name,
.ace-tomorrow-night-bright .ace_meta.ace_tag,
.ace-tomorrow-night-bright .ace_string.ace_regexp,
.ace-tomorrow-night-bright .ace_variable {
color: #D54E53
}
.ace-tomorrow-night-bright .ace_comment {
color:#969896;
}
.ace-tomorrow-night-bright .ace_variable {
color:#D54E53;
}
.ace-tomorrow-night-bright .ace_meta.ace_tag {
color:#D54E53;
}
.ace-tomorrow-night-bright .ace_entity.ace_other.ace_attribute-name {
color:#D54E53;
}
.ace-tomorrow-night-bright .ace_entity.ace_name.ace_function {
color:#7AA6DA;
color: #969896
}
.ace-tomorrow-night-bright .ace_markup.ace_underline {
text-decoration:underline;
}
.ace-tomorrow-night-bright .ace_markup.ace_heading {
color:#B9CA4A;
text-decoration: underline
}
.ace-tomorrow-night-bright .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGD4z7Bq1ar/AAz9A/2naJQKAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGD4z7Bq1ar/AAz9A/2naJQKAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-tomorrow-night-bright";
exports.cssText = require('ace/requirejs/text!./tomorrow_night_bright.css');
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -1,176 +1,132 @@
.ace-tomorrow-night-eighties .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-tomorrow-night-eighties .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-tomorrow-night-eighties .ace_gutter {
background: #272727;
color: #CCC;
color: #CCC
}
.ace-tomorrow-night-eighties .ace_print_margin {
.ace-tomorrow-night-eighties .ace_print-margin {
width: 1px;
background: #272727;
background: #272727
}
.ace-tomorrow-night-eighties .ace_scroller {
background-color: #2D2D2D;
background-color: #2D2D2D
}
.ace-tomorrow-night-eighties .ace_constant.ace_other,
.ace-tomorrow-night-eighties .ace_text-layer {
color: #CCCCCC;
color: #CCCCCC
}
.ace-tomorrow-night-eighties .ace_cursor {
border-left: 2px solid #CCCCCC;
border-left: 2px solid #CCCCCC
}
.ace-tomorrow-night-eighties .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #CCCCCC;
border-bottom: 1px solid #CCCCCC
}
.ace-tomorrow-night-eighties .ace_marker-layer .ace_selection {
background: #515151;
background: #515151
}
.ace-tomorrow-night-eighties.multiselect .ace_selection.start {
.ace-tomorrow-night-eighties.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #2D2D2D;
border-radius: 2px;
border-radius: 2px
}
.ace-tomorrow-night-eighties .ace_marker-layer .ace_step {
background: rgb(102, 82, 0);
background: rgb(102, 82, 0)
}
.ace-tomorrow-night-eighties .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid #6A6A6A;
border: 1px solid #6A6A6A
}
.ace-tomorrow-night-eighties .ace_marker-layer .ace_active_line {
background: #393939;
.ace-tomorrow-night-eighties .ace_marker-layer .ace_active-line {
background: #393939
}
.ace-tomorrow-night-eighties .ace_gutter_active_line {
background-color: #393939;
.ace-tomorrow-night-eighties .ace_gutter-active-line {
background-color: #393939
}
.ace-tomorrow-night-eighties .ace_marker-layer .ace_selected_word {
border: 1px solid #515151;
.ace-tomorrow-night-eighties .ace_marker-layer .ace_selected-word {
border: 1px solid #515151
}
.ace-tomorrow-night-eighties .ace_invisible {
color: #6A6A6A;
color: #6A6A6A
}
.ace-tomorrow-night-eighties .ace_keyword, .ace-tomorrow-night-eighties .ace_meta {
color:#CC99CC;
.ace-tomorrow-night-eighties .ace_keyword,
.ace-tomorrow-night-eighties .ace_meta,
.ace-tomorrow-night-eighties .ace_storage,
.ace-tomorrow-night-eighties .ace_storage.ace_type,
.ace-tomorrow-night-eighties .ace_support.ace_type {
color: #CC99CC
}
.ace-tomorrow-night-eighties .ace_keyword.ace_operator {
color:#66CCCC;
color: #66CCCC
}
.ace-tomorrow-night-eighties .ace_constant.ace_character {
color:#F99157;
}
.ace-tomorrow-night-eighties .ace_constant.ace_language {
color:#F99157;
}
.ace-tomorrow-night-eighties .ace_constant.ace_numeric {
color:#F99157;
}
.ace-tomorrow-night-eighties .ace_constant.ace_other {
color:#CCCCCC;
.ace-tomorrow-night-eighties .ace_constant.ace_character,
.ace-tomorrow-night-eighties .ace_constant.ace_language,
.ace-tomorrow-night-eighties .ace_constant.ace_numeric,
.ace-tomorrow-night-eighties .ace_keyword.ace_other.ace_unit,
.ace-tomorrow-night-eighties .ace_support.ace_constant,
.ace-tomorrow-night-eighties .ace_variable.ace_parameter {
color: #F99157
}
.ace-tomorrow-night-eighties .ace_invalid {
color:#CDCDCD;
background-color:#F2777A;
color: #CDCDCD;
background-color: #F2777A
}
.ace-tomorrow-night-eighties .ace_invalid.ace_deprecated {
color:#CDCDCD;
background-color:#CC99CC;
}
.ace-tomorrow-night-eighties .ace_support.ace_constant {
color:#F99157;
color: #CDCDCD;
background-color: #CC99CC
}
.ace-tomorrow-night-eighties .ace_fold {
background-color: #6699CC;
border-color: #CCCCCC;
}
.ace-tomorrow-night-eighties .ace_support.ace_function {
color:#6699CC;
}
.ace-tomorrow-night-eighties .ace_support.ace_type {
color:#FFCC66;
}
.ace-tomorrow-night-eighties .ace_support.ace_class {
color:#FFCC66;
}
.ace-tomorrow-night-eighties .ace_storage {
color:#CC99CC;
}
.ace-tomorrow-night-eighties .ace_storage.ace_type, .ace-tomorrow-night-eighties .ace_support.ace_type {
color:#CC99CC;
background-color: #6699CC;
border-color: #CCCCCC
}
.ace-tomorrow-night-eighties .ace_entity.ace_name.ace_function,
.ace-tomorrow-night-eighties .ace_support.ace_function,
.ace-tomorrow-night-eighties .ace_variable {
color:#6699CC;
color: #6699CC
}
.ace-tomorrow-night-eighties .ace_variable.ace_parameter {
color:#F99157;
.ace-tomorrow-night-eighties .ace_support.ace_class,
.ace-tomorrow-night-eighties .ace_support.ace_type {
color: #FFCC66
}
.ace-tomorrow-night-eighties .ace_markup.ace_heading,
.ace-tomorrow-night-eighties .ace_string {
color:#99CC99;
color: #99CC99
}
.ace-tomorrow-night-eighties .ace_comment {
color:#999999;
color: #999999
}
.ace-tomorrow-night-eighties .ace_entity.ace_name.ace_tag,
.ace-tomorrow-night-eighties .ace_entity.ace_other.ace_attribute-name,
.ace-tomorrow-night-eighties .ace_meta.ace_tag,
.ace-tomorrow-night-eighties .ace_variable {
color:#F2777A;
}
.ace-tomorrow-night-eighties .ace_meta.ace_tag {
color:#F2777A;
}
.ace-tomorrow-night-eighties .ace_entity.ace_other.ace_attribute-name {
color:#F2777A;
}
.ace-tomorrow-night-eighties .ace_entity.ace_name.ace_function {
color:#6699CC;
color: #F2777A
}
.ace-tomorrow-night-eighties .ace_markup.ace_underline {
text-decoration:underline;
}
.ace-tomorrow-night-eighties .ace_markup.ace_heading {
color:#99CC99;
text-decoration: underline
}
.ace-tomorrow-night-eighties .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ1dX9z7Bq1ar/ABE1BITwhhuFAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ1dX9z7Bq1ar/ABE1BITwhhuFAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-tomorrow-night-eighties";
exports.cssText = require('ace/requirejs/text!./tomorrow_night_eighties.css');
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -1,166 +1,138 @@
.ace-twilight .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-twilight .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-twilight .ace_gutter {
background: #232323;
color: #E2E2E2;
color: #E2E2E2
}
.ace-twilight .ace_print_margin {
.ace-twilight .ace_print-margin {
width: 1px;
background: #232323;
background: #232323
}
.ace-twilight .ace_scroller {
background-color: #141414;
background-color: #141414
}
.ace-twilight .ace_text-layer {
color: #F8F8F8;
color: #F8F8F8
}
.ace-twilight .ace_cursor {
border-left: 2px solid #A7A7A7;
border-left: 2px solid #A7A7A7
}
.ace-twilight .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #A7A7A7;
border-bottom: 1px solid #A7A7A7
}
.ace-twilight .ace_marker-layer .ace_selection {
background: rgba(221, 240, 255, 0.20);
background: rgba(221, 240, 255, 0.20)
}
.ace-twilight.multiselect .ace_selection.start {
.ace-twilight.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #141414;
border-radius: 2px;
border-radius: 2px
}
.ace-twilight .ace_marker-layer .ace_step {
background: rgb(102, 82, 0);
background: rgb(102, 82, 0)
}
.ace-twilight .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid rgba(255, 255, 255, 0.25);
border: 1px solid rgba(255, 255, 255, 0.25)
}
.ace-twilight .ace_marker-layer .ace_active_line {
background: rgba(255, 255, 255, 0.031);
.ace-twilight .ace_marker-layer .ace_active-line {
background: rgba(255, 255, 255, 0.031)
}
.ace-twilight .ace_gutter_active_line {
background-color: rgba(255, 255, 255, 0.031);
.ace-twilight .ace_gutter-active-line {
background-color: rgba(255, 255, 255, 0.031)
}
.ace-twilight .ace_marker-layer .ace_selected_word {
border: 1px solid rgba(221, 240, 255, 0.20);
.ace-twilight .ace_marker-layer .ace_selected-word {
border: 1px solid rgba(221, 240, 255, 0.20)
}
.ace-twilight .ace_invisible {
color: rgba(255, 255, 255, 0.25);
color: rgba(255, 255, 255, 0.25)
}
.ace-twilight .ace_keyword, .ace-twilight .ace_meta {
color:#CDA869;
.ace-twilight .ace_keyword,
.ace-twilight .ace_meta {
color: #CDA869
}
.ace-twilight .ace_constant, .ace-twilight .ace_constant.ace_other {
color:#CF6A4C;
}
.ace-twilight .ace_constant.ace_character, {
color:#CF6A4C;
}
.ace-twilight .ace_constant.ace_character.ace_escape, {
color:#CF6A4C;
.ace-twilight .ace_constant,
.ace-twilight .ace_constant.ace_character,
.ace-twilight .ace_constant.ace_character.ace_escape,
.ace-twilight .ace_constant.ace_other,
.ace-twilight .ace_markup.ace_heading,
.ace-twilight .ace_support.ace_constant {
color: #CF6A4C
}
.ace-twilight .ace_invalid.ace_illegal {
color:#F8F8F8;
background-color:rgba(86, 45, 86, 0.75);
color: #F8F8F8;
background-color: rgba(86, 45, 86, 0.75)
}
.ace-twilight .ace_invalid.ace_deprecated {
text-decoration:underline;
font-style:italic;
color:#D2A8A1;
text-decoration: underline;
font-style: italic;
color: #D2A8A1
}
.ace-twilight .ace_support {
color:#9B859D;
}
.ace-twilight .ace_support.ace_constant {
color:#CF6A4C;
color: #9B859D
}
.ace-twilight .ace_fold {
background-color: #AC885B;
border-color: #F8F8F8;
background-color: #AC885B;
border-color: #F8F8F8
}
.ace-twilight .ace_support.ace_function {
color:#DAD085;
color: #DAD085
}
.ace-twilight .ace_markup.ace_list,
.ace-twilight .ace_storage {
color:#F9EE98;
color: #F9EE98
}
.ace-twilight .ace_entity.ace_name.ace_function,
.ace-twilight .ace_meta.ace_tag,
.ace-twilight .ace_variable {
color:#AC885B;
color: #AC885B
}
.ace-twilight .ace_string {
color:#8F9D6A;
color: #8F9D6A
}
.ace-twilight .ace_string.ace_regexp {
color:#E9C062;
color: #E9C062
}
.ace-twilight .ace_comment {
font-style:italic;
color:#5F5A60;
font-style: italic;
color: #5F5A60
}
.ace-twilight .ace_variable {
color:#7587A6;
color: #7587A6
}
.ace-twilight .ace_xml_pe {
color:#494949;
}
.ace-twilight .ace_meta.ace_tag {
color:#AC885B;
}
.ace-twilight .ace_entity.ace_name.ace_function {
color:#AC885B;
.ace-twilight .ace_xml-pe {
color: #494949
}
.ace-twilight .ace_markup.ace_underline {
text-decoration:underline;
}
.ace-twilight .ace_markup.ace_heading {
color:#CF6A4C;
}
.ace-twilight .ace_markup.ace_list {
color:#F9EE98;
text-decoration: underline
}
.ace-twilight .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQERH5zzBz5sz/AA5EBAYqeZXWAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQERH5zzBz5sz/AA5EBAYqeZXWAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-twilight";
exports.cssText = require('ace/requirejs/text!./twilight.css');
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -1,145 +1,118 @@
.ace-vibrant-ink .ace_editor {
border: 2px solid rgb(159, 159, 159);
}
.ace-vibrant-ink .ace_editor.ace_focus {
border: 2px solid #327fbd;
}
.ace-vibrant-ink .ace_gutter {
background: #1a1a1a;
color: #BEBEBE;
color: #BEBEBE
}
.ace-vibrant-ink .ace_print_margin {
.ace-vibrant-ink .ace_print-margin {
width: 1px;
background: #1a1a1a;
background: #1a1a1a
}
.ace-vibrant-ink .ace_scroller {
background-color: #0F0F0F;
background-color: #0F0F0F
}
.ace-vibrant-ink .ace_text-layer {
color: #FFFFFF;
color: #FFFFFF
}
.ace-vibrant-ink .ace_cursor {
border-left: 2px solid #FFFFFF;
border-left: 2px solid #FFFFFF
}
.ace-vibrant-ink .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #FFFFFF;
border-bottom: 1px solid #FFFFFF
}
.ace-vibrant-ink .ace_marker-layer .ace_selection {
background: #6699CC;
background: #6699CC
}
.ace-vibrant-ink.multiselect .ace_selection.start {
.ace-vibrant-ink.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #0F0F0F;
border-radius: 2px;
border-radius: 2px
}
.ace-vibrant-ink .ace_marker-layer .ace_step {
background: rgb(102, 82, 0);
background: rgb(102, 82, 0)
}
.ace-vibrant-ink .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid #404040;
border: 1px solid #404040
}
.ace-vibrant-ink .ace_marker-layer .ace_active_line {
background: #333333;
.ace-vibrant-ink .ace_marker-layer .ace_active-line {
background: #333333
}
.ace-vibrant-ink .ace_gutter_active_line {
background-color: #333333;
.ace-vibrant-ink .ace_gutter-active-line {
background-color: #333333
}
.ace-vibrant-ink .ace_marker-layer .ace_selected_word {
border: 1px solid #6699CC;
.ace-vibrant-ink .ace_marker-layer .ace_selected-word {
border: 1px solid #6699CC
}
.ace-vibrant-ink .ace_invisible {
color: #404040;
color: #404040
}
.ace-vibrant-ink .ace_keyword, .ace-vibrant-ink .ace_meta {
color:#FF6600;
.ace-vibrant-ink .ace_keyword,
.ace-vibrant-ink .ace_meta {
color: #FF6600
}
.ace-vibrant-ink .ace_constant, .ace-vibrant-ink .ace_constant.ace_other {
color:#339999;
}
.ace-vibrant-ink .ace_constant.ace_character, {
color:#339999;
}
.ace-vibrant-ink .ace_constant.ace_character.ace_escape, {
color:#339999;
.ace-vibrant-ink .ace_constant,
.ace-vibrant-ink .ace_constant.ace_character,
.ace-vibrant-ink .ace_constant.ace_character.ace_escape,
.ace-vibrant-ink .ace_constant.ace_other {
color: #339999
}
.ace-vibrant-ink .ace_constant.ace_numeric {
color:#99CC99;
}
.ace-vibrant-ink .ace_invalid {
color:#CCFF33;
background-color:#000000;
color: #99CC99
}
.ace-vibrant-ink .ace_invalid,
.ace-vibrant-ink .ace_invalid.ace_deprecated {
color:#CCFF33;
background-color:#000000;
color: #CCFF33;
background-color: #000000
}
.ace-vibrant-ink .ace_fold {
background-color: #FFCC00;
border-color: #FFFFFF;
}
.ace-vibrant-ink .ace_support.ace_function {
color:#FFCC00;
background-color: #FFCC00;
border-color: #FFFFFF
}
.ace-vibrant-ink .ace_entity.ace_name.ace_function,
.ace-vibrant-ink .ace_support.ace_function,
.ace-vibrant-ink .ace_variable {
color:#FFCC00;
color: #FFCC00
}
.ace-vibrant-ink .ace_variable.ace_parameter {
font-style:italic;
font-style: italic
}
.ace-vibrant-ink .ace_string {
color:#66FF00;
color: #66FF00
}
.ace-vibrant-ink .ace_string.ace_regexp {
color:#44B4CC;
color: #44B4CC
}
.ace-vibrant-ink .ace_comment {
color:#9933CC;
color: #9933CC
}
.ace-vibrant-ink .ace_entity.ace_other.ace_attribute-name {
font-style:italic;
color:#99CC99;
}
.ace-vibrant-ink .ace_entity.ace_name.ace_function {
color:#FFCC00;
}
.ace-vibrant-ink .ace_markup.ace_underline {
text-decoration:underline;
font-style: italic;
color: #99CC99
}
.ace-vibrant-ink .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPg5+f/z7Bq1ar/AA5lBCqoLxsgAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPg5+f/z7Bq1ar/AA5lBCqoLxsgAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-vibrant-ink";
exports.cssText = require('ace/requirejs/text!./vibrant_ink.css');
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

111
lib/ace/theme/xcode.css Normal file
View file

@ -0,0 +1,111 @@
/* THIS THEME WAS AUTOGENERATED BY Theme.tmpl.css (UUID: EE3AD170-2B7F-4DE1-B724-C75F13FE0085) */
.ace-xcode .ace_gutter {
background: #e8e8e8;
color: #333
}
.ace-xcode .ace_print-margin {
width: 1px;
background: #e8e8e8
}
.ace-xcode .ace_scroller {
background-color: #FFFFFF
}
.ace-xcode .ace_text-layer {
color: #000000
}
.ace-xcode .ace_cursor {
border-left: 2px solid #000000
}
.ace-xcode .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #000000
}
.ace-xcode .ace_marker-layer .ace_selection {
background: #B5D5FF
}
.ace-xcode.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #FFFFFF;
border-radius: 2px
}
.ace-xcode .ace_marker-layer .ace_step {
background: rgb(198, 219, 174)
}
.ace-xcode .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid #BFBFBF
}
.ace-xcode .ace_marker-layer .ace_active-line {
background: rgba(0, 0, 0, 0.071)
}
.ace-xcode .ace_gutter-active-line {
background-color: rgba(0, 0, 0, 0.071)
}
.ace-xcode .ace_marker-layer .ace_selected-word {
border: 1px solid #B5D5FF
}
.ace-xcode .ace_constant.ace_language,
.ace-xcode .ace_keyword,
.ace-xcode .ace_meta,
.ace-xcode .ace_variable.ace_language {
color: #C800A4
}
.ace-xcode .ace_invisible {
color: #BFBFBF
}
.ace-xcode .ace_constant.ace_character,
.ace-xcode .ace_constant.ace_other {
color: #275A5E
}
.ace-xcode .ace_constant.ace_numeric {
color: #3A00DC
}
.ace-xcode .ace_entity.ace_other.ace_attribute-name,
.ace-xcode .ace_support.ace_constant,
.ace-xcode .ace_support.ace_function {
color: #450084
}
.ace-xcode .ace_fold {
background-color: #C800A4;
border-color: #000000
}
.ace-xcode .ace_entity.ace_name.ace_tag,
.ace-xcode .ace_support.ace_class,
.ace-xcode .ace_support.ace_type {
color: #790EAD
}
.ace-xcode .ace_storage {
color: #C900A4
}
.ace-xcode .ace_string {
color: #DF0002
}
.ace-xcode .ace_comment {
color: #008E00
}
.ace-xcode .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==) right repeat-y;
}

39
lib/ace/theme/xcode.js Normal file
View file

@ -0,0 +1,39 @@
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2010, Ajax.org B.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of Ajax.org B.V. nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* ***** END LICENSE BLOCK ***** */
define(function(require, exports, module) {
exports.isDark = false;
exports.cssClass = "ace-xcode";
exports.cssText = require('ace/requirejs/text!./xcode.css');
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -484,7 +484,7 @@ var VirtualRenderer = function(container, theme) {
if (!this.$gutterLineHighlight) {
this.$gutterLineHighlight = dom.createElement("div");
this.$gutterLineHighlight.className = "ace_gutter_active_line";
this.$gutterLineHighlight.className = "ace_gutter-active-line";
this.$gutter.appendChild(this.$gutterLineHighlight);
return;
}
@ -512,11 +512,11 @@ var VirtualRenderer = function(container, theme) {
if (!this.$printMarginEl) {
containerEl = dom.createElement("div");
containerEl.className = "ace_print_margin_layer";
containerEl.className = "ace_layer ace_print-margin-layer";
this.$printMarginEl = dom.createElement("div");
this.$printMarginEl.className = "ace_print_margin";
this.$printMarginEl.className = "ace_print-margin";
containerEl.appendChild(this.$printMarginEl);
this.content.insertBefore(containerEl, this.$textLayer.element);
this.content.insertBefore(containerEl, this.content.firstChild);
}
var style = this.$printMarginEl.style;
@ -686,7 +686,7 @@ var VirtualRenderer = function(container, theme) {
this.scrollLeft = scrollLeft;
this.session.setScrollLeft(scrollLeft);
this.scroller.className = this.scrollLeft == 0 ? "ace_scroller" : "ace_scroller horscroll";
this.scroller.className = this.scrollLeft == 0 ? "ace_scroller" : "ace_scroller ace_scroll-left";
}
// full

View file

@ -1,8 +1,8 @@
"no use strict";
var console = {
log: function(msg) {
postMessage({type: "log", data: msg});
log: function(msgs) {
postMessage({type: "log", data: arguments.join(" ")});
}
};
var window = {
@ -30,6 +30,9 @@ var normalizeModule = function(parentId, moduleName) {
};
var require = function(parentId, id) {
if (!id.charAt)
throw new Error("worker.js require() accepts only (parentId, id) as arguments");
var id = normalizeModule(parentId, id);
var module = require.modules[id];