Fix shift-enter in search
If you want to type a newline in an auto_height editor, ctrl and ctrl-shift are your friends.
This commit is contained in:
@@ -296,5 +296,7 @@ mod test {
|
||||
cx.assert_editor_state("«oneˇ» one one one");
|
||||
cx.simulate_keystrokes(["enter"]);
|
||||
cx.assert_editor_state("one «oneˇ» one one");
|
||||
cx.simulate_keystrokes(["shift-enter"]);
|
||||
cx.assert_editor_state("«oneˇ» one one one");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user