Martin Dufort on Nostr: Quick NSTextView question. What is the best way to detect if the previous line in ...
Quick NSTextView question. What is the best way to detect if the previous line in relation to the current cursor position starts with a NSTextAttachment.
Published at
2024-06-19 17:14:33Event JSON
{
"id": "96e591ba64c55f87be1f24212baf1730d159a0e5883155385e888a5fc9d94fb9",
"pubkey": "01b8c36b40907d65abbac749b10a4a1fe306d9f8358f4bfb260e5e62d20ab3f3",
"created_at": 1718817273,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.online/users/martind/statuses/112644408866039253",
"activitypub"
]
],
"content": "Quick NSTextView question. What is the best way to detect if the previous line in relation to the current cursor position starts with a NSTextAttachment.",
"sig": "f620ab583034870a336f4c1095d2b008a3b419fe01f9abb8fb73f610ea915b30561efd5d43df02d03aac1a03b3e9d0e2fe702da57e90185f4c6678b775bd825e"
}