Note: I actually stumbled about this behavior in RStudio on MacOS yet I assume it is rather about JS.
When you place your cursor right after a number you can increment/decrement it via OPTION + SHIFT + ARROW UP/DOWN (or CNTRL + SHIFT + ARROW UP/DOWN for windows. This shortcut probably invokes the keybinding modifyNumberUp / modifyNumberDown. However, it also toggles the word pairs add/remove and next/previous.
- What is going on here? Is it actually JS or something else?
- Why does this happen? What is the purpose?
- Is there a list of words that are defined that way?
Just paste the following in a code editor like https://ace.c9.io/, set the cursor, and use the shortcut.
1
add
next
from Why does modifyNumberUp toggle add/remove and next/previous
No comments:
Post a Comment