-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Marie Fischer <zoe23@online.de>
- Loading branch information
1 parent
a30b81e
commit d3d70ba
Showing
285 changed files
with
1,768 additions
and
84 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"noMethodMetaData" : true, | ||
"separateMethodMetaAndSource" : false, | ||
"useCypressPropertiesFile" : true } |
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 @@ | ||
SquotTrackedObjectMetadata { | ||
#objectClassName : #PackageInfo, | ||
#objectsReplacedByNames : true, | ||
#serializer : #SquotCypressCodeSerializer | ||
} |
Empty file.
6 changes: 6 additions & 0 deletions
6
MarkdownEditor-Parsing.package/MarkdownATXHeading2.class/class/newFrom..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 @@ | ||
as yet unclassified | ||
newFrom: aString | ||
|
||
^ ((self newWithOutClosingTagFrom: aString) | ||
ifNil: [self newWithClosingTagFrom: aString]) | ||
|
12 changes: 12 additions & 0 deletions
12
MarkdownEditor-Parsing.package/MarkdownATXHeading2.class/class/newWithClosingTagFrom..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,12 @@ | ||
as yet unclassified | ||
newWithClosingTagFrom: aString | ||
|
||
| matcher | | ||
matcher := RxMatcher forString: '\s{0,3}(#{1,6})(\s+(.*\S)\s+#+\s*|[#\s]*)'. | ||
(matcher matches: aString) | ||
ifTrue: [^self new | ||
level: ((matcher subexpressions: 2) first size); | ||
content: (StringUtil unescape: {$#} in: ((matcher subexpressions: 4) at: 1 ifAbsent: [''])); | ||
isOpen: false; | ||
yourself]. | ||
^ nil |
14 changes: 14 additions & 0 deletions
14
MarkdownEditor-Parsing.package/MarkdownATXHeading2.class/class/newWithOutClosingTagFrom..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,14 @@ | ||
as yet unclassified | ||
newWithOutClosingTagFrom: aString | ||
|
||
| matcher | | ||
matcher := RxMatcher forString: '\s{0,3}(#{1,6})\s+(.*[^#\s])\s*'. | ||
(matcher matches: aString) ifFalse: | ||
[matcher := RxMatcher forString: '\s{0,3}(#{1,6})\s+((\s*#*[^#\s]#*)*)\s*']. | ||
(matcher matches: aString) | ||
ifTrue: [^ self new | ||
level: ((matcher subexpressions: 2) first size); | ||
content: (StringUtil unescape: {$#} in: ((matcher subexpressions: 3) at: 1 ifAbsent: [''])); | ||
isOpen: false; | ||
yourself]. | ||
^ nil |
4 changes: 4 additions & 0 deletions
4
MarkdownEditor-Parsing.package/MarkdownATXHeading2.class/instance/applyOnLine..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 @@ | ||
as yet unclassified | ||
applyOnLine: aString | ||
|
||
^ nil |
3 changes: 3 additions & 0 deletions
3
MarkdownEditor-Parsing.package/MarkdownATXHeading2.class/instance/level..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,3 @@ | ||
accessing | ||
level: anObject | ||
level := anObject |
3 changes: 3 additions & 0 deletions
3
MarkdownEditor-Parsing.package/MarkdownATXHeading2.class/instance/level.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,3 @@ | ||
accessing | ||
level | ||
^ level |
9 changes: 9 additions & 0 deletions
9
MarkdownEditor-Parsing.package/MarkdownATXHeading2.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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"class" : { | ||
"newFrom:" : "C.H. 6/14/2021 15:13", | ||
"newWithClosingTagFrom:" : "C.H. 6/14/2021 15:14", | ||
"newWithOutClosingTagFrom:" : "C.H. 6/14/2021 17:09" }, | ||
"instance" : { | ||
"applyOnLine:" : "C.H. 6/11/2021 11:57", | ||
"level" : "C.H. 6/5/2021 11:23", | ||
"level:" : "C.H. 6/5/2021 11:23" } } |
14 changes: 14 additions & 0 deletions
14
MarkdownEditor-Parsing.package/MarkdownATXHeading2.class/properties.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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"category" : "MarkdownEditor-Parsing", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
"level" ], | ||
"name" : "MarkdownATXHeading2", | ||
"pools" : [ | ||
], | ||
"super" : "MarkdownLeafBlock", | ||
"type" : "normal" } |
Empty file.
11 changes: 11 additions & 0 deletions
11
MarkdownEditor-Parsing.package/MarkdownBlankLine2.class/class/newFrom..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,11 @@ | ||
as yet unclassified | ||
newFrom: aString | ||
|
||
| matcher | | ||
matcher := RxMatcher forString: '\s*'. | ||
(matcher matches: aString) | ||
ifTrue: [^self new | ||
content: ''; | ||
isOpen: false; | ||
yourself]. | ||
^ nil |
4 changes: 4 additions & 0 deletions
4
MarkdownEditor-Parsing.package/MarkdownBlankLine2.class/instance/applyOnLine..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 @@ | ||
as yet unclassified | ||
applyOnLine: aString | ||
|
||
^ nil |
5 changes: 5 additions & 0 deletions
5
MarkdownEditor-Parsing.package/MarkdownBlankLine2.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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"class" : { | ||
"newFrom:" : "C.H. 6/14/2021 17:35" }, | ||
"instance" : { | ||
"applyOnLine:" : "C.H. 6/14/2021 17:20" } } |
14 changes: 14 additions & 0 deletions
14
MarkdownEditor-Parsing.package/MarkdownBlankLine2.class/properties.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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"category" : "MarkdownEditor-Parsing", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "MarkdownBlankLine2", | ||
"pools" : [ | ||
], | ||
"super" : "MarkdownLeafBlock", | ||
"type" : "normal" } |
Empty file.
4 changes: 4 additions & 0 deletions
4
MarkdownEditor-Parsing.package/MarkdownBlock2.class/class/newFrom..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 @@ | ||
as yet unclassified | ||
newFrom: aString | ||
|
||
^self subclassResponsibility |
4 changes: 4 additions & 0 deletions
4
MarkdownEditor-Parsing.package/MarkdownBlock2.class/class/startsWith..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 @@ | ||
as yet unclassified | ||
startsWith: aString | ||
|
||
^ self subclassResponsibility |
4 changes: 4 additions & 0 deletions
4
MarkdownEditor-Parsing.package/MarkdownBlock2.class/instance/applyOnLine..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 @@ | ||
nil | ||
applyOnLine: aMakdownLine | ||
|
||
^self subclassResponsibility |
4 changes: 4 additions & 0 deletions
4
MarkdownEditor-Parsing.package/MarkdownBlock2.class/instance/asString.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 @@ | ||
accessing | ||
asString | ||
|
||
^ self asStringWithIndent: '' |
4 changes: 4 additions & 0 deletions
4
MarkdownEditor-Parsing.package/MarkdownBlock2.class/instance/close.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 @@ | ||
accessing | ||
close | ||
|
||
^ self subclassResponsibility |
4 changes: 4 additions & 0 deletions
4
MarkdownEditor-Parsing.package/MarkdownBlock2.class/instance/initialize.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 @@ | ||
initialisation | ||
initialize | ||
|
||
self isOpen: true. |
3 changes: 3 additions & 0 deletions
3
MarkdownEditor-Parsing.package/MarkdownBlock2.class/instance/isOpen..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,3 @@ | ||
accessing | ||
isOpen: anObject | ||
isOpen := anObject |
3 changes: 3 additions & 0 deletions
3
MarkdownEditor-Parsing.package/MarkdownBlock2.class/instance/isOpen.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,3 @@ | ||
accessing | ||
isOpen | ||
^ isOpen |
11 changes: 11 additions & 0 deletions
11
MarkdownEditor-Parsing.package/MarkdownBlock2.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"class" : { | ||
"newFrom:" : "C.H. 6/3/2021 16:41", | ||
"startsWith:" : "C.H. 6/3/2021 16:36" }, | ||
"instance" : { | ||
"applyOnLine:" : "C.H. 6/5/2021 11:12", | ||
"asString" : "C.H. 6/14/2021 16:33", | ||
"close" : "LL 6/15/2021 10:45", | ||
"initialize" : "C.H. 6/6/2021 11:11", | ||
"isOpen" : "C.H. 6/5/2021 11:14", | ||
"isOpen:" : "C.H. 6/5/2021 11:14" } } |
14 changes: 14 additions & 0 deletions
14
MarkdownEditor-Parsing.package/MarkdownBlock2.class/properties.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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"category" : "MarkdownEditor-Parsing", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
"isOpen" ], | ||
"name" : "MarkdownBlock2", | ||
"pools" : [ | ||
], | ||
"super" : "Object", | ||
"type" : "normal" } |
Empty file.
10 changes: 10 additions & 0 deletions
10
MarkdownEditor-Parsing.package/MarkdownBlockquote2.class/class/newFrom..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,10 @@ | ||
as yet unclassified | ||
newFrom: aString | ||
|
||
| matcher | | ||
matcher := RxMatcher forString: '\s{0,3}>\s?(.*)'. | ||
(matcher matches: aString) | ||
ifTrue: [^self new | ||
innerLine: ((matcher subexpressions: 2) first); | ||
yourself]. | ||
^ nil |
9 changes: 9 additions & 0 deletions
9
MarkdownEditor-Parsing.package/MarkdownBlockquote2.class/instance/applyOnLine..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,9 @@ | ||
as yet unclassified | ||
applyOnLine: aString | ||
|
||
"should also remain open if the line is a simple paragraph" | ||
| matcher | | ||
matcher := RxMatcher forString: '\s{0,3}>\s?(.*)'. | ||
(matcher matches: aString) | ||
ifTrue: [^(matcher subexpressions: 2) first]. | ||
^ nil |
5 changes: 5 additions & 0 deletions
5
MarkdownEditor-Parsing.package/MarkdownBlockquote2.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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"class" : { | ||
"newFrom:" : "LL 6/7/2021 18:15" }, | ||
"instance" : { | ||
"applyOnLine:" : "LL 6/7/2021 18:30" } } |
14 changes: 14 additions & 0 deletions
14
MarkdownEditor-Parsing.package/MarkdownBlockquote2.class/properties.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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"category" : "MarkdownEditor-Parsing", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "MarkdownBlockquote2", | ||
"pools" : [ | ||
], | ||
"super" : "MarkdownContainerBlock", | ||
"type" : "normal" } |
Empty file.
5 changes: 5 additions & 0 deletions
5
MarkdownEditor-Parsing.package/MarkdownBold2.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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"class" : { | ||
}, | ||
"instance" : { | ||
} } |
14 changes: 14 additions & 0 deletions
14
MarkdownEditor-Parsing.package/MarkdownBold2.class/properties.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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"category" : "MarkdownEditor-Parsing", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "MarkdownBold2", | ||
"pools" : [ | ||
], | ||
"super" : "MarkdownEmphasis2", | ||
"type" : "normal" } |
Empty file.
7 changes: 7 additions & 0 deletions
7
MarkdownEditor-Parsing.package/MarkdownContainerBlock.class/instance/asStringWithIndent..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,7 @@ | ||
accessing | ||
asStringWithIndent: aString | ||
|
||
^ (self children | ||
inject: (aString, 'a', self class, ' with subelements: ', Character cr, aString, '{ ', Character cr) | ||
into: [:text :child | text, (child asStringWithIndent: aString, ' '), ',', Character cr]) | ||
,aString, '}' |
3 changes: 3 additions & 0 deletions
3
MarkdownEditor-Parsing.package/MarkdownContainerBlock.class/instance/children..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,3 @@ | ||
accessing | ||
children: anObject | ||
children := anObject |
3 changes: 3 additions & 0 deletions
3
MarkdownEditor-Parsing.package/MarkdownContainerBlock.class/instance/children.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,3 @@ | ||
accessing | ||
children | ||
^ children |
5 changes: 5 additions & 0 deletions
5
MarkdownEditor-Parsing.package/MarkdownContainerBlock.class/instance/close.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 @@ | ||
accessing | ||
close | ||
|
||
self isOpen: false. | ||
self children do: [:child | child close]. |
5 changes: 5 additions & 0 deletions
5
MarkdownEditor-Parsing.package/MarkdownContainerBlock.class/instance/initialize.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 @@ | ||
accessing | ||
initialize | ||
|
||
super initialize. | ||
self children: OrderedCollection new. |
3 changes: 3 additions & 0 deletions
3
MarkdownEditor-Parsing.package/MarkdownContainerBlock.class/instance/innerLine..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,3 @@ | ||
accessing | ||
innerLine: anObject | ||
innerLine := anObject |
3 changes: 3 additions & 0 deletions
3
MarkdownEditor-Parsing.package/MarkdownContainerBlock.class/instance/innerLine.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,3 @@ | ||
accessing | ||
innerLine | ||
^ innerLine |
11 changes: 11 additions & 0 deletions
11
MarkdownEditor-Parsing.package/MarkdownContainerBlock.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"class" : { | ||
}, | ||
"instance" : { | ||
"asStringWithIndent:" : "C.H. 6/14/2021 16:32", | ||
"children" : "C.H. 5/31/2021 11:51", | ||
"children:" : "C.H. 5/31/2021 11:51", | ||
"close" : "C.H. 6/12/2021 17:13", | ||
"initialize" : "jh 6/8/2021 08:58", | ||
"innerLine" : "LL 6/7/2021 18:15", | ||
"innerLine:" : "LL 6/7/2021 18:15" } } |
15 changes: 15 additions & 0 deletions
15
MarkdownEditor-Parsing.package/MarkdownContainerBlock.class/properties.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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"category" : "MarkdownEditor-Parsing", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
"innerLine", | ||
"children" ], | ||
"name" : "MarkdownContainerBlock", | ||
"pools" : [ | ||
], | ||
"super" : "MarkdownBlock2", | ||
"type" : "normal" } |
Empty file.
12 changes: 12 additions & 0 deletions
12
MarkdownEditor-Parsing.package/MarkdownDelimiter.class/class/newFrom..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,12 @@ | ||
creation | ||
newFrom: aString | ||
|
||
| type | | ||
type := aString second. | ||
^ self new | ||
count: (aString occurrencesOfRegex: '\',type); | ||
type: type; | ||
setOpenClosePropertyFrom: aString; | ||
beValid; | ||
yourself | ||
|
8 changes: 8 additions & 0 deletions
8
MarkdownEditor-Parsing.package/MarkdownDelimiter.class/instance/^equals.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,8 @@ | ||
helpers | ||
= anotherDelimiter | ||
|
||
^ (self type = anotherDelimiter type) | ||
and: [self count = anotherDelimiter count] | ||
and: [self isPotentialOpener = anotherDelimiter isPotentialOpener] | ||
and: [self isPotentialCloser = anotherDelimiter isPotentialCloser] | ||
and: [self index = anotherDelimiter index] |
8 changes: 8 additions & 0 deletions
8
MarkdownEditor-Parsing.package/MarkdownDelimiter.class/instance/asMarkdownString.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,8 @@ | ||
helpers | ||
asMarkdownString | ||
|
||
| content | | ||
content := ''. | ||
self count | ||
timesRepeat: [content := content , self type asString]. | ||
^ MarkdownString2 newFrom: content |
4 changes: 4 additions & 0 deletions
4
MarkdownEditor-Parsing.package/MarkdownDelimiter.class/instance/beNotPotentialCloser.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 @@ | ||
accessing | ||
beNotPotentialCloser | ||
|
||
potentialCloser := false |
4 changes: 4 additions & 0 deletions
4
MarkdownEditor-Parsing.package/MarkdownDelimiter.class/instance/bePotentialCloser.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 @@ | ||
accessing | ||
bePotentialCloser | ||
|
||
potentialCloser := true |
4 changes: 4 additions & 0 deletions
4
MarkdownEditor-Parsing.package/MarkdownDelimiter.class/instance/bePotentialOpener.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 @@ | ||
accessing | ||
bePotentialOpener | ||
|
||
potentialOpener := true |
Oops, something went wrong.