Frens! As you may remember, I am working on a text editor from scratch in D and Raylib. I recently implemented text buffer and isolated the rendering logic. I also implemented proper insertion, cursor movements, selection (with multiple selections already baked in and soon to be implemented too). Please don't forget to like and subscribe tank you very much.
Anonymous
7/19/2025, 2:25:34 AM
No.105952104
>>105952122
>>105952088 (OP)
baseD
now implement multi-cursor
Anonymous
7/19/2025, 2:29:08 AM
No.105952122
>>105952148
>>105952289
>>105952104
I modt definitely am implementing multiple selection (in fact about 80% of that os already coded in), but I never found multiple coursors particularly useful. Always seemed a fancy parlor trick more like.
Anonymous
7/19/2025, 2:34:45 AM
No.105952148
>>105952170
>>105952122
they're quite useful sometimes when you just need to make small multi-line changes that would be more keybinds in equivalent vim/multi-modal editing.
What's the next big feature you're working on though?
Anonymous
7/19/2025, 2:39:53 AM
No.105952170
>>105952148
Basically, it will be a lot of refactoring for the next week. I have a very clean, readable and well isolated code. But some files are getting too large and difficult fo reason about. Before I move on, I need to do some housekeeping. But then I'm thinking I'd like to tackle basic code highliting. Or maybe proper scrolling and window resize (which won't be too difficult as, again, the groundwork has been laid).
Anonymous
7/19/2025, 2:39:53 AM
No.105952171
Will I loose my virginity with this?
Anonymous
7/19/2025, 2:44:13 AM
No.105952195
I want a decent D IDE on Windows.
And no, I'm not going to use Visual Studio.
Anonymous
7/19/2025, 2:44:29 AM
No.105952197
>>105952226
Forgot to show selection properly
Anonymous
7/19/2025, 2:48:54 AM
No.105952224
>>105952243
>>105952088 (OP)
Congrats anon
Have you implemented opening a file, than save the modified text to that file?
That would make your editor already usable
Anonymous
7/19/2025, 2:49:03 AM
No.105952226
>>105952267
>>105952197
So will this resemble Micro?
Anonymous
7/19/2025, 2:50:44 AM
No.105952242
>>105952290
>>105952396
Grok can do the same thing in 2 hours
Anonymous
7/19/2025, 2:50:50 AM
No.105952243
>>105952224
Not really, not yet. I think it's fine that it's useless for a while, I'm much more interested in clean design and making codebase easy to work with. Opening a file can probably wait.
Anonymous
7/19/2025, 2:51:21 AM
No.105952248
>>105952157
All projects are useless until they're not
Anonymous
7/19/2025, 2:54:20 AM
No.105952267
>>105952226
Asked chatgpt, it says no
Anonymous
7/19/2025, 2:56:28 AM
No.105952289
>>105952319
>>105952122
I use it frequently, like in this video. Sometimes I have hundreds of lines that I have to manipulate like this and it's more efficient to do it with multi-line editing. I copy text from a protocol specification and copy it to my code and make it work.
Anonymous
7/19/2025, 2:56:29 AM
No.105952290
>>105952242
Maybe, but can it do the same and keep on adding features and have clean design? This isn't to compete with AI bloat, this is to enjoy the process and learn new things and it's the first thing I'm actually enjoying coding in years.
Anonymous
7/19/2025, 2:59:23 AM
No.105952319
>>105952289
Yeah, that looks nice, I guess I should implement it at some point.
Anonymous
7/19/2025, 3:08:40 AM
No.105952396
>>105952242
Perhaps but grok uses its own hitler_x64 compiler and thats not good
>>105952088 (OP)
great work anon. also, i only see C# and some C++ people start function names with a capital letter. what's the appeal? i've seen the same thing in the serious engine source code as well
Anonymous
7/19/2025, 3:15:41 AM
No.105952448
>>105952415
Yeah, so I've been writing Go for a while and kind of warmed to the concept of private methods starting with a lowercase letter and public ones with an uppercase. What I do in D is, I technically have them all as public methods, but it helps seeing the overall design and intent if you name them that way, while also making it easy to unittest both directly.
Anonymous
7/19/2025, 3:21:54 AM
No.105952483
>>105952523
>>105952415
Because some zoomies like to capitalize the start of every word like they do in youtube videos its a habit.
Anonymous
7/19/2025, 3:26:20 AM
No.105952523
>>105952483
just looked into it and supposedly it comes from turbo pascal and delphi since the creator or delphi made C# as well. i don't know where some of the C++ people got it from. maybe people who switched from delphi to C++
Anonymous
7/19/2025, 3:59:45 AM
No.105952724
>>105952738
>>105954670
Btw, so I've been using paid ChatGPT to help me work on this - not vibecode, but more like consult, debug, ask for ideas about design and implementation and overall feedback... and I gotta tell you... This chatgpt bullshit is like drugs, it really helps with dopamine and I feel productive and not alone. It werks, I never thought I'd say this, but it werks.
Anonymous
7/19/2025, 4:02:15 AM
No.105952738
>>105952754
>>105952724
You are not the op right?
Anonymous
7/19/2025, 4:05:50 AM
No.105952754
>>105953017
>>105952738
I am the OP, yeah. Was that wrong? Should I renounce ChatGPT? I barely got to know him.
Anonymous
7/19/2025, 4:26:00 AM
No.105952862
What do you guys think I should do with the code? open source it? I mean there's no way anyone's paying for an editor in 2020s, so I doubt I can make anything out of it. I wonder how long can I keep going like that though. Maybe long, like who cares, it's interesting. But even getting someone to use anything for free thes days is difficult, so I don't know. People don't seem to care about text editors and if they do, most will refuse to try a modal one. Anyway, just thoughts. I didn't start this with any kind of expectations, so it's alright.
Anonymous
7/19/2025, 4:49:39 AM
No.105953017
>>105953078
>>105952754
You should renounce it... and switch to the superior Claude.
Anonymous
7/19/2025, 4:57:08 AM
No.105953078
>>105953017
I am considering trying Claude, but people say it prints more code than fed prints money. And that it's not very good at rembering things. My current workflow with ChatGPT is that I uploaded a snapshot of the repo and then feed it commit diffs which it tells me it applies to the original snapshot internally in its memory I think it works well, it can reason about my code, gives me ideas, debugs it pretty well and pretty much knows its way around it. Oh, and reviews each commit nicely and according to my guidelines, which helped me catch quite a few edge case bugs I didn't even know existed.
Anonymous
7/19/2025, 6:32:50 AM
No.105953651
>>105955813
>>105952415
I write my C++ in snake_case. I don't understand the obsession with PascalCase. makes things harder to read in my opinion
Anonymous
7/19/2025, 10:06:18 AM
No.105954670
>>105956243
>>105952724
You should try gooncoding
Anonymous
7/19/2025, 1:31:52 PM
No.105955813
>>105953651
CamelCase is readable is if you have 2-3 words (which you should). I use snake snakr for getters/setters or methods that return values as if they werr getters and don't have side effects. That helps a lot with navigating code and reasoning about it.
Anonymous
7/19/2025, 2:32:37 PM
No.105956243
>>105954670
Is it related to trooncoding?