You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried the intro and either there is a bug in how the editor behaves on my system (Win 10, Firefox but same on Chrome) or I think this warrants some explaining in the intro: When I come to the Shapes and Colors section and want to type in my (circle 23) fragment, I duly type (, then circle 23 and then I want to close the parens with ) but here instead I get a pair of parens. Deleting only works on the whole pair. It took me a while to realize that in this setup, you should always type the closing parens and work in pairs but as best I could tell this is never explained somewhere but very unintuitive to people used to other text editors.
Because the behaviour of typing parens is not symetric, it seems pretty much impossible to fix unbalanced parens either. I have never really worked in any kind of lisp, but maybe it would make more sense to make both parens keys behave the same but add an easy "surround selection with parens" behaviour like in many text editors when you type a parens when a selection is active?
I also went through the quickstart section but couldn't find any mention of this either (mind you I'm a bit tired and may have overlooked it).
Environment:
Browser: Firefox
Platform (Mac/Windows/Linux): Windows 10
URL to a gist replicating the issue (if possible/relevant)
The text was updated successfully, but these errors were encountered:
@danyx23 thanks for the report - by chance are you using an international keyboard? I know that we have some issues affecting various keyboard layouts which might be the culprit here
@danyx23 The intended behavior of the editor is to open a new pair of parens and place the cursor between them when someone types (. Unfortunately, different keyboard/OS combinations produce different key codes that can confuse this behavior, which leads to weird bugs like this one!
Issue:
I just tried the intro and either there is a bug in how the editor behaves on my system (Win 10, Firefox but same on Chrome) or I think this warrants some explaining in the intro: When I come to the Shapes and Colors section and want to type in my
(circle 23)
fragment, I duly type(
, thencircle 23
and then I want to close the parens with)
but here instead I get a pair of parens. Deleting only works on the whole pair. It took me a while to realize that in this setup, you should always type the closing parens and work in pairs but as best I could tell this is never explained somewhere but very unintuitive to people used to other text editors.Because the behaviour of typing parens is not symetric, it seems pretty much impossible to fix unbalanced parens either. I have never really worked in any kind of lisp, but maybe it would make more sense to make both parens keys behave the same but add an easy "surround selection with parens" behaviour like in many text editors when you type a parens when a selection is active?
I also went through the quickstart section but couldn't find any mention of this either (mind you I'm a bit tired and may have overlooked it).
Environment:
URL to a gist replicating the issue (if possible/relevant)
The text was updated successfully, but these errors were encountered: