EditSession : doc and test for `newLineMode`