-
Notifications
You must be signed in to change notification settings - Fork 131
cg Text Editor
#550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
cg Text Editor
#550
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
806d501
docs: expand AGENTS.md with multi-tenancy details and routing informa…
softmarshmallow 3e51451
feat: implement text editing features and layout engine
softmarshmallow 007c052
mv
softmarshmallow 36a7b8f
feat: implement undo/redo functionality and enhance text editing comm…
softmarshmallow 50a4fcf
fix: improve cursor baseline calculation and add IME handling
softmarshmallow 47e41ce
fix: refine IME handling and text insertion logic
softmarshmallow 4df9567
fix: enhance key event handling for text editor
softmarshmallow 39257ad
refactor: add char-boundary safety helpers and improve cursor movemen…
softmarshmallow 09ccaa9
fix: enhance text editing logic for cursor movement and line metrics
softmarshmallow 27d7b10
refactor: reorganize text layout engine and enhance caret handling
softmarshmallow fce0bc7
feat: introduce grida-text-edit module for enhanced text editing capa…
softmarshmallow c17ce66
fix: correct spelling of TenantMiddleware in documentation and code
softmarshmallow 7d50306
fix: update is_empty_line method to accept text parameter for accurat…
softmarshmallow File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| [package] | ||
| name = "grida-text-edit" | ||
| version = "0.0.0" | ||
| edition = "2021" | ||
| publish = false | ||
| license = "Apache-2.0" | ||
| description = "Platform-agnostic text editing engine." | ||
|
|
||
| [features] | ||
| default = ["skia"] | ||
| skia = ["dep:skia-safe"] | ||
|
|
||
| [dependencies] | ||
| unicode-segmentation = "1" | ||
| serde = { version = "1.0", features = ["derive"] } | ||
| serde_json = "1.0" | ||
|
|
||
| [dependencies.skia-safe] | ||
| version = "0.91.0" | ||
| features = ["textlayout"] | ||
| optional = true | ||
|
|
||
| [dev-dependencies] | ||
| arboard = "3" | ||
| gl = "0.14.0" | ||
| glutin = "0.32.0" | ||
| glutin-winit = "0.5.0" | ||
| raw-window-handle = "0.6.0" | ||
| winit = "0.30.0" | ||
| skia-safe = { version = "0.91.0", features = ["gpu", "gl", "textlayout"] } | ||
|
|
||
| [[example]] | ||
| name = "wd_text_editor" | ||
| path = "examples/wd_text_editor.rs" | ||
| required-features = ["skia"] | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.