A CodeInput is a special variant of TextInput that provides syntax highlighting and a gutter (column with line numbers).
// Start a code editor codeInput(); // Start a code editor that uses tabs codeInput( .useTabs ); // Or, 2 spaces, if you prefer — the default is 4 spaces codeInput( .useSpaces(2) );
See Implementation
A CodeInput is a special variant of TextInput that provides syntax highlighting and a gutter (column with line numbers).