I've got an idea how to solve the OS X problem with the code editor.
What about adding a special shortcut for OS X users which acts like the delete key?
After heavialy working a few hours with the new editor, here are some suggestions / feature requests from my side:
The sharing feature is nice, but it needs some more features to be of use:
The permission system seems to work so far, but everytime I hit "Upload package" for my new framework (Alteran Framework) I am developing, all the files loose their permission and I have to set every file to "public access" seperatly, which can be quite annoying if you have a lot of files.
A feature where you can define permissions per folder would be nice
Should be able to define a whitelist of users that can also write to some defined files.
Also the "Download Package" seems to be a bit buggy. Josh could not download my framework (try it by doing "Download package" on the file "testFramework.txt" in my share folder)
When I am selecting text by holding the left mouse button and move the mouse outside of the editor and release the button there, the editor does not register the "Mouse_Up" event, which causes strange selection issues.
I had a case where the "Upload package" command always errored with "One or more included files could not be found" or something. It took me around 30 minutes to figure out that this is because I was building some require calls dynamically
The permission system seems to work so far, but everytime I hit "Upload package" for my new framework (Alteran Framework) I am developing, all the files loose their permission and I have to set every file to "public access" seperatly, which can be quite annoying if you have a lot of files.
I can change that. Partly because originally it was going to ask you for permissions before you uploaded and I never removed the permission setting from the upload code after ditching the idea.
(24-03-2014, 08:25 AM)Cobra Wrote:
A feature where you can define permissions per folder would be nice
Should be able to define a whitelist of users that can also write to some defined files.
These are possible, but will need some more UI work (which takes time).
(24-03-2014, 08:25 AM)Cobra Wrote:
Also the "Download Package" seems to be a bit buggy. Josh could not download my framework (try it by doing "Download package" on the file "testFramework.txt" in my share folder)
I'm fairly confident it's not a bug. Probably one or more includes did not have their permissions set to allow him to download it. Edit: Nevermind, I see why. It was not creating folders for the files it downloaded, should be fixed on next load.
(24-03-2014, 08:25 AM)Cobra Wrote:
When I am selecting text by holding the left mouse button and move the mouse outside of the editor and release the button there, the editor does not register the "Mouse_Up" event, which causes strange selection issues.
This is not fixable. It is a problem with the HTML UI element in GMod not behaving like every other element and ignoring being told to always receive mouse events. A bit annoying, but as long as you keep the mouse inside the HTML panel it won't happen. I've sort of managed to work around it for selection, but I can't do anything about the scrollbar.
(24-03-2014, 08:25 AM)Cobra Wrote:
I had a case where the "Upload package" command always errored with "One or more included files could not be found" or something. It took me around 30 minutes to figure out that this is because I was building some require calls dynamically
This is not the problem. It does not use require calls, it looks at the --@include directives only. I will see about making it tell you which file it failed for.