123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>Ace Kitchen Sink</title>
- <meta name="author" content="Fabian Jakobs">
- <!--
- Ace
- version 1.2.8
- commit 9200b313b9923abc28c40cf597571106328de4a0
- -->
- <link rel="stylesheet" href="demo/kitchen-sink/styles.css" type="text/css" media="screen" charset="utf-8">
-
- <script async="true" src="https://use.edgefonts.net/source-code-pro.js"></script>
-
- <link href="./doc/site/images/favicon.ico" rel="icon" type="image/x-icon">
- </head>
- <body>
- <div id="optionsPanel" style="position:absolute;height:100%;width:260px">
- <a href="https://c9.io" title="Cloud9 IDE | Your code anywhere, anytime">
- <img id="c9-logo" src="demo/kitchen-sink/logo.png" style="width: 172px;margin: -9px 30px -12px 51px;">
- </a>
- <div style="position: absolute; overflow: hidden; top:100px; bottom:0">
- <div style="width: 120%; height:100%; overflow-y: scroll">
- <table id="controls">
- <tr>
- <td>
- <label for="doc">Document</label>
- </td><td>
- <select id="doc" size="1">
- </select>
- </td>
- </tr>
- <tr>
- <td >
- <label for="mode">Mode</label>
- </td><td>
- <select id="mode" size="1">
- </select>
- </td>
- </tr>
- <tr>
- <td>
- <label for="split">Split</label>
- </td><td>
- <select id="split" size="1">
- <option value="none">None</option>
- <option value="below">Below</option>
- <option value="beside">Beside</option>
- </select>
- </td>
- </tr>
- <tr>
- <td >
- <label for="theme">Theme</label>
- </td><td>
- <select id="theme" size="1">
-
- </select>
- </td>
- </tr>
- <tr>
- <td>
- <label for="fontsize">Font Size</label>
- </td><td>
- <select id="fontsize" size="1">
- <option value="10px">10px</option>
- <option value="11px">11px</option>
- <option value="12px" selected="selected">12px</option>
- <option value="13px">13px</option>
- <option value="14px">14px</option>
- <option value="16px">16px</option>
- <option value="18px">18px</option>
- <option value="20px">20px</option>
- <option value="24px">24px</option>
- </select>
- </td>
- </tr>
- <tr>
- <td>
- <label for="folding">Code Folding</label>
- </td><td>
- <select id="folding" size="1">
- <option value="manual">manual</option>
- <option value="markbegin" selected="selected">mark begin</option>
- <option value="markbeginend">mark begin and end</option>
- </select>
- </td>
- </tr>
- <tr>
- <td >
- <label for="keybinding">Key Binding</label>
- </td><td>
- <select id="keybinding" size="1">
- <option value="ace">Ace</option>
- <option value="vim">Vim</option>
- <option value="emacs">Emacs</option>
- <option value="custom">Custom</option>
- </select>
- </td>
- </tr>
- <tr>
- <td >
- <label for="soft_wrap">Soft Wrap</label>
- </td><td>
- <select id="soft_wrap" size="1">
- <option value="off">Off</option>
- <option value="40">40 Chars</option>
- <option value="80">80 Chars</option>
- <option value="free">Free</option>
- </select>
- </td>
- </tr>
- <tr><td colspan="2">
- <table id="more-controls">
- <tr>
- <td>
- <label for="select_style">Full Line Selection</label>
- </td><td>
- <input type="checkbox" name="select_style" id="select_style" checked>
- </td>
- </tr>
- <tr>
- <td>
- <label for="highlight_active">Highlight Active Line</label>
- </td><td>
- <input type="checkbox" name="highlight_active" id="highlight_active" checked>
- </td>
- </tr>
- <tr>
- <td >
- <label for="show_hidden">Show Invisibles</label>
- </td><td>
- <input type="checkbox" name="show_hidden" id="show_hidden" checked>
- </td>
- </tr>
- <tr>
- <td >
- <label for="display_indent_guides">Show Indent Guides</label>
- </td><td>
- <input type="checkbox" name="display_indent_guides" id="display_indent_guides" checked>
- </td>
- </tr>
- <tr>
- <td >
- <label for="show_hscroll">Persistent HScroll</label>
- </td><td>
- <input type="checkbox" name="show_hscroll" id="show_hscroll">
- <label for="show_hscroll">VScroll</label>
- <input type="checkbox" name="show_vscroll" id="show_vscroll">
- </td>
- </tr>
- <tr>
- <td >
- <label for="animate_scroll">Animate scrolling</label>
- </td><td>
- <input type="checkbox" name="animate_scroll" id="animate_scroll">
- </td>
- </tr>
- <tr>
- <td >
- <label for="show_gutter">Show Gutter</label>
- </td><td>
- <input type="checkbox" id="show_gutter" checked>
- </td>
- </tr>
- <tr>
- <td >
- <label for="show_print_margin">Show Print Margin</label>
- </td><td>
- <input type="checkbox" id="show_print_margin" checked>
- </td>
- </tr>
- <tr>
- <td >
- <label for="soft_tab">Use Soft Tab</label>
- </td><td>
- <input type="checkbox" id="soft_tab" checked>
- </td>
- </tr>
- <tr>
- <td >
- <label for="navigate_within_soft_tab">Navigate within soft tabs</label>
- </td><td>
- <input type="checkbox" id="navigate_within_soft_tab">
- </td>
- </tr>
- <tr>
- <td >
- <label for="highlight_selected_word">Highlight selected word</label>
- </td>
- <td>
- <input type="checkbox" id="highlight_selected_word" checked>
- </td>
- </tr>
- <tr>
- <td >
- <label for="enable_behaviours">Enable Behaviours</label>
- </td>
- <td>
- <input type="checkbox" id="enable_behaviours">
- </td>
- </tr>
- <tr>
- <td >
- <label for="fade_fold_widgets">Fade Fold Widgets</label>
- </td>
- <td>
- <input type="checkbox" id="fade_fold_widgets">
- </td>
- </tr>
- <tr>
- <td >
- <label for="elastic_tabstops">Enable Elastic Tabstops</label>
- </td>
- <td>
- <input type="checkbox" id="elastic_tabstops">
- </td>
- </tr>
- <tr>
- <td >
- <label for="isearch">Incremental Search</label>
- </td>
- <td>
- <input type="checkbox" id="isearch">
- </td>
- </tr>
- <tr>
- <td >
- <label for="highlight_token">Show token info</label>
- </td>
- <td>
- <input type="checkbox" id="highlight_token">
- </td>
- </tr>
- <tr>
- <td >
- <label for="read_only">Read-only</label>
- </td>
- <td>
- <input type="checkbox" id="read_only">
- </td>
- </tr>
- <tr>
- <td >
- <label for="scrollPastEnd">Scroll Past End</label>
- </td>
- <td>
- <input type="checkbox" id="scrollPastEnd" checked>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <input type="button" value="Edit Snippets" onclick="env.editSnippets()">
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <input type="button" value="Add Textarea" onclick="this.parentNode.replaceChild(
- document.createElement('textarea'), this
- )">
- </td>
- </tr>
- </table>
- </td></tr>
- </table>
-
- <a href="https://ace.c9.io">
- <img id="ace-logo" src="demo/kitchen-sink/ace-logo.png" style="width: 134px;margin: 46px 0px 4px 66px;">
- </a>
- <div><a target="_test" href="./lib/ace/test/tests.html"
- style="color: whitesmoke; text-align: left; padding: 1em;">tests</a>
- </div>
- </div>
- </div>
- </div>
- <div id="editor-container"></div>
- <script src="src/ace.js" data-ace-base="src" type="text/javascript" charset="utf-8"></script>
- <script src="src/keybinding-vim.js"></script>
- <script src="src/keybinding-emacs.js"></script>
- <script src="demo/kitchen-sink/demo.js"></script>
- <script type="text/javascript" charset="utf-8">
- require("kitchen-sink/demo");
- </script>
-
- </body>
- </html>
|