Is there a way to hide the line numbers in Ace Editor?

Ivan Bacher picture Ivan Bacher · Feb 2, 2015 · Viewed 9.7k times · Source

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);