Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-pmc] Fw: API Addition: Triple-Click Support

It turned out that SWT can provide triple-click + select directly on the
StyledText widget for 3.3. Therefore I for permission to remove the API
that I just added 5 days ago.

Dani
----- Forwarded by Daniel Megert/Zurich/IBM on 21.03.2007 21:28 -----
                                                                           
             Daniel                                                        
             Megert/Zurich/IBM                                             
                                                                        To 
             16.03.2007 17:59          eclipse-pmc@xxxxxxxxxxx             
                                                                        cc 
                                                                           
                                                                   Subject 
                                       API Addition: Triple-Click Support  
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           



In order to provide triple click support for textual editors I need to add
several new APIs:
- ITripleClickStrategy with tripleClicked(ITextViewer)
- DefaultTripleClickStrategy
- ITextViewerExtension7 with addTripeClickStrategy()
- SourceViewerConfiguration.getTripleClickStrategy(...) returning a
DefaultTripleClickStrategy

GOALS/BENEFITS:
- single-line selection on triple click in all textual editors


CORRESPONDING BUG:
- [typing] Single line selection on triple-click
      https://bugs.eclipse.org/bugs/show_bug.cgi?id=14654


RISKS:
No known risks.


PERFORMANCE IMPACTS:
None.


Dani



Back to the top