@cancel wait, should I have used bitmasks for this? I'm just doing if x and y are more than half the height/width of the selection, then pick the other.
Nah that's fine. If it gets more fancy, you might consider it, though. Since it lets you adjust the graphics and hit zones really precisely without having to write custom logic each time. And the size of a small bitmask is often smaller than the bytes of code needed to do a custom hit test.
loving how it's shaping up. Makes a good friend to Decker, a modern reimagination of Hypercard, which looks very similar! I want to see more Macintosh software reimagined like that. I wonder what is the next good candidate.
Found some screenshots where people have the NewYork12 font in their Note Pad application instead. I'm not sure why that's different from the one I have, but I much prefer NewYork12 to mine.
in every Mac OS 6 (or before?) to current, if you hold command (Apple) and drag a window which is *backgrounded*, the window will move without being foregrounded.
Other hidden operations which are related but not relevant to Notepad: Holding option and clicking close closes all windows in the current application; holding cmd and clicking the title bar title shows the path the file is at (if the window represent a file).
lovely! I think you’ll want to reset the blink timer on user input (and when cursor moves for any reason) so that it is always visible when “syncing your brain to the screen”
@rsms I did after I recorded the last clip, but I noticed that the macintosh doesn't do it, the cursor keeps showing up briefly while I type at intervals.
That's one behavior that I will NOT replicate, perhaps it was a mistake on Apple's part, but I know it'll annoy me if the cursor shifts each time I go from a block selection to a position.
that's an interesting detail. If you run simpletext (or teachtext if the OS is too old for simpletext) does the selection behavior replicate the oddity?
That's how macOS X still behaves today. I think it's more a Windows thing to behave differently (Not 100% sure which way Linux leans, I'd guess it imitates Windows like in most UI things).
Interesting, I never realized classic MacOS did that. Happens all the way from TeachText in System 6 to SimpleText on MacOS 9.
But MacOS X behaves differently there (as you expected and I expect today), I was wrong.
However, CodeWarrior doesn't. So it could be that WASTE behaved differently and that's why most apps didn't have that issue, because they didn't use the TextEdit Manager.
That's one behavior that I will NOT replicate, perhaps it was a mistake on Apple's part, but I know it'll annoy me if the cursor shifts each time I go from a block selection to a position.
Not sure how you're doing that, but I once did a diagonal collision check like that using the sum of x and y like if(x+y < 10) and I thought that's so neat.
Devine Lu Linvega
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Devine Lu Linvega • • •Tim Bray
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Devine Lu Linvega • • •cancel
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to cancel • • •cancel
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to cancel • • •bouncepaw 🍄
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to bouncepaw 🍄 • • •bouncepaw 🍄
in reply to Devine Lu Linvega • • •bouncepaw 🍄
in reply to bouncepaw 🍄 • • •Devine Lu Linvega
in reply to bouncepaw 🍄 • • •David JONES
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to David JONES • • •@drj
Rss:https://100r.co/site/home.html
Newsletter: https://tinyletter.com/hundredrabbits
100R — home
100r.coDavid JONES
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to David JONES • • •Devine Lu Linvega
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Devine Lu Linvega • • •mcc
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to mcc • • •mcc
in reply to Devine Lu Linvega • • •in every Mac OS 6 (or before?) to current, if you hold command (Apple) and drag a window which is *backgrounded*, the window will move without being foregrounded.
Other hidden operations which are related but not relevant to Notepad: Holding option and clicking close closes all windows in the current application; holding cmd and clicking the title bar title shows the path the file is at (if the window represent a file).
Devine Lu Linvega
in reply to mcc • • •Devine Lu Linvega
in reply to Devine Lu Linvega • • •Rasmus Andersson
in reply to Devine Lu Linvega • • •I think you’ll want to reset the blink timer on user input (and when cursor moves for any reason) so that it is always visible when “syncing your brain to the screen”
Devine Lu Linvega
in reply to Rasmus Andersson • • •cancel
in reply to Devine Lu Linvega • • •floatvoid
in reply to Devine Lu Linvega • • •Rasmus Andersson
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Rasmus Andersson • • •Rasmus Andersson
in reply to Devine Lu Linvega • • •Rasmus Andersson
in reply to Rasmus Andersson • • •Devine Lu Linvega
in reply to Rasmus Andersson • • •Rasmus Andersson
in reply to Devine Lu Linvega • • •Rasmus Andersson
in reply to Rasmus Andersson • • •Devine Lu Linvega
in reply to Rasmus Andersson • • •cancel
in reply to Devine Lu Linvega • • •Rasmus Andersson
in reply to Devine Lu Linvega • • •cancel
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to cancel • • •Capital
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Capital • • •https://git.sr.ht/~rabbits/uxn-utils/tree/main/item/gui/notepad/notepad.tal#L246
~rabbits/uxn-utils: gui/notepad/notepad.tal - sourcehut git
git.sr.htAvi Bryant
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Devine Lu Linvega • • •Bad Diode
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Bad Diode • • •Paolo Redaelli
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Devine Lu Linvega • • •Levi Beach
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Levi Beach • • •Devine Lu Linvega
in reply to Devine Lu Linvega • • •Usually in text editors, during a block selection, moving first deselects the block, and moves the cursor to the end, or keeps it in place.
I guess back during Macintosh era, that behaviour was not standardized and moving left after a block selection would move the cursor.
Devine Lu Linvega
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Devine Lu Linvega • • •mcc
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to mcc • • •Uli Kusterer (Not a kitteh)
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Uli Kusterer (Not a kitteh) • • •Uli Kusterer (Not a kitteh)
in reply to Uli Kusterer (Not a kitteh) • • •Devine Lu Linvega
in reply to Uli Kusterer (Not a kitteh) • • •Uli Kusterer (Not a kitteh)
in reply to Devine Lu Linvega • • •Interesting, I never realized classic MacOS did that. Happens all the way from TeachText in System 6 to SimpleText on MacOS 9.
But MacOS X behaves differently there (as you expected and I expect today), I was wrong.
However, CodeWarrior doesn't. So it could be that WASTE behaved differently and that's why most apps didn't have that issue, because they didn't use the TextEdit Manager.
cancel
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to cancel • • •@cancel yeah that's what I did hehe
https://merveilles.town/@neauoire/110271727070127134
Devine Lu Linvega
2023-04-27 16:30:22
R. L. Dane :debian: :openbsd:
in reply to Devine Lu Linvega • • •I think it's $mod-u by default
Devine Lu Linvega
in reply to R. L. Dane :debian: :openbsd: • • •R. L. Dane :debian: :openbsd:
in reply to Devine Lu Linvega • • •m04
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to m04 • • •@m04 the editor is called Left.
http://wiki.xxiivv.com/site/left.html
The language is called Uxntal.
https://wiki.xxiivv.com/site/uxntal.html
XXIIVV — left
wiki.xxiivv.comabortretryfail
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to abortretryfail • • •Felix Urbasik
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Felix Urbasik • • •Tagomago
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Tagomago • • •Tagomago
in reply to Devine Lu Linvega • • •berry
in reply to Devine Lu Linvega • • •Tendigits
in reply to Devine Lu Linvega • • •Devine Lu Linvega
Unknown parent • • •~rabbits/uxn: projects/fonts/ - sourcehut git
git.sr.htDevine Lu Linvega
Unknown parent • • •Devine Lu Linvega
Unknown parent • • •Oh, that's an easy one to add, but I can't seem to be able to do with in Note Pad application, was that added later than system 7?
What's the interaction like, could you make me a video?
Devine Lu Linvega
Unknown parent • • •Devine Lu Linvega
Unknown parent • • •Devine Lu Linvega
Unknown parent • • •Devine Lu Linvega
Unknown parent • • •