Fix the misalignment issue with Inline Assist (#43768)
Easy path to fix the issue #38755 <img width="787" height="157" alt="Screenshot 2025-11-28 at 9 39 55 PM" src="https://github.com/user-attachments/assets/4943f668-c2d7-4c35-8fa7-a6fea839a99f" /> Release Notes: - agent: Fixed the UI misalignment between old and new lines from the inline assist.
This commit is contained in:
@@ -1456,6 +1456,7 @@ impl InlineAssistant {
|
||||
editor.set_soft_wrap_mode(language::language_settings::SoftWrap::None, cx);
|
||||
editor.set_show_wrap_guides(false, cx);
|
||||
editor.set_show_gutter(false, cx);
|
||||
editor.set_offset_content(false, cx);
|
||||
editor.scroll_manager.set_forbid_vertical_scroll(true);
|
||||
editor.set_read_only(true);
|
||||
editor.set_show_edit_predictions(Some(false), window, cx);
|
||||
|
||||
Reference in New Issue
Block a user