-
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.
- Loading branch information
Showing
11 changed files
with
64 additions
and
3 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
Empty file.
8 changes: 8 additions & 0 deletions
8
packages/MarkdownEditor-Core.package/MarkdownHtmlExportView.class/class/openWith..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 @@ | ||
as yet unclassified | ||
openWith: aHtmlString | ||
|
||
^ self new | ||
initializeWithLabel: 'Markdown Editor - HTML Export'; | ||
initializeContentWith: aHtmlString; | ||
openInWorld; | ||
yourself |
4 changes: 4 additions & 0 deletions
4
...rkdownEditor-Core.package/MarkdownHtmlExportView.class/instance/initializeContentWith..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 | ||
initializeContentWith: aHtmlString | ||
|
||
self addMorph: (PluggableTextMorph new setText: aHtmlString) frame: (0@0 corner: 1@1). |
5 changes: 5 additions & 0 deletions
5
packages/MarkdownEditor-Core.package/MarkdownHtmlExportView.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" : { | ||
"openWith:" : "mas 6/28/2020 13:30" }, | ||
"instance" : { | ||
"initializeContentWith:" : "mas 6/28/2020 13:10" } } |
14 changes: 14 additions & 0 deletions
14
packages/MarkdownEditor-Core.package/MarkdownHtmlExportView.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-Core", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "MarkdownHtmlExportView", | ||
"pools" : [ | ||
], | ||
"super" : "SystemWindow", | ||
"type" : "normal" } |
Empty file.
12 changes: 12 additions & 0 deletions
12
...sts.package/MarkdownHtmlExportViewTest.class/instance/testCreateMarkdownHtmlExportView.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 | ||
testCreateMarkdownHtmlExportView | ||
|
||
| exportView pluggableTextMorphs | | ||
|
||
exportView := MarkdownHtmlExportView openWith: '<!DOCTYPE html><html>Some HTML</html>'. | ||
pluggableTextMorphs := exportView submorphs select: [:morph | morph isKindOf: PluggableTextMorph]. | ||
exportView abandon. | ||
|
||
self assert: pluggableTextMorphs size = 1. | ||
self assert: pluggableTextMorphs first text = '<!DOCTYPE html><html>Some HTML</html>'. | ||
|
5 changes: 5 additions & 0 deletions
5
packages/MarkdownEditor-Tests.package/MarkdownHtmlExportViewTest.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" : { | ||
"testCreateMarkdownHtmlExportView" : "mas 6/28/2020 13:34" } } |
14 changes: 14 additions & 0 deletions
14
packages/MarkdownEditor-Tests.package/MarkdownHtmlExportViewTest.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-Tests", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "MarkdownHtmlExportViewTest", | ||
"pools" : [ | ||
], | ||
"super" : "TestCase", | ||
"type" : "normal" } |