Add minimap into the editor controls (#30285)
Follow-up of https://github.com/zed-industries/zed/pull/26893 Release Notes: - N/A
This commit is contained in:
parent
f21780cef3
commit
2b6280ad56
8 changed files with 60 additions and 12 deletions
|
@ -226,7 +226,7 @@ impl ContextEditor {
|
|||
let editor = cx.new(|cx| {
|
||||
let mut editor =
|
||||
Editor::for_buffer(context.read(cx).buffer().clone(), None, window, cx);
|
||||
editor.disable_scrollbars_and_minimap(cx);
|
||||
editor.disable_scrollbars_and_minimap(window, cx);
|
||||
editor.set_soft_wrap_mode(SoftWrap::EditorWidth, cx);
|
||||
editor.set_show_line_numbers(false, cx);
|
||||
editor.set_show_git_diff_gutter(false, cx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue