=> More informations about this toot | View the thread
I won't claim that it's simple, but it's pretty powerful, while still being fast. I'm using similar conventions to define all the other controls in Bike 2's editor.
=> More informations about this toot | View the thread
The question for Bike 2, is how to enable this sort of thing in a generic way via user stylesheet. Here's what I've come up with! These are the two rules used to style links:
=> More informations about this toot | View the thread
Here's I'm working on at the moment. In Bike Outliner links have associated that trail the link text. Like this:
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
Another clue. kind:HTML actually doesn't have much to do with it... instead it is just that any search recognized as a metadata search seems to take a different path and include the HTML file results.
For example typing this into the spotlight popup also includes .html files results:
spotlighttest OR thisdoesnotexist
=> More informations about this toot | View the thread
A clue! If I search for this in the spotlight popup then my .html files do show up as results:
kind:HTML AND "spotlighttest"
I still don't understand why HTML files are special and need the type specified. Many other formats don't need this extra specification.
=> More informations about this toot | View the thread
To reproduce:
echo spotlighttest > testone.txt
% echo spotlighttest > testtwo.html
% mdfind spotlighttest
2024-12-30 14:22:28.552 mdfind[28326:550500] [UserQueryParser] Loading keywords and predicates for locale "en_US"
2024-12-30 14:22:28.553 mdfind[28326:550500] [UserQueryParser] Loading keywords and predicates for locale "en"
~/Desktop/Spotlighttest/testone.txt
~/Desktop/Spotlighttest/testtwo.html
Now do Command-Spacebar and search for "spotlighttest". I think only testone will show.
=> More informations about this toot | View the thread
This is driving me bonkers. Why does spotlight search not include .html files, when matched by content, anymore?
I think this is a new macOS 15.x problem.
It includes them when you match file name, but not when you match content. The .html file are being indexed because they show up in mdfind
and in Finder window searches.
Just not in Command-Spacebar spotlight search.
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
If you are using TaskPaper on macOS 14 you should update to latest (14.7.1) to avoid some screen redraw bugs in the text area. I think these bugs only show up in some of the middle 14.x point releases.
=> More informations about this toot | View the thread
=> This profile without reblog | Go to jessegrosjean@mastodon.social account This content has been proxied by September (3851b).Proxy Information
text/gemini