feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Nov 23 2004 : 5:48:52 PM
|
yep, it has been doing this for ages. the official answer is that the colouring is worked out by a fast, light weight parser. this parser has to be fast and light weight so that it can keep up when you are scrolling the page, and still allow VAX to apply colours without bringing your machine to its knee's.
as a result it isn't good at complex situations. the general problem of telling this sort of variable apart from a function prototype is rather tricky, unless you are the compiler.
the unofficial answer is to consider the line:
QString strName("fred");
where you are calling a constructor, so it is reasonable to colour it as a function |
zen is the art of being at one with the two'ness |
|
|