add option to disable active line highlighting in Code Settings

This commit is contained in:
Kaspars 2023-11-15 22:38:00 +01:00
parent 1aaaaba619
commit ef14074164
6 changed files with 22 additions and 2 deletions

View file

@ -30,6 +30,7 @@ export function MiniRepl({
theme,
keybindings,
isLineNumbersDisplayed,
isActiveLineHighlighted,
}) {
drawTime = drawTime || (punchcard ? [0, 4] : undefined);
const evalOnMount = !!drawTime;
@ -164,6 +165,7 @@ export function MiniRepl({
fontSize={fontSize}
keybindings={keybindings}
isLineNumbersDisplayed={isLineNumbersDisplayed}
highlightActiveLineGutter={isActiveLineHighlighted}
/>
)}
{error && <div className="text-right p-1 text-md text-red-200">{error.message}</div>}