mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-06-10 06:29:28 +00:00
codemirror: updated to 5.56.0, fixed tests
This commit is contained in:
parent
7712119bca
commit
9ab7801fa8
|
@ -1 +1 @@
|
||||||
Subproject commit 4334727f0e07acd4541b0a7b8f81a5984cd4aafe
|
Subproject commit 772d09e697612889ec5dbed2cc058e754232c29d
|
|
@ -5,6 +5,7 @@
|
||||||
font-family: "Andale Mono", "Menlo", "Lucida Console", monospace;
|
font-family: "Andale Mono", "Menlo", "Lucida Console", monospace;
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
height: 94vh;
|
height: 94vh;
|
||||||
|
direction: ltr;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* PADDING */
|
/* PADDING */
|
||||||
|
@ -13,7 +14,7 @@
|
||||||
padding: 4px 0; /* Vertical padding around content */
|
padding: 4px 0; /* Vertical padding around content */
|
||||||
}
|
}
|
||||||
.CodeMirror pre {
|
.CodeMirror pre {
|
||||||
padding: 0 4px; /* Horizontal padding of content */
|
padding: 0 4px; /* Horizontal padding of content */
|
||||||
}
|
}
|
||||||
|
|
||||||
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
||||||
|
@ -27,7 +28,6 @@
|
||||||
background-color: #f7f7f7;
|
background-color: #f7f7f7;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
.CodeMirror-linenumbers {}
|
|
||||||
.CodeMirror-linenumber {
|
.CodeMirror-linenumber {
|
||||||
padding: 0 5px 0 5px;
|
padding: 0 5px 0 5px;
|
||||||
min-width: 20px;
|
min-width: 20px;
|
||||||
|
@ -58,7 +58,12 @@
|
||||||
.cm-fat-cursor div.CodeMirror-cursors {
|
.cm-fat-cursor div.CodeMirror-cursors {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
.cm-fat-cursor-mark {
|
||||||
|
background-color: rgba(20, 255, 20, 0.5);
|
||||||
|
-webkit-animation: blink 1.06s steps(1) infinite;
|
||||||
|
-moz-animation: blink 1.06s steps(1) infinite;
|
||||||
|
animation: blink 1.06s steps(1) infinite;
|
||||||
|
}
|
||||||
.cm-animate-fat-cursor {
|
.cm-animate-fat-cursor {
|
||||||
width: auto;
|
width: auto;
|
||||||
border: 0;
|
border: 0;
|
||||||
|
@ -90,7 +95,7 @@
|
||||||
|
|
||||||
.CodeMirror-rulers {
|
.CodeMirror-rulers {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0; right: 0; top: -50px; bottom: -20px;
|
left: 0; right: 0; top: -50px; bottom: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.CodeMirror-ruler {
|
.CodeMirror-ruler {
|
||||||
|
@ -227,11 +232,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
|
||||||
cursor: default;
|
cursor: default;
|
||||||
z-index: 4;
|
z-index: 4;
|
||||||
}
|
}
|
||||||
.CodeMirror-gutter-wrapper {
|
.CodeMirror-gutter-wrapper ::selection { background-color: transparent }
|
||||||
-webkit-user-select: none;
|
.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }
|
||||||
-moz-user-select: none;
|
|
||||||
user-select: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.CodeMirror-lines {
|
.CodeMirror-lines {
|
||||||
cursor: text;
|
cursor: text;
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -5,7 +5,7 @@ var fs = require('fs');
|
||||||
var assert = require('assert');
|
var assert = require('assert');
|
||||||
|
|
||||||
var wtu = require('./workertestutils.js'); // loads localStorage
|
var wtu = require('./workertestutils.js'); // loads localStorage
|
||||||
global.localforage = require("localForage/dist/localforage.js");
|
global.localforage = require("lib/localforage.min.js");
|
||||||
var util = require("gen/common/util.js");
|
var util = require("gen/common/util.js");
|
||||||
var mstore = require("gen/ide/store.js");
|
var mstore = require("gen/ide/store.js");
|
||||||
var prj = require("gen/ide/project.js");
|
var prj = require("gen/ide/project.js");
|
||||||
|
|
|
@ -5,7 +5,7 @@ var fs = require('fs');
|
||||||
var assert = require('assert');
|
var assert = require('assert');
|
||||||
|
|
||||||
var wtu = require('./workertestutils.js'); // loads localStorage
|
var wtu = require('./workertestutils.js'); // loads localStorage
|
||||||
global.localforage = require("localForage/dist/localforage.js");
|
global.localforage = require("lib/localforage.min.js");
|
||||||
var util = require("gen/common/util.js");
|
var util = require("gen/common/util.js");
|
||||||
var mstore = require("gen/ide/store.js");
|
var mstore = require("gen/ide/store.js");
|
||||||
var prj = require("gen/ide/project.js");
|
var prj = require("gen/ide/project.js");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user