Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 393997

Summary: possible timeout binding bug in textView
Product: [ECD] Orion Reporter: Susan McCourt <susan>
Component: EditorAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Silenio_Quarti
Version: 0.5   
Target Milestone: 2.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Susan McCourt CLA 2012-11-09 12:24:10 EST
I was looking at some TextView source code as I "un-dojoize" one of my UI components.  I was looking to see how you handled binding in a timeout for anonymous functions.

I noticed this anomaly at line 3173 in handlePaste which looks like a bug:

					setTimeout(function() {
						self._updateDOMSelection();
						this._ignoreFocus = false;
					}, 0);


(the use of this. vs. self)