Reported on GitHub: https://github.com/mongodb-js/compass/issues/4089
On OSX when creating a query and two spaces are inputted it isn't possible to get in between the spaces using arrow keys. Looks like a bug, maybe ace editor is doing something. It might be a feature on many editors to double space to enter a period character. We should visit if this is intended in the sort of editing environments we're showing, I'm thinking probably not.
From the reporter:
If start creating a query like:
Unknown macro: { _id}
}
or
Unknown macro: { _id}
}
Then I cant use arrow keys to move into the "middle" of either { } or [ ] which has 2 spaces in them.
The cursor just "jump" over the 2 spaces and I have to use the mouse to put the cursor in the middle.
This is a very irritating behaviour and I have searched through settings to see if this is something I can turn off, but have not found anything. Is this a known bug or expected behaviour (in that case what is the meaning of the behaviour)??
- is related to
-
COMPASS-6481 Replace ace editors in compass with codemirror
- Closed