when i use monaco-editor in my program, and when i select some long codes in the editor,the result of window.getSelection.toString becomes ellipsis,like "xxxxxx ... xxxxx",while it goes normal as relatively short codes are selected.
are there any answer?