Skip to content

Commit

Permalink
renamed window label and app button to "SquidWord"
Browse files Browse the repository at this point in the history
  • Loading branch information
leonschmidt99 committed Jun 21, 2019
1 parent ce8be99 commit da6a92d
Show file tree
Hide file tree
Showing 29 changed files with 35 additions and 30 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
constants
initialLabel

^ 'SquidWord'
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
instance creation
initialize

TheWorldMenu registerOpenCommand: {'Rich Text Editor'. {self. #open}}
TheWorldMenu registerOpenCommand: {self initialLabel. {self. #open}}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ initialize
super initialize.
self currentSaveName: ''.
self text: '' asText;
label: 'SquidWord';
label: self class initialLabel;
textStructures: self class initialTextStructures;
selectedStructures: Set new;
bufferedStructures: Set new;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
saving and loading
setLabel: aString

self label: 'Rich Text Editor - ', aString.
self label: self class initialLabel, ' - ', aString.
self changed: #label
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"class" : {
"initialLabel" : "ls 6/21/2019 17:54",
"initialTextStructures" : "ls 6/5/2019 17:43",
"initialize" : "AG 5/29/2019 18:40",
"initialize" : "ls 6/21/2019 17:54",
"open" : "MB 5/9/2019 09:37",
"resetTextStyles" : "AG 5/30/2019 12:36",
"saverClass" : "ls 5/8/2019 20:28",
Expand Down Expand Up @@ -34,7 +35,7 @@
"hasStructure:" : "ls 6/6/2019 00:59",
"hasStructure:forText:from:to:" : "ls 6/6/2019 00:55",
"hasUnacceptedEdits" : "ls 5/9/2019 10:34",
"initialize" : "AG 6/21/2019 17:42",
"initialize" : "ls 6/21/2019 17:54",
"initializeRealStructure:" : "ls 5/30/2019 11:24",
"initializeRealStructure:withEmphasis:" : "ls 5/30/2019 11:21",
"initializeRealStructures" : "ls 5/30/2019 11:21",
Expand Down Expand Up @@ -74,7 +75,7 @@
"selectionStart" : "lh 5/22/2019 20:45",
"selectionStop" : "lh 5/22/2019 20:47",
"setCurrentSave:" : "",
"setLabel:" : "AG 5/29/2019 18:36",
"setLabel:" : "ls 6/21/2019 17:54",
"setText:" : "AG 5/29/2019 18:35",
"structureSelectionAt:put:" : "",
"structuresChanged" : "ls 6/18/2019 15:23",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
utilities
activateHeading

self editorModel structureSelectionAt: self headingTextStructureIndex put: true
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
utilities
deactivateHeading

self editorModel structureSelectionAt: self headingTextStructureIndex put: false
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
utilities
enterCharacter: aCharacter times: aNumber

aNumber timesRepeat: [self enterStringOntoTextField: aCharacter asString]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
utilities
headingIsAddedToWrittenText

self moveCaretToBeginningOfOtherText.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
utilities
headingTextStructureIndex

^ self editorModel textStructures indexOf: #heading1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
utilities
leftArrowKey

^ Character arrowLeft
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
utilities
middleTextOffset

^ 8
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
utilities
moveCaret

"ensures that the position of the caret changed"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
utilities
moveCaretMulipleTimesLeft: aNumber

self enterCharacter: self leftArrowKey times: aNumber
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
utilities
moveCaretMulipleTimesRight: aNumber

self enterCharacter: self leftArrowKey times: aNumber
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
utilities
moveCaretToBeginningOfOtherText

self
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
utilities
moveCaretToBeginningOfText

self
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
utilities
moveCaretToEndOfText

self
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
utilities
moveCaretToMidOfText

self
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
utilities
otherText

^ 'This is other Text.'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
utilities
rightArrowKey

^ Character arrowRight
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
setup and teardown
setUp

super setUp.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
utilities
standardText

^ 'This is standard Text. '
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
testing
testUS49ApplySelectedStructureWithoutASelectionToNextTextBeginning

"when the caret is in the middle."
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
testing
testUS49ApplySelectedStructureWithoutASelectionToNextTextEnd

"when the caret is in the middle."
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
testing
testUS49ApplySelectedStructureWithoutASelectionToNextTextMiddle

"when the caret is in the middle."
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
testing
testUS49NoStructureApplyWhenCaretMovedBeginning

"when the caret is in the middle."
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
testing
testUS49NoStructureApplyWhenCaretMovedEnd

"when the caret is in the middle."
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
testing
testUS49NoStructureApplyWhenCaretMovedMid

"when the caret is in the middle."
Expand Down

0 comments on commit da6a92d

Please sign in to comment.