Replies: 2 comments
-
Part1: How vscode renders lines (How vscode get a
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Part2: How vscode renders lines (How vscode get LineTokens given a line number):
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
OverView
Folder Structure (2022.05.31)
Iteration Plan
Common Codes
Randomnamespace.User interface (UI)
Services
FileService- FileService now able to read files in stream mode (readFileStream).KeyboardScreenCastService- brand new microservice.Editor
MVVM- foundamental framework.TextBufferBuilder- For essentially building aIPieceTable.PieceTable- Multiple buffer piece table with red-black tree, optimized for line model (HUGE WORK💦)EditorViewModelEmitter- Fires general event type fromEditorModel.EditorViewEventHandler- Handling event fired fromEditorViewModel.ViewComponent- Base class for anyViews.ViewLineWidget&LineWidget- A place for storing the actual lines.tokenizer- Using RegExp to split text into tokens (DEPRECATED).lexer- Markdown lexer (DEPRECATED).Workbench
Unit Tests
TextBufferBuilder- unit tests.PieceTable- unit tests.Benchmark & Optimization
benchmark)Code Review
ViewLineDatafor each line) (high-level)Others
Beta Was this translation helpful? Give feedback.
All reactions