1
Plugins development / Possible wxWidgets 3.2 patch fix for codecompletion
« Last post by stahta01 on Today at 01:34:57 am »Problem noticed using today's SVN under MSys2 MINGW64 wxWidgets version 3.2.11-1
Skipped building contrib debugger plugin because it also had an wxWidgets 3.2 build error.
Tim S.
Skipped building contrib debugger plugin because it also had an wxWidgets 3.2 build error.
Tim S.
Code
Index: src/plugins/codecompletion/doxygen_parser.cpp
===================================================================
--- src/plugins/codecompletion/doxygen_parser.cpp (revision 14040)
+++ src/plugins/codecompletion/doxygen_parser.cpp (working copy)
@@ -208,7 +208,7 @@
if (m_Pos + kwLen < (int)doc.size())
{
- if ( !IsOneOf(doc[m_Pos + kwLen], wxString(" \t\n")) )
+ if ( !IsOneOf(doc[m_Pos + kwLen], wxS(" \t\n")) )
return NO_KEYWORD;
}
@@ -361,7 +361,7 @@
return false;
++m_Pos;
- while (!IsEnd(doc) && IsOneOf(doc[m_Pos], wxString(" \t*/")) )
+ while (!IsEnd(doc) && IsOneOf(doc[m_Pos], wxS(" \t*/")) )
++m_Pos;
return true;
Index: src/plugins/codecompletion/parser/tokenizer.cpp
===================================================================
--- src/plugins/codecompletion/parser/tokenizer.cpp (revision 14040)
+++ src/plugins/codecompletion/parser/tokenizer.cpp (working copy)
@@ -1042,7 +1042,7 @@
else if (wxIsdigit(c))
{
// numbers
- while (NotEOF() && CharInString(CurrentChar(), wxString("0123456789.abcdefABCDEFXxLl") ))
+ while (NotEOF() && CharInString(CurrentChar(), wxS("0123456789.abcdefABCDEFXxLl") ))
MoveToNextChar();
if (IsEOF())
Recent Posts