From ce94b627a7ff49b0784c9a8ee489cefb82b8953f Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Mon, 28 Sep 2026 12:28:21 +0800 Subject: [PATCH] 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. --- Cargo.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2e80b87d..2284c3ed 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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",