From 31cc51c1079e548becf715db5bc60d61bbd87a62 Mon Sep 17 00:00:00 2001 From: hejl Date: Sun, 11 May 2025 18:09:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E6=9D=A1=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- win_text_editor/lib/app/widgets/text_tab.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win_text_editor/lib/app/widgets/text_tab.dart b/win_text_editor/lib/app/widgets/text_tab.dart index c810097..e138077 100644 --- a/win_text_editor/lib/app/widgets/text_tab.dart +++ b/win_text_editor/lib/app/widgets/text_tab.dart @@ -195,7 +195,7 @@ class _TextTabState extends State { controller: _controller, focusNode: _focusNode, maxLines: null, - scrollController: _scrollController, // 使用同一个滚动控制器 + //scrollController: _scrollController, // 使用同一个滚动控制器 onChanged: (text) => _provider.updateContent(widget.tabId, text, tab.fileName), decoration: const InputDecoration( border: InputBorder.none,