Bug 12352

Summary: Text editor doesn't fire selection changes when caret moves
Product: [Eclipse Project] Platform Reporter: Dirk Baeumer <dirk_baeumer>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: karenfbutzke, markus.kell.r
Version: 2.0   
Target Milestone: 3.0   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Bug Depends on:    
Bug Blocks: 154781    

Description Dirk Baeumer CLA 2002-03-27 10:42:37 EST
Build 20020323
Comment 1 Kai-Uwe Maetzel CLA 2002-04-08 04:32:32 EDT
This would cause major performance issues because of continuous action updating 
on every single key stroke.
Comment 2 Karen Butzke CLA 2006-10-18 13:33:12 EDT
I am trying to add support for the Tabbed Properties in the JavaEditor (bug 154781).  This bug is preventing the PropertySheet class from updating when the cursor moves in a TextEditor.  PropertySheet is an ISelectionListener on the IWorkbenchPage and no selectionChanged event is fired when a mouse selection occurs.

There are other text based editors that properly support the PropertySheet such as the XSD editor and XML editors.  I noticed that the XSD editor allows you to type and then only fires the selectionChanged event after you are done typing.  Couldn't the text editor do this?
Comment 3 Dani Megert CLA 2006-10-24 06:21:31 EDT
>Couldn't the text editor do this?
This is already there - it is called post selection listener.