This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | extend HyperlinkProvider spi bypass states of control keys | ||
---|---|---|---|
Product: | editor | Reporter: | Vladimir Voskresensky <vv159170> |
Component: | Navigation | Assignee: | Jan Becicka <jbecicka> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | anebuzelsky, jchalupa, thp |
Priority: | P2 | Keywords: | API |
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Vladimir Voskresensky
2005-10-18 10:14:39 UTC
As another solution we can allow to register different providers for different key bindings. As I see in implementation now only one key bindings is used for hyperlinks. Added simplest prototype on branch "deimos" New file cvs/editor/libsrc/org/netbeans/lib/editor/hyperlink/spi/HyperlinkProviderEx.java Updated file cvs/editor/libsrc/org/netbeans/lib/editor/hyperlink/HyperlinkOperation.java 39d38 < import org.netbeans.lib.editor.hyperlink.spi.HyperlinkProviderEx; 197c196 < private void performAction(int position, int modifiers) { --- > private void performAction(int position) { 207,212c206 < // vv159170 workaround to pass mouse event modifiers when perform action < if (provider instanceof HyperlinkProviderEx) { < ((HyperlinkProviderEx)provider).performClickAction(component.getDocument(), position, modifiers); < } else { < provider.performClickAction(component.getDocument(), position); < } --- > provider.performClickAction(component.getDocument(), position); 340c334 < performAction(position, e.getModifiers() | e.getModifiersEx()); --- > performAction(position); According to jlahoda there was an agreement to implement this request into 6.0. Removed MARS keyword. A fix for this is not needed in 5.5.1. moving opened issues from TM <= 6.1 to TM=Dev no need anymore since we have now alternative hyperlink functionality |