Skip to content

Commit

Permalink
fix: change --no-hot-exit to --no-restore-session (#334)
Browse files Browse the repository at this point in the history
* Update _index.md

* Update _index.md

* fix: add missing changes

---------

Co-authored-by: Flex Zhong <[email protected]> db92321
  • Loading branch information
ouuan committed Feb 14, 2024
1 parent be36105 commit 98b89ff
Show file tree
Hide file tree
Showing 253 changed files with 3,656 additions and 2,921 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="./offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="./offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="./"
data-offline-search-max-results="10"
>
Expand Down
2 changes: 1 addition & 1 deletion about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../"
data-offline-search-max-results="10"
>
Expand Down
2 changes: 1 addition & 1 deletion community/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../"
data-offline-search-max-results="10"
>
Expand Down
4 changes: 2 additions & 2 deletions docs/faq/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../"
data-offline-search-max-results="10"
>
Expand Down Expand Up @@ -193,7 +193,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../"
data-offline-search-max-results="10"
>
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../"
data-offline-search-max-results="10"
>
Expand Down Expand Up @@ -193,7 +193,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../"
data-offline-search-max-results="10"
>
Expand Down
4 changes: 2 additions & 2 deletions docs/installation/build-from-source/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down Expand Up @@ -193,7 +193,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down
4 changes: 2 additions & 2 deletions docs/installation/download-from-releases/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down Expand Up @@ -193,7 +193,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down
4 changes: 2 additions & 2 deletions docs/installation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../"
data-offline-search-max-results="10"
>
Expand Down Expand Up @@ -193,7 +193,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../"
data-offline-search-max-results="10"
>
Expand Down
4 changes: 2 additions & 2 deletions docs/installation/use-artifacts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down Expand Up @@ -193,7 +193,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down
4 changes: 2 additions & 2 deletions docs/installation/use-package-managers/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down Expand Up @@ -193,7 +193,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down
8 changes: 4 additions & 4 deletions docs/preferences/actions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down Expand Up @@ -193,7 +193,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down Expand Up @@ -911,7 +911,7 @@ <h3 id="terminal-arguments">Terminal Arguments</h3>
<h2 id="save-session">Save Session</h2>
<h3 id="restore-last-session-at-startup">Restore last session at startup</h3>
<p>Save the status of the editor, and restore most status from the last session when you start CP Editor.</p>
<p>You can use the <code>--no-hot-exit</code> command-line option to temporarily disable this, in case that the last session is too big and the application hangs.</p>
<p>You can use the <code>--no-restore-session</code> command-line option to temporarily disable this, in case that the last session is too big and the application hangs.</p>
<h3 id="auto-save-the-current-session-periodically">Auto-save the current session periodically</h3>
<p>Save the current session periodically instead of only when exiting the application.</p>
<p>This is useful if you don&rsquo;t want to lose your codes after abnormal terminations, such as power outage, forced shutdown, killing CP Editor, etc. However, if the files and test cases are too large, the editor hangs each time the auto-save happens.</p>
Expand Down Expand Up @@ -1060,7 +1060,7 @@ <h3 id="show-stopwatch-result-only-when-the-button-is-pressed">Show stopwatch re



<div class="text-muted mt-5 pt-3 border-top">Last modified November 28, 2021: <a href="https://github.com/cpeditor/cpeditor.github.io/commit/e65f7323bd718c5eecbbab4bb349ccc41c0e0340">feat(preferences/actions): add stopwatch (#241) (e65f7323)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified February 14, 2024: <a href="https://github.com/cpeditor/cpeditor.github.io/commit/db92321d066be7c533389cd2491470e91e21921a">fix: change `--no-hot-exit` to `--no-restore-session` (#334) (db92321d)</a>
</div>
</div>

Expand Down
4 changes: 2 additions & 2 deletions docs/preferences/advanced/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down Expand Up @@ -193,7 +193,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down
4 changes: 2 additions & 2 deletions docs/preferences/appearance/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down Expand Up @@ -193,7 +193,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down
4 changes: 2 additions & 2 deletions docs/preferences/code-edit/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down Expand Up @@ -193,7 +193,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down
4 changes: 2 additions & 2 deletions docs/preferences/extensions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down Expand Up @@ -193,7 +193,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down
4 changes: 2 additions & 2 deletions docs/preferences/file-path/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down Expand Up @@ -193,7 +193,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down
4 changes: 2 additions & 2 deletions docs/preferences/general/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down Expand Up @@ -193,7 +193,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down
4 changes: 2 additions & 2 deletions docs/preferences/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../"
data-offline-search-max-results="10"
>
Expand Down Expand Up @@ -193,7 +193,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../"
data-offline-search-max-results="10"
>
Expand Down
2 changes: 1 addition & 1 deletion docs/preferences/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ to save files.&lt;/p>
&lt;h2 id="save-session">Save Session&lt;/h2>
&lt;h3 id="restore-last-session-at-startup">Restore last session at startup&lt;/h3>
&lt;p>Save the status of the editor, and restore most status from the last session when you start CP Editor.&lt;/p>
&lt;p>You can use the &lt;code>--no-hot-exit&lt;/code> command-line option to temporarily disable this, in case that the last session is too big and the application hangs.&lt;/p>
&lt;p>You can use the &lt;code>--no-restore-session&lt;/code> command-line option to temporarily disable this, in case that the last session is too big and the application hangs.&lt;/p>
&lt;h3 id="auto-save-the-current-session-periodically">Auto-save the current session periodically&lt;/h3>
&lt;p>Save the current session periodically instead of only when exiting the application.&lt;/p>
&lt;p>This is useful if you don&amp;rsquo;t want to lose your codes after abnormal terminations, such as power outage, forced shutdown, killing CP Editor, etc. However, if the files and test cases are too large, the editor hangs each time the auto-save happens.&lt;/p>
Expand Down
4 changes: 2 additions & 2 deletions docs/preferences/key-bindings/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down Expand Up @@ -193,7 +193,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down
4 changes: 2 additions & 2 deletions docs/preferences/language/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down Expand Up @@ -193,7 +193,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../../"
data-offline-search-max-results="10"
>
Expand Down
4 changes: 2 additions & 2 deletions docs/setup/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../"
data-offline-search-max-results="10"
>
Expand Down Expand Up @@ -193,7 +193,7 @@
aria-label="Search this site…"
autocomplete="off"

data-offline-search-index-json-src="../../offline-search-index.1a71f9c0dc59adf77a3d85383f77d0ca.json"
data-offline-search-index-json-src="../../offline-search-index.2cbf8c87eb4c14c5398ee09e63f4ae72.json"
data-offline-search-base-href="../../"
data-offline-search-max-results="10"
>
Expand Down
Loading

0 comments on commit 98b89ff

Please sign in to comment.