mirror of
https://github.com/SuspiciousActivity/ByteEdit.git
synced 2026-08-13 17:56:17 +00:00
Fixes and updates
This commit is contained in:
1 parent
d1710ea6a5
commit
fb4da77359
211 files changed
+45363
-45571
No files matched your search
@@ -10,12 +10,12 @@ package org.fife.ui.autocomplete;
|
||||
import javax.swing.event.HyperlinkEvent;
|
||||
|
||||
/**
|
||||
* A callback for when an external URL is clicked in the description window.
|
||||
* If no handler is installed, and if running in Java 6, the system default
|
||||
* web browser is used to open the URL. If not running Java 6, nothing will
|
||||
* happen. If you want browser support for pre-Java 6 JRE's, you will need
|
||||
* to register one of these callbacks on your {@link AutoCompletion}, and
|
||||
* open the URL in a web browser yourself.
|
||||
* A callback for when an external URL is clicked in the description window. If
|
||||
* no handler is installed, and if running in Java 6, the system default web
|
||||
* browser is used to open the URL. If not running Java 6, nothing will happen.
|
||||
* If you want browser support for pre-Java 6 JRE's, you will need to register
|
||||
* one of these callbacks on your {@link AutoCompletion}, and open the URL in a
|
||||
* web browser yourself.
|
||||
* <p>
|
||||
*
|
||||
* Alternatively, folks implementing robust code completion support for a
|
||||
@@ -27,17 +27,13 @@ import javax.swing.event.HyperlinkEvent;
|
||||
* @see AutoCompletion#setExternalURLHandler(ExternalURLHandler)
|
||||
*/
|
||||
public interface ExternalURLHandler {
|
||||
|
||||
|
||||
/**
|
||||
* Called when an external URL is clicked in the description window.
|
||||
*
|
||||
* @param e
|
||||
* The event containing the hyperlink clicked.
|
||||
* @param c
|
||||
* The completion currently being displayed.
|
||||
* @param callback
|
||||
* Allows you to display new content in the description
|
||||
* window.
|
||||
* @param e The event containing the hyperlink clicked.
|
||||
* @param c The completion currently being displayed.
|
||||
* @param callback Allows you to display new content in the description window.
|
||||
*/
|
||||
public void urlClicked(HyperlinkEvent e, Completion c, DescWindowCallback callback);
|
||||
}
|
||||
Reference in new issue
Block a user