mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-06-15 20:25:16 +02:00
AceEditor: hide vertical ruler
This commit is contained in:
parent
4b2aef8737
commit
7eb4cbb6f7
|
@ -4074,6 +4074,7 @@ $isStickyNavBar = $sticky_navbar ? 'navbar-fixed' : 'navbar-normal';
|
|||
var editor = ace.edit("editor");
|
||||
editor.getSession().setMode( {path:"ace/mode/<?php echo $ext; ?>", inline:true} );
|
||||
//editor.setTheme("ace/theme/twilight"); //Dark Theme
|
||||
editor.setShowPrintMargin(false); // Hide the vertical ruler
|
||||
function ace_commend (cmd) { editor.commands.exec(cmd, editor); }
|
||||
editor.commands.addCommands([{
|
||||
name: 'save', bindKey: {win: 'Ctrl-S', mac: 'Command-S'},
|
||||
|
|
Loading…
Reference in a new issue