In Chrome the shift+alt+arrow text selection is selecting all the blank spaces, and the new line character and the last character on the previous line for example.
This shouldn’t happen - it’s too aggressive.
1 Like
Interestingly in this very text box the behaviour is still slightly aggressive as it’s selecting the line break, but not the last character on the above line:
1 Like
This is likely implemented in CodeMirror. Can you reproduce this on https://codemirror.net/ (or better here: Try CodeMirror )
If so, usually the path is to understand if this is a universal concern first and if so then report this upstream to CodeMirror (ideally with a some form of contribution). If CodeMirror disagrees we can look into reimplementing this feature in Jupyter world differently (or with customizable behaviour).
1 Like