Skip to content

Conversation

@matthew-carroll
Copy link
Contributor

@matthew-carroll matthew-carroll commented Dec 20, 2025

Created a generic model for code documents, lexing, and tokenization.

Did this work while creating Kalua.

Then generated Dart implementations for lexing and tokenization. That work still needs tests and I'm sure it's got a lot of holes in it.

I renamed CodeLinesLayout to just CodeLayout.

I created a new widget called CodeEditor, which contains a CodeLayout, and I've implemented tap to place the caret, and arrow key movement of the caret. Next up is expanded selections.

Screen.Recording.2025-12-24.at.12.57.56.AM.mov
Screen.Recording.2025-12-24.at.1.41.11.AM.mov

 - The start of Dart lexing, contextualizing, highlighting, and theming
 - A CodeEditor to wrap about CodeLinesLayout
 - Public testing tools for inspecting and interacting with code layouts
…to be piped into a debug paint system that's accessible from the editor level.
@matthew-carroll
Copy link
Contributor Author

@angelosilvestre when you get a chance, can you check if I broke these tests, or if they were already broken? I'm gonna merge cause the package tests are passing.

@matthew-carroll matthew-carroll merged commit 33718ba into main Dec 24, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants