MCPcopy
hub / github.com/retspen/webvirtcloud / setupSettingPanel

Function setupSettingPanel

static/js/ext-textarea.js:470–615  ·  view source on GitHub ↗
(settingDiv, settingOpener, editor)

Source from the content-addressed store, hash-verified

468}
469
470function setupSettingPanel(settingDiv, settingOpener, editor) {
471 var BOOL = null;
472
473 var desc = {
474 mode: "Mode:",
475 wrap: "Soft Wrap:",
476 theme: "Theme:",
477 fontSize: "Font Size:",
478 showGutter: "Display Gutter:",
479 keybindings: "Keyboard",
480 showPrintMargin: "Show Print Margin:",
481 useSoftTabs: "Use Soft Tabs:",
482 showInvisibles: "Show Invisibles"
483 };
484
485 var optionValues = {
486 mode: {
487 text: "Plain",
488 javascript: "JavaScript",
489 xml: "XML",
490 html: "HTML",
491 css: "CSS",
492 scss: "SCSS",
493 python: "Python",
494 php: "PHP",
495 java: "Java",
496 ruby: "Ruby",
497 c_cpp: "C/C++",
498 coffee: "CoffeeScript",
499 json: "json",
500 perl: "Perl",
501 clojure: "Clojure",
502 ocaml: "OCaml",
503 csharp: "C#",
504 haxe: "haXe",
505 svg: "SVG",
506 textile: "Textile",
507 groovy: "Groovy",
508 liquid: "Liquid",
509 Scala: "Scala"
510 },
511 theme: {
512 clouds: "Clouds",
513 clouds_midnight: "Clouds Midnight",
514 cobalt: "Cobalt",
515 crimson_editor: "Crimson Editor",
516 dawn: "Dawn",
517 eclipse: "Eclipse",
518 idle_fingers: "Idle Fingers",
519 kr_theme: "Kr Theme",
520 merbivore: "Merbivore",
521 merbivore_soft: "Merbivore Soft",
522 mono_industrial: "Mono Industrial",
523 monokai: "Monokai",
524 pastel_on_dark: "Pastel On Dark",
525 solarized_dark: "Solarized Dark",
526 solarized_light: "Solarized Light",
527 textmate: "Textmate",

Callers 1

ext-textarea.jsFile · 0.85

Calls 1

renderOptionFunction · 0.85

Tested by

no test coverage detected