Indenting in the code editor (Tab
key) #77
Labels
No labels
bug
c:haku
c:rkgk backend
c:rkgk frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: liquidex/rkgk#77
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently the
Tab
key does what theTab
key usually does (jumps between fields.) It should instead insert a 2-space indent, and the indent should be preserved when you create new lines.I've done a bit of work to extend
<textarea>
with this functionality (available asCodeEditor
,<rkgk-code-editor>
.) This might have broken undo/redo a bit; it's a shame web browsers don't expose a simple API to work with text areas and such.