package
This commit is contained in:
parent
53ab1d5dbe
commit
1385fb25cf
28 changed files with 969 additions and 1636 deletions
|
|
@ -11117,7 +11117,7 @@ var Document = function(text) {
|
|||
|
||||
|
||||
this.$detectNewLine = function(text) {
|
||||
var match = text.match(/^.*?(\r?\n)/m);
|
||||
var match = text.match(/^.*?(\r\n|\r|\n)/m);
|
||||
if (match) {
|
||||
this.$autoNewLine = match[1];
|
||||
} else {
|
||||
|
|
@ -11141,7 +11141,8 @@ var Document = function(text) {
|
|||
this.$autoNewLine = "\n";
|
||||
this.$newLineMode = "auto";
|
||||
this.setNewLineMode = function(newLineMode) {
|
||||
if (this.$newLineMode === newLineMode) return;
|
||||
if (this.$newLineMode === newLineMode)
|
||||
return;
|
||||
|
||||
this.$newLineMode = newLineMode;
|
||||
};
|
||||
|
|
@ -14617,6 +14618,14 @@ var Text = function(parentEl) {
|
|||
return "&";
|
||||
} else if (c == "<") {
|
||||
return "<";
|
||||
} else if (c == "\u3000") {
|
||||
// U+3000 is both invisible AND full-width, so must be handled uniquely
|
||||
var classToUse = self.showInvisibles ? "ace_cjk ace_invisible" : "ace_cjk";
|
||||
var space = self.showInvisibles ? self.SPACE_CHAR : "";
|
||||
screenColumn += 1;
|
||||
return "<span class='" + classToUse + "' style='width:" +
|
||||
(self.config.characterWidth * 2) +
|
||||
"px'>" + space + "</span>";
|
||||
} else if (c.match(/[\v\f \u00a0\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u200b\u2028\u2029\u3000]/)) {
|
||||
if (self.showInvisibles) {
|
||||
var space = new Array(c.length+1).join(self.SPACE_CHAR);
|
||||
|
|
@ -14710,7 +14719,8 @@ var Text = function(parentEl) {
|
|||
else
|
||||
stringBuilder.push("<span class='ace_invisible'>" + this.EOF_CHAR + "</span>");
|
||||
}
|
||||
stringBuilder.push("</div>");
|
||||
if (!onlyContents)
|
||||
stringBuilder.push("</div>");
|
||||
};
|
||||
|
||||
this.$renderLine = function(stringBuilder, row, tokens, onlyContents) {
|
||||
|
|
@ -15633,303 +15643,6 @@ define("text/ace/css/editor.css", [], ".ace_editor {" +
|
|||
"}" +
|
||||
"");
|
||||
|
||||
define("text/ace-0.2.0/demo/styles.css", [], "html {" +
|
||||
" height: 100%;" +
|
||||
" width: 100%;" +
|
||||
" overflow: hidden;" +
|
||||
"}" +
|
||||
"" +
|
||||
"body {" +
|
||||
" overflow: hidden;" +
|
||||
" margin: 0;" +
|
||||
" padding: 0;" +
|
||||
" height: 100%;" +
|
||||
" width: 100%;" +
|
||||
" font-family: Arial, Helvetica, sans-serif, Tahoma, Verdana, sans-serif;" +
|
||||
" font-size: 12px;" +
|
||||
" background: rgb(14, 98, 165);" +
|
||||
" color: white;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#logo {" +
|
||||
" padding: 15px;" +
|
||||
" margin-left: 65px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#editor {" +
|
||||
" position: absolute;" +
|
||||
" top: 0px;" +
|
||||
" left: 280px;" +
|
||||
" bottom: 0px;" +
|
||||
" right: 0px;" +
|
||||
" background: white;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#controls {" +
|
||||
" padding: 5px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#controls td {" +
|
||||
" text-align: right;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#controls td + td {" +
|
||||
" text-align: left;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#cockpitInput {" +
|
||||
" position: absolute;" +
|
||||
" left: 280px;" +
|
||||
" right: 0px;" +
|
||||
" bottom: 0;" +
|
||||
"" +
|
||||
" border: none; outline: none;" +
|
||||
" font-family: consolas, courier, monospace;" +
|
||||
" font-size: 120%;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#cockpitOutput {" +
|
||||
" padding: 10px;" +
|
||||
" margin: 0 15px;" +
|
||||
" border: 1px solid #AAA;" +
|
||||
" -moz-border-radius-topleft: 10px;" +
|
||||
" -moz-border-radius-topright: 10px;" +
|
||||
" border-top-left-radius: 4px; border-top-right-radius: 4px;" +
|
||||
" background: #DDD; color: #000;" +
|
||||
"}");
|
||||
|
||||
define("text/ace-0.2.0/textarea/style.css", [], "body {" +
|
||||
" margin:0;" +
|
||||
" padding:0;" +
|
||||
" background-color:#e6f5fc;" +
|
||||
" " +
|
||||
"}" +
|
||||
"" +
|
||||
"H2, H3, H4 {" +
|
||||
" font-family:Trebuchet MS;" +
|
||||
" font-weight:bold;" +
|
||||
" margin:0;" +
|
||||
" padding:0;" +
|
||||
"}" +
|
||||
"" +
|
||||
"H2 {" +
|
||||
" font-size:28px;" +
|
||||
" color:#263842;" +
|
||||
" padding-bottom:6px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"H3 {" +
|
||||
" font-family:Trebuchet MS;" +
|
||||
" font-weight:bold;" +
|
||||
" font-size:22px;" +
|
||||
" color:#253741;" +
|
||||
" margin-top:43px;" +
|
||||
" margin-bottom:8px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"H4 {" +
|
||||
" font-family:Trebuchet MS;" +
|
||||
" font-weight:bold;" +
|
||||
" font-size:21px;" +
|
||||
" color:#222222;" +
|
||||
" margin-bottom:4px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"P {" +
|
||||
" padding:13px 0;" +
|
||||
" margin:0;" +
|
||||
" line-height:22px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"UL{" +
|
||||
" line-height : 22px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"PRE{" +
|
||||
" background : #333;" +
|
||||
" color : white;" +
|
||||
" padding : 10px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#header {" +
|
||||
" height : 227px;" +
|
||||
" position:relative;" +
|
||||
" overflow:hidden;" +
|
||||
" background: url(images/background.png) repeat-x 0 0;" +
|
||||
" border-bottom:1px solid #c9e8fa; " +
|
||||
"}" +
|
||||
"" +
|
||||
"#header .content .signature {" +
|
||||
" font-family:Trebuchet MS;" +
|
||||
" font-size:11px;" +
|
||||
" color:#ebe4d6;" +
|
||||
" position:absolute;" +
|
||||
" bottom:5px;" +
|
||||
" right:42px;" +
|
||||
" letter-spacing : 1px;" +
|
||||
"}" +
|
||||
"" +
|
||||
".content {" +
|
||||
" width:970px;" +
|
||||
" position:relative;" +
|
||||
" overflow:hidden;" +
|
||||
" margin:0 auto;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#header .content {" +
|
||||
" height:184px;" +
|
||||
" margin-top:22px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#header .content .logo {" +
|
||||
" width : 282px;" +
|
||||
" height : 184px;" +
|
||||
" background:url(images/logo.png) no-repeat 0 0;" +
|
||||
" position:absolute;" +
|
||||
" top:0;" +
|
||||
" left:0;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#header .content .title {" +
|
||||
" width : 605px;" +
|
||||
" height : 58px;" +
|
||||
" background:url(images/ace.png) no-repeat 0 0;" +
|
||||
" position:absolute;" +
|
||||
" top:98px;" +
|
||||
" left:329px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#wrapper {" +
|
||||
" background:url(images/body_background.png) repeat-x 0 0;" +
|
||||
" min-height:250px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#wrapper .content {" +
|
||||
" font-family:Arial;" +
|
||||
" font-size:14px;" +
|
||||
" color:#222222;" +
|
||||
" width:1000px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#wrapper .content .column1 {" +
|
||||
" position:relative;" +
|
||||
" overflow:hidden;" +
|
||||
" float:left;" +
|
||||
" width:315px;" +
|
||||
" margin-right:31px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#wrapper .content .column2 {" +
|
||||
" position:relative;" +
|
||||
" overflow:hidden;" +
|
||||
" float:left;" +
|
||||
" width:600px;" +
|
||||
" padding-top:47px;" +
|
||||
"}" +
|
||||
"" +
|
||||
".fork_on_github {" +
|
||||
" width:310px;" +
|
||||
" height:80px;" +
|
||||
" background:url(images/fork_on_github.png) no-repeat 0 0;" +
|
||||
" position:relative;" +
|
||||
" overflow:hidden;" +
|
||||
" margin-top:49px;" +
|
||||
" cursor:pointer;" +
|
||||
"}" +
|
||||
"" +
|
||||
".fork_on_github:hover {" +
|
||||
" background-position:0 -80px;" +
|
||||
"}" +
|
||||
"" +
|
||||
".divider {" +
|
||||
" height:3px;" +
|
||||
" background-color:#bedaea;" +
|
||||
" margin-bottom:3px;" +
|
||||
"}" +
|
||||
"" +
|
||||
".menu {" +
|
||||
" padding:23px 0 0 24px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"UL.content-list {" +
|
||||
" padding:15px;" +
|
||||
" margin:0;" +
|
||||
"}" +
|
||||
"" +
|
||||
"UL.menu-list {" +
|
||||
" padding:0;" +
|
||||
" margin:0 0 20px 0;" +
|
||||
" list-style-type:none;" +
|
||||
" line-height : 16px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"UL.menu-list LI {" +
|
||||
" color:#2557b4;" +
|
||||
" font-family:Trebuchet MS;" +
|
||||
" font-size:14px;" +
|
||||
" padding:7px 0;" +
|
||||
" border-bottom:1px dotted #d6e2e7;" +
|
||||
"}" +
|
||||
"" +
|
||||
"UL.menu-list LI:last-child {" +
|
||||
" border-bottom:0;" +
|
||||
"}" +
|
||||
"" +
|
||||
"A {" +
|
||||
" color:#2557b4;" +
|
||||
" text-decoration:none;" +
|
||||
"}" +
|
||||
"" +
|
||||
"A:hover {" +
|
||||
" text-decoration:underline;" +
|
||||
"}" +
|
||||
"" +
|
||||
"P#first{" +
|
||||
" background : rgba(255,255,255,0.5);" +
|
||||
" padding : 20px;" +
|
||||
" font-size : 16px;" +
|
||||
" line-height : 24px;" +
|
||||
" margin : 0 0 20px 0;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#footer {" +
|
||||
" height:40px;" +
|
||||
" position:relative;" +
|
||||
" overflow:hidden;" +
|
||||
" background:url(images/bottombar.png) repeat-x 0 0;" +
|
||||
" position:relative;" +
|
||||
" margin-top:40px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"UL.menu-footer {" +
|
||||
" padding:0;" +
|
||||
" margin:8px 11px 0 0;" +
|
||||
" list-style-type:none;" +
|
||||
" float:right;" +
|
||||
"}" +
|
||||
"" +
|
||||
"UL.menu-footer LI {" +
|
||||
" color:white;" +
|
||||
" font-family:Arial;" +
|
||||
" font-size:12px;" +
|
||||
" display:inline-block;" +
|
||||
" margin:0 1px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"UL.menu-footer LI A {" +
|
||||
" color:#8dd0ff;" +
|
||||
" text-decoration:none;" +
|
||||
"}" +
|
||||
"" +
|
||||
"UL.menu-footer LI A:hover {" +
|
||||
" text-decoration:underline;" +
|
||||
"}" +
|
||||
"" +
|
||||
"" +
|
||||
"" +
|
||||
"" +
|
||||
"");
|
||||
|
||||
define("text/build/demo/styles.css", [], "html {" +
|
||||
" height: 100%;" +
|
||||
" width: 100%;" +
|
||||
|
|
@ -17034,6 +16747,265 @@ define("text/deps/requirejs/dist/main.css", [], "@font-face {" +
|
|||
" height: 1%;" +
|
||||
"}");
|
||||
|
||||
define("text/doc/site/iphone.css", [], "#wrapper {" +
|
||||
" position:relative;" +
|
||||
" overflow:hidden;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#wrapper .content .column1 {" +
|
||||
" margin:0 16px 0 15px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#header .content .signature {" +
|
||||
" font-size:18px;" +
|
||||
" bottom:0;" +
|
||||
"}" +
|
||||
"" +
|
||||
"UL.menu-list LI {" +
|
||||
" font-size:22px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"UL.menu-footer LI {" +
|
||||
" font-size:22px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"PRE{" +
|
||||
" font-size:22px;" +
|
||||
"}" +
|
||||
"");
|
||||
|
||||
define("text/doc/site/style.css", [], "body {" +
|
||||
" margin:0;" +
|
||||
" padding:0;" +
|
||||
" background-color:#e6f5fc;" +
|
||||
" " +
|
||||
"}" +
|
||||
"" +
|
||||
"H2, H3, H4 {" +
|
||||
" font-family:Trebuchet MS;" +
|
||||
" font-weight:bold;" +
|
||||
" margin:0;" +
|
||||
" padding:0;" +
|
||||
"}" +
|
||||
"" +
|
||||
"H2 {" +
|
||||
" font-size:28px;" +
|
||||
" color:#263842;" +
|
||||
" padding-bottom:6px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"H3 {" +
|
||||
" font-family:Trebuchet MS;" +
|
||||
" font-weight:bold;" +
|
||||
" font-size:22px;" +
|
||||
" color:#253741;" +
|
||||
" margin-top:43px;" +
|
||||
" margin-bottom:8px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"H4 {" +
|
||||
" font-family:Trebuchet MS;" +
|
||||
" font-weight:bold;" +
|
||||
" font-size:21px;" +
|
||||
" color:#222222;" +
|
||||
" margin-bottom:4px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"P {" +
|
||||
" padding:13px 0;" +
|
||||
" margin:0;" +
|
||||
" line-height:22px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"UL{" +
|
||||
" line-height : 22px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"PRE{" +
|
||||
" background : #333;" +
|
||||
" color : white;" +
|
||||
" padding : 10px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#header {" +
|
||||
" height : 227px;" +
|
||||
" position:relative;" +
|
||||
" overflow:hidden;" +
|
||||
" background: url(images/background.png) repeat-x 0 0;" +
|
||||
" border-bottom:1px solid #c9e8fa; " +
|
||||
"}" +
|
||||
"" +
|
||||
"#header .content .signature {" +
|
||||
" font-family:Trebuchet MS;" +
|
||||
" font-size:11px;" +
|
||||
" color:#ebe4d6;" +
|
||||
" position:absolute;" +
|
||||
" bottom:5px;" +
|
||||
" right:42px;" +
|
||||
" letter-spacing : 1px;" +
|
||||
"}" +
|
||||
"" +
|
||||
".content {" +
|
||||
" width:970px;" +
|
||||
" position:relative;" +
|
||||
" overflow:hidden;" +
|
||||
" margin:0 auto;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#header .content {" +
|
||||
" height:184px;" +
|
||||
" margin-top:22px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#header .content .logo {" +
|
||||
" width : 282px;" +
|
||||
" height : 184px;" +
|
||||
" background:url(images/logo.png) no-repeat 0 0;" +
|
||||
" position:absolute;" +
|
||||
" top:0;" +
|
||||
" left:0;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#header .content .title {" +
|
||||
" width : 605px;" +
|
||||
" height : 58px;" +
|
||||
" background:url(images/ace.png) no-repeat 0 0;" +
|
||||
" position:absolute;" +
|
||||
" top:98px;" +
|
||||
" left:329px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#wrapper {" +
|
||||
" background:url(images/body_background.png) repeat-x 0 0;" +
|
||||
" min-height:250px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#wrapper .content {" +
|
||||
" font-family:Arial;" +
|
||||
" font-size:14px;" +
|
||||
" color:#222222;" +
|
||||
" width:1000px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#wrapper .content .column1 {" +
|
||||
" position:relative;" +
|
||||
" overflow:hidden;" +
|
||||
" float:left;" +
|
||||
" width:315px;" +
|
||||
" margin-right:31px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#wrapper .content .column2 {" +
|
||||
" position:relative;" +
|
||||
" overflow:hidden;" +
|
||||
" float:left;" +
|
||||
" width:600px;" +
|
||||
" padding-top:47px;" +
|
||||
"}" +
|
||||
"" +
|
||||
".fork_on_github {" +
|
||||
" width:310px;" +
|
||||
" height:80px;" +
|
||||
" background:url(images/fork_on_github.png) no-repeat 0 0;" +
|
||||
" position:relative;" +
|
||||
" overflow:hidden;" +
|
||||
" margin-top:49px;" +
|
||||
" cursor:pointer;" +
|
||||
"}" +
|
||||
"" +
|
||||
".fork_on_github:hover {" +
|
||||
" background-position:0 -80px;" +
|
||||
"}" +
|
||||
"" +
|
||||
".divider {" +
|
||||
" height:3px;" +
|
||||
" background-color:#bedaea;" +
|
||||
" margin-bottom:3px;" +
|
||||
"}" +
|
||||
"" +
|
||||
".menu {" +
|
||||
" padding:23px 0 0 24px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"UL.content-list {" +
|
||||
" padding:15px;" +
|
||||
" margin:0;" +
|
||||
"}" +
|
||||
"" +
|
||||
"UL.menu-list {" +
|
||||
" padding:0;" +
|
||||
" margin:0 0 20px 0;" +
|
||||
" list-style-type:none;" +
|
||||
" line-height : 16px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"UL.menu-list LI {" +
|
||||
" color:#2557b4;" +
|
||||
" font-family:Trebuchet MS;" +
|
||||
" font-size:14px;" +
|
||||
" padding:7px 0;" +
|
||||
" border-bottom:1px dotted #d6e2e7;" +
|
||||
"}" +
|
||||
"" +
|
||||
"UL.menu-list LI:last-child {" +
|
||||
" border-bottom:0;" +
|
||||
"}" +
|
||||
"" +
|
||||
"A {" +
|
||||
" color:#2557b4;" +
|
||||
" text-decoration:none;" +
|
||||
"}" +
|
||||
"" +
|
||||
"A:hover {" +
|
||||
" text-decoration:underline;" +
|
||||
"}" +
|
||||
"" +
|
||||
"P#first{" +
|
||||
" background : rgba(255,255,255,0.5);" +
|
||||
" padding : 20px;" +
|
||||
" font-size : 16px;" +
|
||||
" line-height : 24px;" +
|
||||
" margin : 0 0 20px 0;" +
|
||||
"}" +
|
||||
"" +
|
||||
"#footer {" +
|
||||
" height:40px;" +
|
||||
" position:relative;" +
|
||||
" overflow:hidden;" +
|
||||
" background:url(images/bottombar.png) repeat-x 0 0;" +
|
||||
" position:relative;" +
|
||||
" margin-top:40px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"UL.menu-footer {" +
|
||||
" padding:0;" +
|
||||
" margin:8px 11px 0 0;" +
|
||||
" list-style-type:none;" +
|
||||
" float:right;" +
|
||||
"}" +
|
||||
"" +
|
||||
"UL.menu-footer LI {" +
|
||||
" color:white;" +
|
||||
" font-family:Arial;" +
|
||||
" font-size:12px;" +
|
||||
" display:inline-block;" +
|
||||
" margin:0 1px;" +
|
||||
"}" +
|
||||
"" +
|
||||
"UL.menu-footer LI A {" +
|
||||
" color:#8dd0ff;" +
|
||||
" text-decoration:none;" +
|
||||
"}" +
|
||||
"" +
|
||||
"UL.menu-footer LI A:hover {" +
|
||||
" text-decoration:underline;" +
|
||||
"}" +
|
||||
"" +
|
||||
"" +
|
||||
"" +
|
||||
"" +
|
||||
"");
|
||||
|
||||
define("text/lib/ace/css/editor.css", [], ".ace_editor {" +
|
||||
" position: absolute;" +
|
||||
" overflow: hidden;" +
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue