Debugging.
This commit is contained in:
parent
00112aadeb
commit
a350b58d55
@ -25,8 +25,10 @@ LeDatabase >> addPageFromMarkdeep: markdeepDocTree [
|
|||||||
snippets do: [ :snippet | page addSnippet: snippet ].
|
snippets do: [ :snippet | page addSnippet: snippet ].
|
||||||
page children collect: [ :snippet |
|
page children collect: [ :snippet |
|
||||||
(self hasBlockUID: (snippet uid))
|
(self hasBlockUID: (snippet uid))
|
||||||
ifTrue: [ ^ self pages detect: [ :pageTemp |
|
ifTrue: [ | existingPage |
|
||||||
pageTemp includesSnippetUid: snippet uid ] ]
|
existingPage := self pages detect: [ :pageTemp |
|
||||||
|
pageTemp includesSnippetUid: snippet uid ].
|
||||||
|
^ self importErrorMessage: existingPage. ]
|
||||||
ifFalse: [
|
ifFalse: [
|
||||||
snippet database: self.
|
snippet database: self.
|
||||||
self registerSnippet: snippet ] ].
|
self registerSnippet: snippet ] ].
|
||||||
|
Loading…
Reference in New Issue
Block a user