introduce new code editor with support for extra shortcuts such as Tab for indenting/unindenting lines

I'm sure this will yield _lots_ of bugs in the long run, but it's also a really exciting thing to have.
This commit is contained in:
りき萌 2024-09-05 21:30:07 +02:00
parent a35ac17b86
commit b8d6b3edb3
3 changed files with 341 additions and 19 deletions

View file

@ -166,6 +166,21 @@ rkgk-reticle-cursor {
}
}
/* Code editor */
rkgk-code-editor {
&>textarea {
display: block;
width: 100%;
margin: 0;
resize: none;
white-space: pre-wrap;
border: none;
overflow: hidden;
box-sizing: border-box;
}
}
/* Brush editor */
rkgk-brush-editor {