Replymessage unavailable
the reason your current code is fked is that SendMessage with EM_REPLACESEL bruh thats old school code..
modern apps like VS Code dont actually use the standard windows text boxes.. They draw their own interfaces from scratch using web tech or custom engines.. so they don't even know what an em_replacesel message is 🫠