Is there any way to remove the line numbers when using the ace editor?
Similar to removing the print margin as shown below?
editor.setShowPrintMargin(false);
Is there any way to remove the line numbers when using the ace editor?
Similar to removing the print margin as shown below?
editor.setShowPrintMargin(false);
Use
editor.renderer.setShowGutter(true/false);
http://ace.c9.io/#VirtualRenderer.setShowGutter=&nav=api&api=virtual_renderer
Editor Options https://github.com/ajaxorg/ace/wiki/Configuring-Ace
If you want to hide the line numbers but keep the gutter for the folding widgets:
editor.renderer.setOption('showLineNumbers', false);