-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
212 changed files
with
659 additions
and
579 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
packages/RichTextEditing-Core.package/NullTextStructure.class/instance/add..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
adding | ||
add: aTextAttribute |
4 changes: 4 additions & 0 deletions
4
packages/RichTextEditing-Core.package/NullTextStructure.class/instance/includes..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
testing | ||
includes: aTextAttribute | ||
|
||
^ false |
2 changes: 2 additions & 0 deletions
2
packages/RichTextEditing-Core.package/NullTextStructure.class/instance/remove..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
removing | ||
remove: aTextAttribute |
4 changes: 0 additions & 4 deletions
4
packages/RichTextEditing-Core.package/NullTextStructure.class/instance/resetColor.st
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
...TextEditing-Core.package/NullTextStructure.class/instance/resetColorOfCurrentStructure.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
color | ||
resetColorOfCurrentStructure | ||
|
||
self noCurrentStructureWarning |
4 changes: 0 additions & 4 deletions
4
packages/RichTextEditing-Core.package/NullTextStructure.class/instance/resetFont.st
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
...hTextEditing-Core.package/NullTextStructure.class/instance/resetFontOfCurrentStructure.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
font | ||
resetFontOfCurrentStructure | ||
|
||
self noCurrentStructureWarning |
2 changes: 2 additions & 0 deletions
2
...ges/RichTextEditing-Core.package/NullTextStructure.class/instance/structureIdentifier..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
accessing | ||
structureIdentifier: aSymbol |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
packages/RichTextEditing-Core.package/RichTextDocument.class/class/commonStructures.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
constants | ||
commonStructures | ||
|
||
^ {} asSet |
4 changes: 0 additions & 4 deletions
4
packages/RichTextEditing-Core.package/RichTextDocument.class/class/defaultStyles.st
This file was deleted.
Oops, something went wrong.
10 changes: 5 additions & 5 deletions
10
packages/RichTextEditing-Core.package/RichTextDocument.class/class/initialBoldStructure.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
constants | ||
initial structures | ||
initialBoldStructure | ||
|
||
^ TextStructure | ||
newWith: #bold | ||
withStyles: (self defaultStyles union: {TextStructure boldStyle}) | ||
^ TextStructure | ||
new: #bold | ||
from: {TextStructure bold} |
11 changes: 5 additions & 6 deletions
11
...ges/RichTextEditing-Core.package/RichTextDocument.class/class/initialFootnoteStructure.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
constants | ||
initial structures | ||
initialFootnoteStructure | ||
|
||
^ (TextStructure | ||
newWith: #footnote | ||
withStyles: self defaultStyles) | ||
font: (StrikeFont createDejaVuDark: 9) | ||
|
||
^ TextStructure | ||
new: #footnote | ||
from: {TextStructure fontFrom: (StrikeFont createDejaVuDark: 9)} |
11 changes: 5 additions & 6 deletions
11
...ges/RichTextEditing-Core.package/RichTextDocument.class/class/initialHeading1Structure.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
constants | ||
initial structures | ||
initialHeading1Structure | ||
|
||
^ (TextStructure | ||
newWith: #heading1 | ||
withStyles: (self defaultStyles union: {TextStructure boldStyle})) | ||
font: (StrikeFont createDejaVuDark: 20) | ||
|
||
^ TextStructure | ||
new: #heading1 | ||
from: {TextStructure fontFrom: (StrikeFont createDejaVuDark: 20). TextStructure bold} |
11 changes: 5 additions & 6 deletions
11
...ges/RichTextEditing-Core.package/RichTextDocument.class/class/initialHeading2Structure.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
constants | ||
initial structures | ||
initialHeading2Structure | ||
|
||
^ (TextStructure | ||
newWith: #heading2 | ||
withStyles: (self defaultStyles union: {TextStructure boldStyle})) | ||
font: (StrikeFont createDejaVuDark: 17) | ||
|
||
^ TextStructure | ||
new: #heading2 | ||
from: {TextStructure fontFrom: (StrikeFont createDejaVuDark: 17). TextStructure bold} |
11 changes: 5 additions & 6 deletions
11
...ges/RichTextEditing-Core.package/RichTextDocument.class/class/initialHeading3Structure.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
constants | ||
initial structures | ||
initialHeading3Structure | ||
|
||
^ (TextStructure | ||
newWith: #heading3 | ||
withStyles: (self defaultStyles union: {TextStructure boldStyle})) | ||
font: (StrikeFont createDejaVuDark: 14) | ||
|
||
^ TextStructure | ||
new: #heading3 | ||
from: {TextStructure fontFrom: (StrikeFont createDejaVuDark: 14). TextStructure bold} |
6 changes: 3 additions & 3 deletions
6
packages/RichTextEditing-Core.package/RichTextDocument.class/class/initialItalicStructure.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
constants | ||
initial structures | ||
initialItalicStructure | ||
|
||
^ TextStructure | ||
newWith: #italic | ||
withStyles: (self defaultStyles union: {TextStructure italicStyle}) | ||
new: #italic | ||
from: {TextStructure italic} |
8 changes: 4 additions & 4 deletions
8
packages/RichTextEditing-Core.package/RichTextDocument.class/class/initialListStructure.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
constants | ||
initial structures | ||
initialListStructure | ||
|
||
^ TextStructure | ||
newWith: #list | ||
withStyles: (self defaultStyles union: {TextStructure indentedStyle}) | ||
new: #list | ||
from: {TextStructure indented} |
7 changes: 4 additions & 3 deletions
7
packages/RichTextEditing-Core.package/RichTextDocument.class/class/initialTextStructures.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
constants | ||
initial structures | ||
initialTextStructures | ||
|
||
^ {self initialBoldStructure. | ||
self initialItalicStructure. | ||
self initialUnderlinedStructure. | ||
self initialFootnoteStructure. | ||
self initialHeading1Structure. | ||
self initialHeading2Structure. | ||
self initialHeading3Structure. | ||
self initialListStructure} asOrderedCollection | ||
self initialFootnoteStructure. | ||
self initialListStructure. | ||
self initialURLStructure} asOrderedCollection |
6 changes: 6 additions & 0 deletions
6
packages/RichTextEditing-Core.package/RichTextDocument.class/class/initialURLStructure.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
initial structures | ||
initialURLStructure | ||
|
||
^ TextStructure | ||
new: #url | ||
from: {TextStructure autohyperlink. TextStructure underlined. TextStructure notExtendable} |
10 changes: 5 additions & 5 deletions
10
...s/RichTextEditing-Core.package/RichTextDocument.class/class/initialUnderlinedStructure.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
constants | ||
initial structures | ||
initialUnderlinedStructure | ||
|
||
^ TextStructure | ||
newWith: #underlined | ||
withStyles: (self defaultStyles union: {TextStructure underlinedStyle}) | ||
^ TextStructure | ||
new: #underlined | ||
from: {TextStructure underlined} |
3 changes: 3 additions & 0 deletions
3
...ges/RichTextEditing-Core.package/RichTextDocument.class/instance/addAttribute.from.to..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ages/RichTextEditing-Core.package/RichTextDocument.class/instance/initializeStructure..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
text structures | ||
initializeStructure: aSymbol | ||
|
||
self initializeStructure: aSymbol withEmphasis: self class defaultStyles | ||
self textStructures add: (TextStructure new: aSymbol from: self class commonStructures) |
4 changes: 0 additions & 4 deletions
4
...Editing-Core.package/RichTextDocument.class/instance/initializeStructure.withEmphasis..st
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
packages/RichTextEditing-Core.package/RichTextDocument.class/instance/removeStructure..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
text structures | ||
removeStructure: aSymbol | ||
|
||
self textStructures remove: (self symbolToStructure: aSymbol). | ||
self textStructures remove: (self textStructureAt: aSymbol). | ||
self | ||
textChanged; | ||
structuresChanged |
8 changes: 0 additions & 8 deletions
8
packages/RichTextEditing-Core.package/RichTextDocument.class/instance/stylesForStructure..st
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
packages/RichTextEditing-Core.package/RichTextDocument.class/instance/symbolToStructure..st
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
packages/RichTextEditing-Core.package/RichTextDocument.class/instance/textStructureAt..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
text structures | ||
textStructureAt: aSymbol | ||
|
||
^ self textStructures detect: [:each | each structureIdentifier = aSymbol] | ||
ifNone: [^ NullTextStructure new] |
5 changes: 0 additions & 5 deletions
5
...RichTextEditing-Core.package/RichTextDocument.class/instance/updateStyle.withEmphasis..st
This file was deleted.
Oops, something went wrong.
32 changes: 15 additions & 17 deletions
32
packages/RichTextEditing-Core.package/RichTextDocument.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,47 @@ | ||
{ | ||
"class" : { | ||
"defaultStyles" : "tok 6/8/2020 12:21", | ||
"commonStructures" : "kh 6/21/2020 17:03", | ||
"editorClass" : "ls 6/26/2019 17:33", | ||
"fromText:withStructures:" : "ls 6/26/2019 17:31", | ||
"initialBoldStructure" : "tok 6/8/2020 12:22", | ||
"initialFootnoteStructure" : "tok 6/8/2020 12:06", | ||
"initialHeading1Structure" : "tok 6/8/2020 12:22", | ||
"initialHeading2Structure" : "tok 6/8/2020 12:22", | ||
"initialHeading3Structure" : "tok 6/8/2020 12:22", | ||
"initialItalicStructure" : "tok 6/8/2020 12:22", | ||
"initialListStructure" : "tok 6/8/2020 12:22", | ||
"initialTextStructures" : "tok 5/31/2020 21:15", | ||
"initialUnderlinedStructure" : "tok 6/8/2020 12:23" }, | ||
"initialBoldStructure" : "kh 6/21/2020 16:43", | ||
"initialFootnoteStructure" : "kh 6/21/2020 16:55", | ||
"initialHeading1Structure" : "kh 6/21/2020 16:55", | ||
"initialHeading2Structure" : "kh 6/21/2020 16:55", | ||
"initialHeading3Structure" : "kh 6/21/2020 16:55", | ||
"initialItalicStructure" : "kh 6/21/2020 16:44", | ||
"initialListStructure" : "kh 6/21/2020 16:44", | ||
"initialTextStructures" : "kh 6/19/2020 12:37", | ||
"initialURLStructure" : "kh 6/19/2020 17:28", | ||
"initialUnderlinedStructure" : "kh 6/21/2020 16:44" }, | ||
"instance" : { | ||
"addAttribute:from:to:" : "AG 7/25/2019 13:08", | ||
"addAttribute:from:to:" : "kh 6/19/2020 12:35", | ||
"charcount" : "frc 5/25/2020 16:02", | ||
"charcountExcept:" : "frc 6/13/2020 11:15", | ||
"copy:" : "MB 7/3/2019 18:58", | ||
"createNewStructure:" : "ls 7/24/2019 15:24", | ||
"emptyChars" : "frc 6/1/2020 13:43", | ||
"hasStructure:forText:from:to:" : "AG 7/25/2019 13:20", | ||
"initialize" : "ls 7/24/2019 15:10", | ||
"initializeStructure:" : "ls 7/24/2019 15:13", | ||
"initializeStructure:withEmphasis:" : "tok 6/8/2020 12:06", | ||
"initializeStructure:" : "kh 6/21/2020 17:03", | ||
"initializeStructures" : "ls 7/24/2019 15:12", | ||
"isUnsavedDocument" : "OS 6/14/2020 18:19", | ||
"name" : "ls 6/26/2019 17:28", | ||
"name:" : "MB 7/3/2019 19:29", | ||
"openEditor" : "lh 7/24/2019 21:27", | ||
"openInEditor" : "ls 7/24/2019 20:14", | ||
"removeStructure:" : "ls 7/24/2019 17:28", | ||
"removeStructure:" : "kh 6/21/2020 10:03", | ||
"removeTextAttribute:from:to:" : "MB 7/24/2019 20:40", | ||
"sortRunsByPriority" : "JEH 5/20/2020 10:28", | ||
"structuresChanged" : "ls 7/24/2019 14:46", | ||
"stylesForStructure:" : "AG 7/25/2019 13:30", | ||
"symbolToStructure:" : "ls 7/24/2019 14:24", | ||
"text" : "ls 6/26/2019 17:28", | ||
"text:" : "MB 7/3/2019 19:29", | ||
"textChanged" : "ls 7/24/2019 14:41", | ||
"textRuns" : "lh 7/24/2019 17:14", | ||
"textStructureAt:" : "kh 6/19/2020 15:00", | ||
"textStructureSymbols" : "ls 7/24/2019 14:25", | ||
"textStructures" : "ls 6/26/2019 17:28", | ||
"textStructures:" : "MB 7/3/2019 19:29", | ||
"textStructuresDo:" : "ls 7/24/2019 21:29", | ||
"timeLastSaved" : "OS 6/14/2020 11:16", | ||
"timeLastSaved:" : "OS 6/15/2020 12:22", | ||
"updateStyle:withEmphasis:" : "ls 6/26/2019 22:44", | ||
"wordcount" : "frc 6/1/2020 13:46" } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
...ages/RichTextEditing-Core.package/RichTextEditorModel.class/class/toggleAutocompletion.st
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.