Open stebanos opened 10 years ago
Hi, thanks for the feedback. This is actually an issue in openFrameworks. More precisely it's probably in GLFW, linked with this issue:
https://github.com/openframeworks/openFrameworks/issues/2562
Looks like a fix is on the way, from here:
https://github.com/glfw/glfw/commit/dc987edf34f5122ce49f60977bdeb3048ea8ca09 was just merged with fixes that may address this.
There's a new release posted today.
Has this been fixed since I recompiled against the latest openFrameworks?
Also, you can now use an external editor, such as sublime text, so this might mitigate the issue?
Thank you for working on this. Unfortunately it has still the same behaviour, though.
How can I use an external editor? I don't see it in the documentation.
Yes, it's not been documented yet. But - there's now a "data" folder that exists outside of the app - it was hidden in the app bundle before. You can edit these files while Cyril is running and it will pick up any changes. So, open up "data/code/1.cy" in an editor, make changes while Cyril is running, save, and it will reload the new program. Does that make sense?
P.S. there's a separate repo for the website. I'd really appreciate any feedback on improving the documentation, you can post as issues in here: https://github.com/darrenmothersele/cyrilcode.com
I just tried to edit some of the .cy files in data/code with Sublime Text and saving them but it does not seem to work, Cyril is just showing a blank window.
Are you definitely running the code? In Cyril you need to hit Cmd+R to actually run the code in that window. Once this is done, subsequent saves to the file in an external editor will update the display.
I'm pressing CMD+R after every change which works fine within Cyril, but maybe I'm missing something. What I did so far:
Update: I've also followed the "Getting started"-guide on this topic, also not successful.
I'm using a keyboard with azerty layout but the Cyril editor runs in qwerty mode. I haven't found a way to change this anywhere.