Add LSP logs into the end of the editor, not after its caret
Also prevent tabs from being added in readonly editors
This commit is contained in:
@@ -4513,7 +4513,7 @@ impl Editor {
|
||||
}
|
||||
|
||||
pub fn tab(&mut self, _: &Tab, cx: &mut ViewContext<Self>) {
|
||||
if self.move_to_next_snippet_tabstop(cx) {
|
||||
if self.move_to_next_snippet_tabstop(cx) || self.read_only(cx) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user