sync themes and modes
This commit is contained in:
parent
1421249d34
commit
2a70958609
3 changed files with 30 additions and 18 deletions
|
|
@ -220,9 +220,10 @@ project.assumeAllFilesLoaded();
|
||||||
console.log('# ace themes ---------');
|
console.log('# ace themes ---------');
|
||||||
|
|
||||||
[
|
[
|
||||||
"clouds", "clouds_midnight", "cobalt", "dawn", "idle_fingers", "kr_theme",
|
"clouds", "clouds_midnight", "cobalt", "crimson_editor", "dawn", "eclipse",
|
||||||
"mono_industrial", "monokai", "pastel_on_dark", "twilight", "eclipse",
|
"idle_fingers", "kr_theme", "merbivore", "merbivore_soft",
|
||||||
"merbivore", "merbivore_soft", "vibrant_ink", "crimson_editor"
|
"mono_industrial", "monokai", "pastel_on_dark", "solarized_dark",
|
||||||
|
"solarized_light", "textmate", "twilight", "vibrant_ink"
|
||||||
].forEach(function(theme) {
|
].forEach(function(theme) {
|
||||||
copy({
|
copy({
|
||||||
source: [{
|
source: [{
|
||||||
|
|
|
||||||
|
|
@ -410,34 +410,45 @@ function setupSettingPanel(settingDiv, settingOpener, api, options) {
|
||||||
mode: {
|
mode: {
|
||||||
text: "Plain",
|
text: "Plain",
|
||||||
javascript: "JavaScript",
|
javascript: "JavaScript",
|
||||||
coffee: "CoffeeScript",
|
xml: "XML",
|
||||||
html: "HTML",
|
html: "HTML",
|
||||||
css: "CSS",
|
css: "CSS",
|
||||||
scss: "SCSS",
|
scss: "SCSS",
|
||||||
xml: "XML",
|
|
||||||
svg: "SVG",
|
|
||||||
c_cpp: "C++",
|
|
||||||
csharp: "C#",
|
|
||||||
java: "Java",
|
|
||||||
php: "PHP",
|
|
||||||
ruby: "Ruby",
|
|
||||||
perl: "Perl",
|
|
||||||
python: "Python",
|
python: "Python",
|
||||||
clojure: "Clojure"
|
php: "PHP",
|
||||||
|
java: "Java",
|
||||||
|
ruby: "Ruby",
|
||||||
|
c_cpp: "C/C++",
|
||||||
|
coffee: "CoffeeScript",
|
||||||
|
json: "json",
|
||||||
|
perl: "Perl",
|
||||||
|
clojure: "Clojure",
|
||||||
|
ocaml: "OCaml",
|
||||||
|
csharp: "C#",
|
||||||
|
svg: "SVG",
|
||||||
|
textile: "Textile",
|
||||||
|
groovy: "Groovy",
|
||||||
|
Scala: "Scala"
|
||||||
},
|
},
|
||||||
theme: {
|
theme: {
|
||||||
textmate: "Textmate",
|
|
||||||
eclipse: "Eclipse",
|
|
||||||
clouds: "Clouds",
|
clouds: "Clouds",
|
||||||
clouds_midnight: "Clouds Midnight",
|
clouds_midnight: "Clouds Midnight",
|
||||||
cobalt: "Cobalt",
|
cobalt: "Cobalt",
|
||||||
|
crimson_editor: "Crimson Editor",
|
||||||
dawn: "Dawn",
|
dawn: "Dawn",
|
||||||
|
eclipse: "Eclipse",
|
||||||
idle_fingers: "Idle Fingers",
|
idle_fingers: "Idle Fingers",
|
||||||
kr_theme: "Kr Theme",
|
kr_theme: "Kr Theme",
|
||||||
|
merbivore: "Merbivore",
|
||||||
|
merbivore_soft: "Merbivore Soft",
|
||||||
mono_industrial: "Mono Industrial",
|
mono_industrial: "Mono Industrial",
|
||||||
monokai: "Monokai",
|
monokai: "Monokai",
|
||||||
pastel_on_dark: "Pastel On Dark",
|
pastel_on_dark: "Pastel On Dark",
|
||||||
twilight: "Twilight"
|
solarized_dark: "Solarized Dark",
|
||||||
|
solarized_light: "Solarized Light",
|
||||||
|
textmate: "Textmate",
|
||||||
|
twilight: "Twilight",
|
||||||
|
vibrant_ink: "Vibrant Ink"
|
||||||
},
|
},
|
||||||
gutter: BOOL,
|
gutter: BOOL,
|
||||||
fontSize: {
|
fontSize: {
|
||||||
|
|
@ -456,7 +467,7 @@ function setupSettingPanel(settingDiv, settingOpener, api, options) {
|
||||||
showPrintMargin: BOOL,
|
showPrintMargin: BOOL,
|
||||||
useSoftTabs: BOOL,
|
useSoftTabs: BOOL,
|
||||||
showInvisibles: BOOL
|
showInvisibles: BOOL
|
||||||
}
|
};
|
||||||
|
|
||||||
var table = [];
|
var table = [];
|
||||||
table.push("<table><tr><th>Setting</th><th>Value</th></tr>");
|
table.push("<table><tr><th>Setting</th><th>Value</th></tr>");
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@
|
||||||
<option value="perl">Perl</option>
|
<option value="perl">Perl</option>
|
||||||
<option value="clojure">Clojure</option>
|
<option value="clojure">Clojure</option>
|
||||||
<option value="ocaml">OCaml</option>
|
<option value="ocaml">OCaml</option>
|
||||||
<option value="csharp">C-Sharp</option>
|
<option value="csharp">C#</option>
|
||||||
<option value="svg">SVG</option>
|
<option value="svg">SVG</option>
|
||||||
<option value="textile">Textile</option>
|
<option value="textile">Textile</option>
|
||||||
<option value="groovy">Groovy</option>
|
<option value="groovy">Groovy</option>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue