Merge resolution
This commit is contained in:
commit
3e4847c88b
11 changed files with 64 additions and 74 deletions
|
|
@ -1,6 +1,8 @@
|
||||||
Ace (Ajax.org Cloud9 Editor)
|
Ace (Ajax.org Cloud9 Editor)
|
||||||
============================
|
============================
|
||||||
|
|
||||||
|
_Note_: The new site at http://ace.ajax.org contains all the info below along with an embedding guide and all the other resources you need to get started with Ace.
|
||||||
|
|
||||||
Ace is a standalone code editor written in JavaScript. Our goal is to create a browser based editor that matches and extends the features, usability and performance of existing native editors such as TextMate, Vim or Eclipse. It can be easily embedded in any web page or JavaScript application. Ace is developed as the primary editor for [Cloud9 IDE](http://www.cloud9ide.com/) and the successor of the Mozilla Skywriter (Bespin) Project.
|
Ace is a standalone code editor written in JavaScript. Our goal is to create a browser based editor that matches and extends the features, usability and performance of existing native editors such as TextMate, Vim or Eclipse. It can be easily embedded in any web page or JavaScript application. Ace is developed as the primary editor for [Cloud9 IDE](http://www.cloud9ide.com/) and the successor of the Mozilla Skywriter (Bespin) Project.
|
||||||
|
|
||||||
Features
|
Features
|
||||||
|
|
|
||||||
|
|
@ -156,6 +156,9 @@ form.navbar-search .search-query {
|
||||||
|
|
||||||
form.navbar-search .search-query:focus, form.navbar-search .search-query:active {
|
form.navbar-search .search-query:focus, form.navbar-search .search-query:active {
|
||||||
border: 1px solid #666;
|
border: 1px solid #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-search .search-query:focus, .navbar-search .search-query.focused {
|
||||||
padding: 4px 9px;
|
padding: 4px 9px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -295,9 +298,14 @@ ul.menu {
|
||||||
.srolled .membersContent {
|
.srolled .membersContent {
|
||||||
/*top : 0;*/
|
/*top : 0;*/
|
||||||
width: 625px;
|
width: 625px;
|
||||||
padding-left: 330px;
|
padding-left: 327px;
|
||||||
margin : 0 auto 0 auto;
|
margin : 0 auto 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.srolled ul.nav {
|
||||||
|
padding-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.membersBackground {
|
.membersBackground {
|
||||||
/* background-color: white;
|
/* background-color: white;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|
@ -506,7 +514,6 @@ header.filler {
|
||||||
}
|
}
|
||||||
|
|
||||||
.centerpiece {
|
.centerpiece {
|
||||||
background: url(../images/sidebar_border.png) repeat-y 230px 0;
|
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ function setupClicker() {
|
||||||
// for the top dropdown
|
// for the top dropdown
|
||||||
$('li.memberLink a').click(transformHash);
|
$('li.memberLink a').click(transformHash);
|
||||||
|
|
||||||
$('a[href^="#"]').click(transformHash);
|
//$('a[href^="#"]').click(transformHash);
|
||||||
|
|
||||||
$('.related-to', '.metaInfo').click(function(){
|
$('.related-to', '.metaInfo').click(function(){
|
||||||
location.hash = $(this).find('a').attr('href').split('#')[1];
|
location.hash = $(this).find('a').attr('href').split('#')[1];
|
||||||
|
|
|
||||||
|
|
@ -156,6 +156,9 @@ form.navbar-search .search-query {
|
||||||
|
|
||||||
form.navbar-search .search-query:focus, form.navbar-search .search-query:active {
|
form.navbar-search .search-query:focus, form.navbar-search .search-query:active {
|
||||||
border: 1px solid #666;
|
border: 1px solid #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-search .search-query:focus, .navbar-search .search-query.focused {
|
||||||
padding: 4px 9px;
|
padding: 4px 9px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -295,9 +298,14 @@ ul.menu {
|
||||||
.srolled .membersContent {
|
.srolled .membersContent {
|
||||||
/*top : 0;*/
|
/*top : 0;*/
|
||||||
width: 625px;
|
width: 625px;
|
||||||
padding-left: 330px;
|
padding-left: 327px;
|
||||||
margin : 0 auto 0 auto;
|
margin : 0 auto 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.srolled ul.nav {
|
||||||
|
padding-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.membersBackground {
|
.membersBackground {
|
||||||
/* background-color: white;
|
/* background-color: white;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|
@ -506,7 +514,6 @@ header.filler {
|
||||||
}
|
}
|
||||||
|
|
||||||
.centerpiece {
|
.centerpiece {
|
||||||
background: url(../images/sidebar_border.png) repeat-y 230px 0;
|
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ function setupClicker() {
|
||||||
// for the top dropdown
|
// for the top dropdown
|
||||||
$('li.memberLink a').click(transformHash);
|
$('li.memberLink a').click(transformHash);
|
||||||
|
|
||||||
$('a[href^="#"]').click(transformHash);
|
//$('a[href^="#"]').click(transformHash);
|
||||||
|
|
||||||
$('.related-to', '.metaInfo').click(function(){
|
$('.related-to', '.metaInfo').click(function(){
|
||||||
location.hash = $(this).find('a').attr('href').split('#')[1];
|
location.hash = $(this).find('a').attr('href').split('#')[1];
|
||||||
|
|
|
||||||
BIN
doc/site/images/ac-logo.png
Normal file
BIN
doc/site/images/ac-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
|
|
@ -46,6 +46,10 @@ $(function() {
|
||||||
$('.menu-item a').click(magicClickInterceptor);
|
$('.menu-item a').click(magicClickInterceptor);
|
||||||
$('a.argument').click(magicClickInterceptor);
|
$('a.argument').click(magicClickInterceptor);
|
||||||
|
|
||||||
|
$('a.external').click(function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
});
|
||||||
|
|
||||||
var tabs = $("#tabnav"),
|
var tabs = $("#tabnav"),
|
||||||
tab_a_selector = "a";
|
tab_a_selector = "a";
|
||||||
|
|
||||||
|
|
@ -100,6 +104,7 @@ $(function() {
|
||||||
$(window).on("hashchange", function(e) {
|
$(window).on("hashchange", function(e) {
|
||||||
tabs.each(function() {
|
tabs.each(function() {
|
||||||
var idx = $.bbq.getState("nav") || "about";
|
var idx = $.bbq.getState("nav") || "about";
|
||||||
|
var section = e.fragment.split("&")[1] || "";
|
||||||
$(this).find(tab_a_selector + "[href='#" + idx + "']").triggerHandler('click');
|
$(this).find(tab_a_selector + "[href='#" + idx + "']").triggerHandler('click');
|
||||||
|
|
||||||
// handles dropping in from new link
|
// handles dropping in from new link
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,7 @@ H3 {
|
||||||
H4 {
|
H4 {
|
||||||
font-size:21px;
|
font-size:21px;
|
||||||
color:#222222;
|
color:#222222;
|
||||||
|
margin-bottom:8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
P {
|
P {
|
||||||
|
|
|
||||||
89
index.html
89
index.html
|
|
@ -337,7 +337,7 @@ editor.replace('bar');</code></pre>
|
||||||
//...
|
//...
|
||||||
}
|
}
|
||||||
});</code></pre>
|
});</code></pre>
|
||||||
<h3>Importing Themes and Languages</h3>
|
<h3 id ="importing">Importing Themes and Languages</h3>
|
||||||
<p>ACE supports the importing of <em>.tmtheme</em> and <em>.tmlanguage</em> files for use
|
<p>ACE supports the importing of <em>.tmtheme</em> and <em>.tmlanguage</em> files for use
|
||||||
in the editor. The task is accomplished by two simple node scripts.</p>
|
in the editor. The task is accomplished by two simple node scripts.</p>
|
||||||
|
|
||||||
|
|
@ -464,104 +464,69 @@ tests for the highlighting.</p>
|
||||||
<a href="http://rstudio.org/">RStudio</a>
|
<a href="http://rstudio.org/">RStudio</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<img src="doc/site/images/empty-logo.png"
|
<img src="doc/site/images/ac-logo.png"
|
||||||
class="prod_no_image" />
|
style="position: relative; left: 4px; top: 25px;" />
|
||||||
<a href="https://github.com/Gozala/sky-edit">Sky Edit</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<img src="doc/site/images/empty-logo.png"
|
|
||||||
class="prod_no_image" />
|
|
||||||
<a href="http://www.wavemaker.com/">WaveMaker</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<img src="doc/site/images/empty-logo.png"
|
|
||||||
class="prod_no_image" />
|
|
||||||
<a href="http://www.playmycode.com/">Play My Code</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<img src="doc/site/images/empty-logo.png"
|
|
||||||
class="prod_no_image" />
|
|
||||||
<a href="http://demo.qooxdoo.org/devel/playground/#">Qooxdoo playground</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<img src="doc/site/images/empty-logo.png"
|
|
||||||
class="prod_no_image" />
|
|
||||||
<a href="http://ext.radiantcms.org/extensions/264-ace">Radiant CMS</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<img src="doc/site/images/empty-logo.png"
|
|
||||||
class="prod_no_image" />
|
|
||||||
<a href="http://developercompanion.com/">Developer Companion</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<img src="doc/site/images/empty-logo.png"
|
|
||||||
class="prod_no_image" />
|
|
||||||
<a href="http://www.pythonanywhere.com/">PythonAnywhere</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<img src="doc/site/images/empty-logo.png"
|
|
||||||
class="prod_no_image" />
|
|
||||||
<a href="http://www.applicationcraft.com/">Application Craft</a>
|
<a href="http://www.applicationcraft.com/">Application Craft</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<img src="doc/site/images/empty-logo.png"
|
<a href="https://github.com/Gozala/sky-edit">Sky Edit</a>
|
||||||
class="prod_no_image" />
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="http://www.wavemaker.com/">WaveMaker</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="http://www.playmycode.com/">Play My Code</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="http://demo.qooxdoo.org/devel/playground/#">Qooxdoo playground</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="http://ext.radiantcms.org/extensions/264-ace">Radiant CMS</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="http://developercompanion.com/">Developer Companion</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="http://www.pythonanywhere.com/">PythonAnywhere</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
<a href="http://shiftedit.net/">shiftEdit</a>
|
<a href="http://shiftedit.net/">shiftEdit</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<img src="doc/site/images/empty-logo.png"
|
|
||||||
class="prod_no_image" />
|
|
||||||
<a href="http://www.akshell.com/">Akshell</a>
|
<a href="http://www.akshell.com/">Akshell</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<img src="doc/site/images/empty-logo.png"
|
|
||||||
class="prod_no_image" />
|
|
||||||
<a href="http://beanstalkapp.com/">beanstalk</a>
|
<a href="http://beanstalkapp.com/">beanstalk</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<img src="doc/site/images/empty-logo.png"
|
|
||||||
class="prod_no_image" />
|
|
||||||
<a href="http://neutronide.com/">Neutron IDE</a>
|
<a href="http://neutronide.com/">Neutron IDE</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<img src="doc/site/images/empty-logo.png"
|
|
||||||
class="prod_no_image" />
|
|
||||||
<a href="https://addons.mozilla.org/en-US/firefox/addon/acebug/">Acebug</a>
|
<a href="https://addons.mozilla.org/en-US/firefox/addon/acebug/">Acebug</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<img src="doc/site/images/empty-logo.png"
|
|
||||||
class="prod_no_image" />
|
|
||||||
<a href="http://www.weecod.com">Weecod</a>
|
<a href="http://www.weecod.com">Weecod</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<img src="doc/site/images/empty-logo.png"
|
|
||||||
class="prod_no_image" />
|
|
||||||
<a href='http://rubymonk.com'>RubyMonk</a></li>
|
<a href='http://rubymonk.com'>RubyMonk</a></li>
|
||||||
<li>
|
<li>
|
||||||
<img src="doc/site/images/empty-logo.png"
|
|
||||||
class="prod_no_image" />
|
|
||||||
<a href='http://rocktronica.github.com/tmpltr/'>tmpltr</a>
|
<a href='http://rocktronica.github.com/tmpltr/'>tmpltr</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<img src="doc/site/images/empty-logo.png"
|
|
||||||
class="prod_no_image" />
|
|
||||||
<a href='http://dev.cmsmadesimple.org/projects/aceeditor'>CMS Made Simple</a>
|
<a href='http://dev.cmsmadesimple.org/projects/aceeditor'>CMS Made Simple</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<img src="doc/site/images/empty-logo.png"
|
|
||||||
class="prod_no_image" />
|
|
||||||
<a href='http://tryjasmine.com/'>Try Jasmine</a>
|
<a href='http://tryjasmine.com/'>Try Jasmine</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<img src="doc/site/images/empty-logo.png"
|
|
||||||
class="prod_no_image" />
|
|
||||||
<a href="http://codebender.cc/">Codebender</a>
|
<a href="http://codebender.cc/">Codebender</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<img src="doc/site/images/empty-logo.png"
|
|
||||||
class="prod_no_image" />
|
|
||||||
<a href="https://www.sharelatex.com">ShareLaTeX</a>
|
<a href="https://www.sharelatex.com">ShareLaTeX</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="http://finecut.info/">Fine Cut Engine</a>
|
||||||
|
</li>
|
||||||
<li id="add_your_site">
|
<li id="add_your_site">
|
||||||
<p>+</p>
|
<p>+</p>
|
||||||
<a href="mailto:ace@c9.io?subject=Put me on the ACE site!">Your Site Here</a>
|
<a href="mailto:ace@c9.io?subject=Put me on the ACE site!">Your Site Here</a>
|
||||||
|
|
|
||||||
|
|
@ -53,11 +53,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.ace-monokai .ace_marker-layer .ace_active_line {
|
.ace-monokai .ace_marker-layer .ace_active_line {
|
||||||
background: #49483E;
|
background: #202020;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ace-monokai .ace_gutter_active_line {
|
.ace-monokai .ace_gutter_active_line {
|
||||||
background-color: #191916;
|
background-color: #272727;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ace-monokai .ace_marker-layer .ace_selected_word {
|
.ace-monokai .ace_marker-layer .ace_selected_word {
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
"no use strict";
|
"no use strict";
|
||||||
|
|
||||||
var console = {
|
var console = {
|
||||||
log: function(msg) {
|
log: function(msgs) {
|
||||||
postMessage({type: "log", data: msg});
|
postMessage({type: "log", data: arguments.join(" ")});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
var window = {
|
var window = {
|
||||||
|
|
@ -30,6 +30,9 @@ var normalizeModule = function(parentId, moduleName) {
|
||||||
};
|
};
|
||||||
|
|
||||||
var require = function(parentId, id) {
|
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 id = normalizeModule(parentId, id);
|
||||||
|
|
||||||
var module = require.modules[id];
|
var module = require.modules[id];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue