Improving filtering tiddlers.
This commit is contained in:
parent
a8dc7a6c11
commit
21c97c8893
@ -534,12 +534,25 @@ TiddlyWiki >> resynchronize [
|
|||||||
yourself.
|
yourself.
|
||||||
]
|
]
|
||||||
|
|
||||||
|
{ #category : #accessing }
|
||||||
|
TiddlyWiki >> selectByTagsIncludes: string [
|
||||||
|
|
||||||
|
^ (self tiddlers select: [ :tiddler | tiddler tags notNil ])
|
||||||
|
select: [ :tiddler | tiddler tags includesSubstring: string ]
|
||||||
|
]
|
||||||
|
|
||||||
{ #category : #accessing }
|
{ #category : #accessing }
|
||||||
TiddlyWiki >> selectContentType: mimeType [
|
TiddlyWiki >> selectContentType: mimeType [
|
||||||
|
|
||||||
^ self tiddlers select: [ :tiddler | tiddler type isNotNil and: [tiddler type beginsWith: mimeType ]]
|
^ self tiddlers select: [ :tiddler | tiddler type isNotNil and: [tiddler type beginsWith: mimeType ]]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
{ #category : #accessing }
|
||||||
|
TiddlyWiki >> selectTitleIncludes: string [
|
||||||
|
|
||||||
|
^ self tiddlers select: [ :tiddler | tiddler title includesSubstring: string ]
|
||||||
|
]
|
||||||
|
|
||||||
{ #category : #accessing }
|
{ #category : #accessing }
|
||||||
TiddlyWiki >> shadow [
|
TiddlyWiki >> shadow [
|
||||||
"Shadow tiddlers are tiddlers that are loaded from plugins.
|
"Shadow tiddlers are tiddlers that are loaded from plugins.
|
||||||
|
Loading…
Reference in New Issue
Block a user