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

Alan Garny agarny at hellix.com
Wed Jul 23 15:33:59 BST 2014


Hi Phil,

> > 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.
 
> Do you have a short, complete example that demonstrates the problem?

I am afraid I don't, but I might try to create one if I can't fix the issue with my code (and I will probably get confirmation that there is indeed something wrong with my code!).

Alan 



More information about the QScintilla mailing list