public final class AceJsGate extends Object
| Constructor and Description |
|---|
AceJsGate(AceEditor editor,
netscape.javascript.JSObject js)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
copyToClipboard(String text)
Copy the given text to the clipboard.
|
Object |
exec(String method,
Object... args)
Executes a js method.
|
String |
findReplace(String text)
Called to replace the selected text.
|
String |
getClipboardContent()
Gets the content of the clipboard.
|
void |
textChanged(String text)
Called on text changed.
|
public AceJsGate(AceEditor editor, netscape.javascript.JSObject js)
editor - The editor.js - The javascript script.public void textChanged(String text)
text - The new text.public String findReplace(String text)
text - The selected text.public void copyToClipboard(String text)
text - The text to copy.public String getClipboardContent()
Copyright © 2015–2018 Bridje Framework. All rights reserved.