Created
May 11, 2025 10:11
-
-
Save iriyak/b8a6ed150bb57a905369b59f4c515811 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
keyword := 'phlow'. | |
databases := LeDatabasesRegistry uniqueInstance defaultLogicalDatabase databases. | |
found := OrderedCollection new. | |
databases | |
do: [ :database | | |
| asyncPages | | |
asyncPages := database asyncPagesForWord: keyword. | |
(asyncPages asyncSimilarCopy | |
do: [ :page | found add: page -> database databaseName ]) wait ]. | |
aPager := GtPager new matchParent. | |
found | |
do: [ :assoc | | |
| pageStencil | | |
pageStencil := GtSceneryLepiterPageStencil new | |
pageName: assoc key type title; | |
databaseName: assoc value. | |
aPager addWrapped: pageStencil create matchParent ]. | |
aPager scrollToLast. | |
BlSpace new | |
rootDo: [ :r | r addChild: aPager ]; | |
withSceneDriller; | |
title: 'Matched Pages in LeDatabases - ' , keyword; | |
position: 0 @ 0; | |
extent: 1920 @ 1080; | |
show |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment