Skip to content

Commit

Permalink
Preference for lost changes at start up
Browse files Browse the repository at this point in the history
  • Loading branch information
Hilaire Fernandes committed Jul 23, 2024
1 parent bd7cef2 commit f951e12
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions docs/The-Change-Log.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,13 @@ <h3 class="section" id="The-Change-Log-1"><span>9.2 The Change Log<a class="copi
<p>Cuis-Smalltalk records any action occurring in the environment: the code you
edit in the System Browser, the code you execute in a
Workspace. Therefore, in the event of a Cuis-Smalltalk crash you can restore
unsaved changes when you launch the same Cuis-Smalltalk image again. Let&rsquo;s explore
this feature with a simple example.
unsaved changes when you launch the same Cuis-Smalltalk image again. Let&rsquo;s
explore this feature with a simple example.
</p>
<p>On a fresh Cuis-Smalltalk installation, create a new class category named
<code class="command">TheCuisBook</code> and within <code class="code">TheBook</code> class:
<p>On a fresh Cuis-Smalltalk installation, first set the appropriate preference by
executing in a Workspace: <code class="code">Preferences at:
#checkLostChangesOnStartUp put: true</code>. Now create a new class category
named <code class="command">TheCuisBook</code> and within <code class="code">TheBook</code> class:
</p>
<ul class="itemize mark-bullet">
<li>Over the class category pane of System Browser (at the most
Expand Down
10 changes: 6 additions & 4 deletions en/chapter-09/contents.texinfo
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,13 @@ solution to recover your lost editing, the @dfn{Change Log}.
@cuis{} records any action occurring in the environment: the code you
edit in the System Browser, the code you execute in a
Workspace. Therefore, in the event of a @cuis{} crash you can restore
unsaved changes when you launch the same @cuis{} image again. Let's explore
this feature with a simple example.
unsaved changes when you launch the same @cuis{} image again. Let's
explore this feature with a simple example.

On a fresh @cuis{} installation, create a new class category named
@label{TheCuisBook} and within @class{TheBook} class:
On a fresh @cuis{} installation, first set the appropriate preference by
executing in a Workspace: @smalltalk{Preferences at:
#checkLostChangesOnStartUp put: true}. Now create a new class category
named @label{TheCuisBook} and within @class{TheBook} class:

@itemize

Expand Down

0 comments on commit f951e12

Please sign in to comment.