mirror of
				https://github.com/prasathmani/tinyfilemanager.git
				synced 2025-10-31 10:25:49 +01:00 
			
		
		
		
	AceEditor: hide vertical ruler (#973)
This commit is contained in:
		| @@ -4074,6 +4074,7 @@ $isStickyNavBar = $sticky_navbar ? 'navbar-fixed' : 'navbar-normal'; | |||||||
|         var editor = ace.edit("editor"); |         var editor = ace.edit("editor"); | ||||||
|         editor.getSession().setMode( {path:"ace/mode/<?php echo $ext; ?>", inline:true} ); |         editor.getSession().setMode( {path:"ace/mode/<?php echo $ext; ?>", inline:true} ); | ||||||
|         //editor.setTheme("ace/theme/twilight"); //Dark Theme |         //editor.setTheme("ace/theme/twilight"); //Dark Theme | ||||||
|  |         editor.setShowPrintMargin(false); // Hide the vertical ruler | ||||||
|         function ace_commend (cmd) { editor.commands.exec(cmd, editor); } |         function ace_commend (cmd) { editor.commands.exec(cmd, editor); } | ||||||
|         editor.commands.addCommands([{ |         editor.commands.addCommands([{ | ||||||
|             name: 'save', bindKey: {win: 'Ctrl-S',  mac: 'Command-S'}, |             name: 'save', bindKey: {win: 'Ctrl-S',  mac: 'Command-S'}, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user