Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[[ DocumentFilename ]] Add documentFilename property #3044
@peter-b Totally missed that window isn't a MCPlatformWindowRef on all platforms. I guess it's only Mac because it needed refactoring for Cocoa anyway and the others are waiting for someone to have time. So I guess add updatedocumentfilename to desktop-stack and all the platform stacks...
I think I've resolved everything you have commented on in the last commit. One quirk I discovered is setRepresentedFilename chokes if you set to nil and none of the windows appear. I'm now checking for empty string before passing to the native path in case that at some point does something interesting to empty strings...