Robert Roessler:
> Editor.cxx
> Editor.cxx(878) : error C2511: 'void Editor::RedrawSelMargin(void)' :
> overloaded member function not found in 'Editor'
> ../scintilla\src\Editor.h(179) : see declaration of 'Editor'
>
> The up-to-date Editor.h:
>
> void RedrawSelMargin(int line=-1);
>
> It looks pretty clear that you do not want the "int line=-1", so I
> will assume that this happened because of lines getting crossed with
> my patch... and it builds fine that way.
Other way round: it now needs an optional line argument to match
the SC_MOD_CHANGEMARKER processing so it looks like
void Editor::RedrawSelMargin(int line) {
if (!AbandonPaint()) {
if (vs.maskInLine) {
Redraw();
} else {
PRectangle rcSelMargin = GetClientRectangle();
rcSelMargin.right = vs.fixedColumnWidth;
if (line != -1) {
int position = pdoc->LineStart(line);
PRectangle rcLine =
RectangleFromRange(position, position);
rcSelMargin.top = rcLine.top;
rcSelMargin.bottom = rcLine.bottom;
}
wMain.InvalidateRectangle(rcSelMargin);
}
}
}
Just did a checkout and that is what is there.
Neil
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest