Preliminar Lepiter imporation of Markdeep documents finished (stil pedding debugging of "opacity" nodes).
This commit is contained in:
parent
4daeb295a2
commit
167216acc8
@ -34,10 +34,10 @@ LePage >> asMarkdeepInto: aFileLocator [
|
|||||||
]
|
]
|
||||||
|
|
||||||
{ #category : #'*Grafoscopio-Utils-Core' }
|
{ #category : #'*Grafoscopio-Utils-Core' }
|
||||||
LePage >> detectSnippetWithUid: uidString [
|
LePage >> detectParentSnippetWithUid: uidString [
|
||||||
"Answer a boolean indicating whether the supplied uid is present"
|
"Answer a boolean indicating whether the supplied uid is present"
|
||||||
|
|
||||||
^ self preorderTraversal detect: [ :snippet | snippet uidString = uidString ] ifNone: [ ^ nil ]
|
^ self preorderTraversal detect: [ :snippet | snippet uidString = uidString ] ifNone: [ ^ self ]
|
||||||
]
|
]
|
||||||
|
|
||||||
{ #category : #'*Grafoscopio-Utils-Core' }
|
{ #category : #'*Grafoscopio-Utils-Core' }
|
||||||
@ -101,13 +101,13 @@ LePage >> options [
|
|||||||
|
|
||||||
{ #category : #'*Grafoscopio-Utils-Core' }
|
{ #category : #'*Grafoscopio-Utils-Core' }
|
||||||
LePage >> populateChildrenFrom: docTreeDivs [
|
LePage >> populateChildrenFrom: docTreeDivs [
|
||||||
docTreeDivs doWithIndex: [:div :i | | snippetTemp "parent surrogate" |
|
docTreeDivs doWithIndex: [:div :i | | snippetTemp parent "surrogate" |
|
||||||
snippetTemp := LeSnippet fromMetaMarkdeep:div.
|
snippetTemp := LeSnippet fromMetaMarkdeep:div.
|
||||||
"self children
|
"self children
|
||||||
addSnippet: snippet beforeIndex: i."
|
addSnippet: snippet beforeIndex: i."
|
||||||
self snippetBuilder snippet: snippetTemp; add.
|
parent := self detectParentSnippetWithUid: (snippetTemp metadata at: 'parent').
|
||||||
"surrogate := self detectSnippetWithUid: (snippetTemp metadata at: 'parent').
|
parent snippetBuilder snippet: snippetTemp; add.
|
||||||
parent := self snippetBuilder snippet: surrogate."
|
"parent := self snippetBuilder snippet: surrogate."
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user