diff options
Diffstat (limited to 'src/ScintillaBase.cxx')
| -rw-r--r-- | src/ScintillaBase.cxx | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index 1cf146c06..bd096155b 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -235,6 +235,11 @@ void ScintillaBase::AutoCompleteStart(int lenEntered, const char *list) {  		Redraw();  		pt = PointMainCaret();  	} +	if (wMargin.GetID()) { +		Point ptOrigin = GetVisibleOriginInMain(); +		pt.x += ptOrigin.x; +		pt.y += ptOrigin.y; +	}  	PRectangle rcac;  	rcac.left = pt.x - ac.lb->CaretFromEdge();  	if (pt.y >= rcPopupBounds.bottom - heightLB &&  // Wont fit below. | 
