Read-only checkbox in kitchen sink
This commit is contained in:
parent
3952ef9afd
commit
99f8aba562
3 changed files with 12 additions and 1 deletions
|
|
@ -356,6 +356,9 @@ bindCheckbox("enable_behaviours", function(checked) {
|
||||||
bindCheckbox("fade_fold_widgets", function(checked) {
|
bindCheckbox("fade_fold_widgets", function(checked) {
|
||||||
env.editor.setFadeFoldWidgets(checked);
|
env.editor.setFadeFoldWidgets(checked);
|
||||||
});
|
});
|
||||||
|
bindCheckbox("read_only", function(checked) {
|
||||||
|
env.editor.setReadOnly(checked);
|
||||||
|
});
|
||||||
|
|
||||||
var secondSession = null;
|
var secondSession = null;
|
||||||
bindDropdown("split", function(value) {
|
bindDropdown("split", function(value) {
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ var docs = {
|
||||||
"docs/AsciiDoc.asciidoc": "AsciiDoc",
|
"docs/AsciiDoc.asciidoc": "AsciiDoc",
|
||||||
"docs/javascript.js": "JavaScript",
|
"docs/javascript.js": "JavaScript",
|
||||||
"docs/clojure.clj": "Clojure",
|
"docs/clojure.clj": "Clojure",
|
||||||
"docs/coffeescript.coffee": "Coffeescript",
|
"docs/coffeescript.coffee": "CoffeeScript",
|
||||||
"docs/coldfusion.cfm": "ColdFusion",
|
"docs/coldfusion.cfm": "ColdFusion",
|
||||||
"docs/cpp.cpp": "C/C++",
|
"docs/cpp.cpp": "C/C++",
|
||||||
"docs/csharp.cs": "C#",
|
"docs/csharp.cs": "C#",
|
||||||
|
|
|
||||||
|
|
@ -249,6 +249,14 @@
|
||||||
<input type="checkbox" id="highlight_token">
|
<input type="checkbox" id="highlight_token">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td >
|
||||||
|
<label for="highlight_token">Read-only</label>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input type="checkbox" id="read_only">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td></tr>
|
</td></tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue