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) {
|
||||
env.editor.setFadeFoldWidgets(checked);
|
||||
});
|
||||
bindCheckbox("read_only", function(checked) {
|
||||
env.editor.setReadOnly(checked);
|
||||
});
|
||||
|
||||
var secondSession = null;
|
||||
bindDropdown("split", function(value) {
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ var docs = {
|
|||
"docs/AsciiDoc.asciidoc": "AsciiDoc",
|
||||
"docs/javascript.js": "JavaScript",
|
||||
"docs/clojure.clj": "Clojure",
|
||||
"docs/coffeescript.coffee": "Coffeescript",
|
||||
"docs/coffeescript.coffee": "CoffeeScript",
|
||||
"docs/coldfusion.cfm": "ColdFusion",
|
||||
"docs/cpp.cpp": "C/C++",
|
||||
"docs/csharp.cs": "C#",
|
||||
|
|
|
|||
|
|
@ -249,6 +249,14 @@
|
|||
<input type="checkbox" id="highlight_token">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td >
|
||||
<label for="highlight_token">Read-only</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="checkbox" id="read_only">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
</table>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue