fix(deps): gpui-component keeps highlight boundaries on char boundaries

Typing Chinese through the IME in the code editor could panic the app:
after a sync parse ran past its 2ms budget, the stale injection layers
put a style boundary inside the committed glyph and the text system split
the line mid-character. Debug builds miss the budget often enough to hit
it; the fork now snaps every style range to the current text.
This commit is contained in:
l0ng-ai
2026-09-28 12:28:21 +08:00
parent bc08fc49f4
commit ce94b627a7
Generated
+3 -3
View File
@@ -3365,7 +3365,7 @@ dependencies = [
[[package]]
name = "gpui-component"
version = "0.5.2"
source = "git+https://github.com/l0ng-ai/gpui-component?branch=tty7#107d83743bda07cace85b9d0b31fda4b922fcf85"
source = "git+https://github.com/l0ng-ai/gpui-component?branch=tty7#379c56a2ffbcb9771fb12e9e2fd6cc68a725c154"
dependencies = [
"aho-corasick",
"anyhow",
@@ -3448,7 +3448,7 @@ dependencies = [
[[package]]
name = "gpui-component-assets"
version = "0.5.1"
source = "git+https://github.com/l0ng-ai/gpui-component?branch=tty7#107d83743bda07cace85b9d0b31fda4b922fcf85"
source = "git+https://github.com/l0ng-ai/gpui-component?branch=tty7#379c56a2ffbcb9771fb12e9e2fd6cc68a725c154"
dependencies = [
"anyhow",
"gpui",
@@ -3462,7 +3462,7 @@ dependencies = [
[[package]]
name = "gpui-component-macros"
version = "0.5.1"
source = "git+https://github.com/l0ng-ai/gpui-component?branch=tty7#107d83743bda07cace85b9d0b31fda4b922fcf85"
source = "git+https://github.com/l0ng-ai/gpui-component?branch=tty7#379c56a2ffbcb9771fb12e9e2fd6cc68a725c154"
dependencies = [
"proc-macro2",
"quote",