This allows better completion e.g. for Perl or PHP
BUG: 360340
This allows better completion e.g. for Perl or PHP
BUG: 360340
Open some Perl script.
Type:
lala_test = 1
$lala = 2
Now type
$lal
You shall now get only "lala" as proposal
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
I am not 100% sure about the
if (c.isLetterOrNumber() || c.isMark() || c == QLatin1Char('_'))
change, but all other locations did only check for LetterOrNumber + _
Using isInWord() is what I would have expected. It's wrong that it does not use isInWord ().
I had to read about isMark() first, but I think this is correct and we should give it a try as is.
Please commit.