User forums > Nightly builds
The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.
Loaden:
1. Simplified interface to batch parse
2. Improve batch parse performance
Loaden:
Improve system headers locker
Loaden:
--- Quote from: blueshake on September 22, 2010, 04:59:56 pm ---support member variable initialation codecompletion now
--- End quote ---
Hi, blueshake, based you patch, I am fixed a bug.
Now, this patch shoud works well.
Loaden:
Hi, all!
I encountered a problem about scintilla.
--- Quote ---void CodeRefactoring::Find(cbStyledTextCtrl* control, const wxString& file, const wxString& target)
{
const int end = control->GetLength();
int start = 0;
int pos = 0;
for (;;)
{
int lengthFound;
pos = control->FindText(start, end, target, wxSCI_FIND_WHOLEWORD | wxSCI_FIND_MATCHCASE, &lengthFound);
if (pos != wxSCI_INVALID_POSITION)
{
start = pos + lengthFound;
// TODO (Loaden) not work?
const int style = control->GetStyleAt(pos); // always been zero?
if (control->IsString(style) || control->IsComment(style))
continue;
int line = control->LineFromPosition(pos);
wxString text = control->GetLine(line).Trim(true).Trim(false);
m_SearchDataMap[file].push_back(crSearchData(pos, line, text));
}
else
break;
}
}
--- End quote ---
Please see the bold style code, why the return value always been zero.
Any comment are welcome!
helpse:
Ok, so i see its at revision 6627, but i cant compile it since i didnt configure wxwidgets yet. Could any1 compile and upload CB rev 6627? Thank you!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version