-
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
4 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
packages/SqueakInboxTalk.package/TalkInboxBrowserAnnouncement.class/instance/previewMatch.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 @@ | ||
searching - conversation | ||
previewMatch | ||
|
||
^ TalkTextSearcher | ||
pseudoMatchFor: self text | ||
from: self | ||
label: nil |
8 changes: 8 additions & 0 deletions
8
...ueakInboxTalk.package/TalkInboxBrowserAnnouncement.class/instance/searchableProperties.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 @@ | ||
accessing - conversation | ||
searchableProperties | ||
|
||
^ OrderedDictionary new | ||
at: 'From' put: #author; | ||
at: 'Date' put: #date; | ||
at: 'Subject' put: #subject; | ||
yourself |
8 changes: 8 additions & 0 deletions
8
...InboxTalk.package/TalkInboxBrowserAnnouncement.class/instance/visitBySearcher.context..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 @@ | ||
accessing - conversation | ||
visitBySearcher: aTextSearcher context: searchContext | ||
|
||
self searchableProperties keysAndValuesDo: [:label :block | | propertyValue | | ||
propertyValue := (block value: self) asString. | ||
aTextSearcher visit: self label: label contents: propertyValue context: searchContext]. | ||
|
||
aTextSearcher visit: self contents: (self perform: aTextSearcher messageTextSelector) context: searchContext. |
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