Add "Persistent Horizontal Scroll" setting to editor demo
This commit is contained in:
parent
14ebde8b24
commit
9e162f91b9
2 changed files with 7 additions and 0 deletions
|
|
@ -268,6 +268,9 @@ exports.launch = function(env) {
|
|||
|
||||
bindCheckbox("highlight_selected_word", function(checked) {
|
||||
env.editor.setHighlightSelectedWord(checked);
|
||||
|
||||
bindCheckbox("show_hscroll", function(checked) {
|
||||
env.editor.renderer.setHScrollBarAlwaysVisible(checked);
|
||||
});
|
||||
|
||||
function bindCheckbox(id, callback) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue