[QScintilla] Multiple textChanged signals when indenting a selection with multiple lines

Phil Thompson phil at riverbankcomputing.com
Mon May 30 18:31:04 BST 2016


On 30 May 2016, at 3:32 pm, Chris Pezley <chris.pezley at quantumwise.com> wrote:
> 
> Hi,
> 
> I've noticed the following issue(?) when using qscintilla: highlight multiple lines in the editor and press tab. The textChanged signal is emitted once for every line that is indented. Since pressing delete with multiple lines selected only emits one textChanged, I would assume that the multiple emits is an error.
> 
> I've included a small example to quickly test this. Just write a couple of lines, highlight them, press tab and then see the console output.

It's a "feature" of the underlying Scintilla code.

Phil


More information about the QScintilla mailing list