matkuki/ExCo

Crash when press ket ALT and select text by mouse move in a line

Closed this issue · 1 comments

Hi matkuki,

I found an issue in Qscintilla, as title descriped. But it don't crash in Notepad++ and this could be cause by editor.selectionChanged signal and editor.selectedText().
The detailed steps are below:

1: Press and hold the key ALT until crash.
2: Press and hold the left mouse button.
3: Move mouse left or right in a line to select text until the length of selected text is greater than 6, the gui will crash.

I tried to print editor.selectedText() when did this operation, the result had a "\n" at the end of it.

Thanks.

Hi matkuki,

I have solved this issue by override the method selectedText().

Thanks.