style fixes + hide-console option
- thicker highlighting outline - only shade actual characters, not whole lines - strudel hide-console will now hide console
This commit is contained in:
parent
fd61001b4d
commit
913416a9d5
5 changed files with 29 additions and 8 deletions
|
|
@ -60,7 +60,8 @@ const highlightField = StateField.define({
|
|||
if (from > l || to > l) {
|
||||
return; // dont mark outside of range, as it will throw an error
|
||||
}
|
||||
const mark = Decoration.mark({ attributes: { style: `outline: 1px solid ${color}` } });
|
||||
// const mark = Decoration.mark({ attributes: { style: `outline: 1px solid ${color}` } });
|
||||
const mark = Decoration.mark({ attributes: { style: `outline: 1.5px solid ${color};` } });
|
||||
return mark.range(from, to);
|
||||
}),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue