The Trunk: Morphic-spfa.1641.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Morphic-spfa.1641.mcz

commits-2
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-spfa.1641.mcz

==================== Summary ====================

Name: Morphic-spfa.1641
Author: spfa
Time: 2 April 2020, 11:31:57.845097 pm
UUID: be701ee2-5637-c34d-8765-d2527e1d5785
Ancestors: Morphic-mt.1640

Add inst. var. lastParenLocation to TextEditor #stateArray (used to transfer state to a newly installed editor). This ensures that #clearParens works as expected in all circumstances.

=============== Diff against Morphic-mt.1640 ===============

Item was changed:
  ----- Method: TextEditor>>stateArray (in category 'initialize-release') -----
  stateArray
  ^ {ChangeText.
  FindText.
  history ifNil: [TextEditorCommandHistory new]. "Convert old instances"
  self markIndex to: self pointIndex - 1.
  self startOfTyping.
+ emphasisHere.
+ lastParenLocation}!
- emphasisHere}!

Item was changed:
  ----- Method: TextEditor>>stateArrayPut: (in category 'initialize-release') -----
  stateArrayPut: stateArray
  | sel |
  ChangeText := stateArray at: 1.
  FindText := stateArray at: 2.
  history := stateArray at: 3.
  sel := stateArray at: 4.
  self selectFrom: sel first to: sel last.
  beginTypeInIndex := stateArray at: 5.
+ emphasisHere := stateArray at: 6.
+ lastParenLocation := stateArray at: 7!
- emphasisHere := stateArray at: 6!