Skip to main content

TextScriptingExtension

Complete API reference for TextScriptingExtension, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Uncategorized

Component: no


public class TextScriptingExtension extends ScriptingExtension

Methods

SignatureReturnsDescription
getScriptingInterface()ScriptingInterfaceExecutes getScriptingInterface and returns after the underlying engine call finishes.
getText()StringReturns the current text.
setText(String)voidSets or updates the text.
setTheme(TextScriptingTheme)voidSets or updates the theme.
setProvider(TextScriptingProvider)voidSets or updates the provider.
setStyler(TextScriptingStyler)voidSets or updates the styler.
getTipForLine(int)LineTipReturns the current tip for line.
getTipTextForLine(int)StringReturns the current tip text for line.
replaceScript(File)voidPerforms the replaceScript operation using the provided parameters (newScript).
openScript(File)voidPerforms the openScript operation using the provided parameters (script).
onClose()voidExecutes onClose and returns after the underlying engine call finishes.
init()voidInitializes the object's internal state.
unload()voidExecutes unload and returns after the underlying engine call finishes.
saveScript()booleanSaves script from the object.
hasScript()booleanReturns whether script is true.
supportFile(File)booleanPerforms the supportFile operation using the provided parameters (file).
beforeTextChanged(CharSequence, int, int, int)voidPerforms the beforeTextChanged operation using the provided parameters (charSequence, start, before, count).
onTextChanged(CharSequence, int, int, int)voidPerforms the onTextChanged operation using the provided parameters (charSequence, start, before, count).
afterTextChanged(Editable)voidPerforms the afterTextChanged operation using the provided parameters (editable).