why the result of window.getSelection.toString becomes ellipsis,when seleced text a little long?

36 views Asked by At

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?

0

There are 0 answers