[QScintilla] Find/replace with a lexer not working?

Alan Garny agarny at hellix.com
Wed Jul 23 15:51:48 BST 2014


> > > I use QScintilla in essentially two modes: with and without a lexer.
> > > In the case where there is no lexer, QsciScintilla::replace() works
> > > as I would expect (i.e. it replaces the selected with whatever text
> > > I want to replace it with). However, if there is a lexer, then
> > > QsciScintilla::replace() just doesn't work for me.
> >
> > A lexer shouldn't make any difference. Also I would expect multiple
> > bug reports before now if this was a general problem.
> 
> Ok, so I am clearly doing something in my code. That's what I thought, but I
> wanted to be sure.

Ok, if anything, I have just managed to confirm to myself that, as expected, the issue is not with the lexer. So, thanks again for trying to help and sorry for the 'trouble'!

Alan 



More information about the QScintilla mailing list