annotate LICENSE.txt @ 40:96e86650043b

Fix issues with files opened in multiple panes. The previous code was problematic since it opened files at the top for no obvious reason. Now we always restore any saved state if we have it, and if not we restore the current state from another pane if we find the same file is already open.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 20 Sep 2023 17:18:47 -0700
parents e8300db708b6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
e8300db708b6 Add license file
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
1 MIT License
e8300db708b6 Add license file
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
2
e8300db708b6 Add license file
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
3 Copyright (c) [year] [fullname]
e8300db708b6 Add license file
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
4
e8300db708b6 Add license file
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
5 Permission is hereby granted, free of charge, to any person obtaining a copy
e8300db708b6 Add license file
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
6 of this software and associated documentation files (the "Software"), to deal
e8300db708b6 Add license file
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
7 in the Software without restriction, including without limitation the rights
e8300db708b6 Add license file
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
8 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
e8300db708b6 Add license file
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
9 copies of the Software, and to permit persons to whom the Software is
e8300db708b6 Add license file
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
10 furnished to do so, subject to the following conditions:
e8300db708b6 Add license file
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
11
e8300db708b6 Add license file
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
12 The above copyright notice and this permission notice shall be included in all
e8300db708b6 Add license file
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
13 copies or substantial portions of the Software.
e8300db708b6 Add license file
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
14
e8300db708b6 Add license file
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
15 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
e8300db708b6 Add license file
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
16 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
e8300db708b6 Add license file
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
17 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
e8300db708b6 Add license file
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
18 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
e8300db708b6 Add license file
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
19 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
e8300db708b6 Add license file
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
20 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
e8300db708b6 Add license file
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
21 SOFTWARE.