I would second that. The line number would be especially useful.
Jason
On Jul 17, 2006, at 1:39 PM, Dan Petitt wrote:
To save on extra calls, could the Notification structure be filled
out for
the SCN_DOUBLECLICK with values that are useful. i.e. line and
position
thus:
void Editor::NotifyDoubleClick(Point pt, bool) {
SCNotification scn = {0};
scn.nmhdr.code = SCN_DOUBLECLICK;
scn.line = LineFromLocation(pt);
scn.position = PositionFromLocationClose( pt );
NotifyParent(scn);
}
It shouldn't really affect anyone else and it would be a useful
improvement.
I know you could do the same (almost) with addition calls once you
get the
notification, but it saves these being necessary.
Hope this helps
Dan
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest