Persist selections for editors (#25083)
Part of https://github.com/zed-industries/zed/issues/7371 Closes https://github.com/zed-industries/zed/issues/12853 Release Notes: - Started to persist latest selections for editors, to restore those on restart
This commit is contained in:
parent
b34037876e
commit
80458ffb96
8 changed files with 159 additions and 5 deletions
|
@ -71,7 +71,7 @@ impl CloseWindowWhenNoItems {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Default, Serialize, Deserialize, JsonSchema)]
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Default, Serialize, Deserialize, JsonSchema)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum RestoreOnStartupBehavior {
|
||||
/// Always start with an empty editor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue