Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Commit

Permalink
feat(ui): add some functionalities to EntryCore using the newly add…
Browse files Browse the repository at this point in the history
…ed text layout query API

- Support text selection by mouse
- Highlight the text being composed
- Display a caret and selection rectangles

Some of them are implemented in a crude way, only enough for testing the
implementation of the API, and require polishing. See the inserted TODO
comments.
  • Loading branch information
yvt committed Mar 22, 2020
1 parent 133fbfa commit 161b57c
Show file tree
Hide file tree
Showing 3 changed files with 270 additions and 15 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions tcw3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ testing = ["tcw3_pal/testing", "tcw3_testing/testing"]

[dependencies]
alt_fp = { path = "../support/alt_fp" }
array = "0.0.1"
array_intrusive_list = { path = "../support/array_intrusive_list" }
arrayvec = "0.5"
as_any = { path = "../support/as_any" }
Expand Down
Loading

0 comments on commit 161b57c

Please sign in to comment.