Email or username:

Password:

Forgot your password?
Top-level
Devine Lu Linvega

Mimicking the system 7 windowing behavior for close.

41 comments
Devine Lu Linvega

@mcc what does cmd-drag does? It doesn't seem to do anything for me.

mcc replied to Devine Lu Linvega

@neauoire 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 replied to mcc

@mcc I'm not planning on implementing operating system and windowing behaviours, I'll end at the Note Pad application I think ^^;

Devine Lu Linvega

Added text input, and cursor blinking. The timing seems to be pretty close.

Rasmus Andersson

@neauoire 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”

Devine Lu Linvega replied to Rasmus

@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.

cancel replied to Devine Lu Linvega

@neauoire @rsms it does in some software. also, this might be one of the things that sometimes goes wrong in Mini vMac, but I could be misremembering.

floatvoid replied to Devine Lu Linvega

@neauoire @rsms cool exercise in observation skills. trying to recreate something as it actually is and not as you think it should be.

Devine Lu Linvega replied to Rasmus

@rsms Do you remember if there was a way of collapsing the note pad application like this in system 7?

cancel replied to Devine Lu Linvega

@neauoire @rsms install WindowShade extension. Everyone used it. It was so popular Apple put it into the OS later.

Capital

@neauoire Curious about your approach to text wrapping here. How whitespace gets handled (on modern systems) was hell in a hand basket.

Devine Lu Linvega

Proportional text selection always trips me up, I feel like each time I have to relearn how to handle mouse-picking..

Devine Lu Linvega replied to Devine Lu Linvega

Added keyboard controls, along with modifiers like shift+arrows to modify the selection length.

Devine Lu Linvega replied to Devine Lu Linvega

Starting to handle the less-fun stuff like string insertion and shifting memory around.

Devine Lu Linvega replied to Devine Lu Linvega

Back to fun things now that the textarea is pretty much done. Added copy/pasting, theme supports, and made the window collapsible.

Devine Lu Linvega replied to Devine Lu Linvega

Routing text editing to the right memory slot, there will be 8 pages of memory like the original.

Bad Diode replied to Devine Lu Linvega

@neauoire "left" looking at it's potential substitute like :angry_laugh:

Devine Lu Linvega replied to Devine Lu Linvega

There was a subtlety that eluded me, when changing pages in Note Pad, it's always the last character that is selected.

Levi Beach replied to Devine Lu Linvega

@neauoire That little UX piece is kind of genius. So cool to see this app coming together :tealheart:

Devine Lu Linvega replied to Levi

@levibeach there's lot of tiny details that one might overlook ^^

Devine Lu Linvega replied 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 replied to Devine Lu Linvega

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.

Devine Lu Linvega replied to Devine Lu Linvega

The original Note Pad was credited to Donn Denman.

mcc replied to Devine Lu Linvega

@neauoire 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?

Devine Lu Linvega replied to mcc

@mcc I've tried a couple of apps like Hypercard and THINK Pascal and they don't have that behavior.

Uli Kusterer (Not a kitteh) replied to Devine Lu Linvega

@neauoire 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).

Devine Lu Linvega replied to Uli Kusterer (Not a kitteh)

@uliwitness really? I didn't know that, that's really good to know.

cancel replied to Devine Lu Linvega

@neauoire you should imitate nisus writer or BBEdit or something for text editing behavior, not this neglected desktop accessory, haha

R. L. Dane :debian: :openbsd: replied to Devine Lu Linvega

@neauoire

There should be a keybinding in i3 to remove the window border.
I think it's $mod-u by default

Go Up