cyrilcode / cyril

The Cyril programming language is designed for fast prototyping of visualisations and live coding visuals.
http://cyrilcode.com
Other
145 stars 21 forks source link

Other keyboard layouts? #12

Open stebanos opened 10 years ago

stebanos commented 10 years ago

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.

darrenmothersele commented 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/pull/117

bakercp commented 10 years ago

https://github.com/glfw/glfw/commit/dc987edf34f5122ce49f60977bdeb3048ea8ca09 was just merged with fixes that may address this.

darrenmothersele commented 10 years ago

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?

stebanos commented 10 years ago

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.

darrenmothersele commented 10 years ago

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?

darrenmothersele commented 10 years ago

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

thmsnhl commented 7 years ago

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.

danhett commented 7 years ago

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.

thmsnhl commented 7 years ago

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.