Community
Participate
Working Groups
Build Identifier: PHPStructuredEditor.selectionChanged() is responsible for calling methods like resetHighlightRange(); markInNavigationHistory(); Computing the highlight range as well as marking in navigation history are time consuming and don’t require to be executed entirely in UI thread. Reproducible: Always
Created attachment 209931 [details] PHPStructuredEditor.selectionChanged() wrapped in non UI job - patch Changes introduced by attached patch: 1. As setSelection method is always called with parameter moveCursor=false PHPStructuredEditor.selectionChanged() is wrapped in non UI Job. 2. Two places that require execution in UI thread are wrapped in Display.getDefault.syncExec(): a. Getting carret position in computeHighlightRangeSourceReference() b. Getting current selection in setSelection
Natalia's patch applied. great job Natalia!
Fixed. Closing... Kalin Yanev kalin.a@zend.com