Fix the double click and update the default settings (#9214)
This commit is contained in:
parent
44adb0a316
commit
3be1402a3d
3 changed files with 6 additions and 6 deletions
|
@ -400,7 +400,7 @@ impl EditorElement {
|
|||
return;
|
||||
}
|
||||
|
||||
if click_count == 2 {
|
||||
if click_count == 2 && !editor.buffer().read(cx).is_singleton() {
|
||||
match EditorSettings::get_global(cx).double_click_in_multibuffer {
|
||||
DoubleClickInMultibuffer::Select => {
|
||||
// do nothing special on double click, all selection logic is below
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue