Patch #3406 2013-01-15 21:19

p2rkw

Bug fix #18862
Download
3406-Bug_fix_18862.patch (672 bytes)
Category
Plugin::Bugfix
Status
Open
Close date
 
Assigned to
mortenmacfly
Index: src/plugins/codecompletion/parser/parserthread.cpp
===================================================================
--- src/plugins/codecompletion/parser/parserthread.cpp (wersja 8771)
+++ src/plugins/codecompletion/parser/parserthread.cpp (kopia robocza)
@@ -1077,7 +1079,9 @@
else if ( (peek == ParserConsts::semicolon)
|| ( ( m_Options.useBuffer
&& (peek.GetChar(0) == ParserConsts::opbracket_chr) )
- && (!m_Str.Contains(ParserConsts::dcolon)) ) )
+ && (!m_Str.Contains(ParserConsts::dcolon))
+ && (!m_Str.Contains(ParserConsts::opbracket_chr))
+ && (!m_Str.Contains(ParserConsts::clbracket_chr)) ) )
{
if ( !m_Str.IsEmpty()
&& ( wxIsalpha(token.GetChar(0)) 
mortenmacfly 2013-01-21 15:40

Seems to work fine so far... let me do some more testing...