void VScrollBarValueChanged(object sender, EventArgs e)
		{
			if (inScrollUpdate) return;
			inScrollUpdate = true;
			codeCompletionListView.FirstItem = vScrollBar.Value;
			codeCompletionListView.Refresh();
			control.ActiveTextAreaControl.TextArea.Focus();
			inScrollUpdate = false;
		}
Ejemplo n.º 2
0
 void VScrollBarValueChanged(object sender, EventArgs e)
 {
     if (inScrollUpdate)
     {
         return;
     }
     inScrollUpdate = true;
     codeCompletionListView.FirstItem = vScrollBar.Value;
     codeCompletionListView.Refresh();
     //DC: 6/15/2012 this is still not working 100% since the up and down buttons down work well after the user clicks on the VSScroll bar
     //    but before it would disaper (i.e. go into background (which was worse :)  )
     //control.ActiveTextAreaControl.TextArea.Focus();
     inScrollUpdate = false;
 }
Ejemplo n.º 3
0
 protected void DoScroll(object sender, ScrollEventArgs sea)
 {
     codeCompletionListView.FirstItem = vScrollBar.Value;
     codeCompletionListView.Refresh();
     control.ActiveTextAreaControl.TextArea.Focus();
 }