From kde-bugs-dist Tue Mar 23 07:42:31 2004 From: John Birch Date: Tue, 23 Mar 2004 07:42:31 +0000 To: kde-bugs-dist Subject: [Bug 78255] kdevelop parser gets confused by comments in cpp Message-Id: <20040323074231.18584.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=108002771824496 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. http://bugs.kde.org/show_bug.cgi?id=78255 ------- Additional Comments From jbb kdevelop org 2004-03-23 08:42 ------- Well classInst. methodName(); is valid syntax. So in your case QString tmp; tmp. tmp. I would expect the code completion to be looking for tmp.tmp. which it would never find as there's no tmp var on a QString. Hence no code completion can be offered with or without a comment in between. However - you are right - this is a bug. The following QHBoxLayout *top_layout = new QHBoxLayout(this); top_layout-> // lala .... widget()-> doesn't work whereas top_layout-> widget()-> will work. Not quite the same you were reporting though :-)