3 summary:: Web page display and browser
8 WebView displays web pages and provides all the standard browsing functionality.
16 Clears all the memory caches, so that link::#-reload#reloading:: a page is ensured to reload all the resources.
22 SUBSECTION:: Navigation
26 Gets the current URL, or navigates to a new one.
30 Reloads the current page.
34 Navigates to the previous page in history.
38 Navigates to the next page in history.
42 Finds and selects the next instance of given text on the current page. When the given text changes, the search starts anew.
45 The text to find; a String.
48 Whether to search in reverse direction; a Boolean.
55 Gets or sets the displayed html content.
62 Tries to extract plain text from the displayed content, and returns it.
67 The title of the current page.
72 The currently selected text.
76 SUBSECTION:: Behavior and appearance
78 METHOD:: enterInterpretsSelection
79 Whether pressing Ctrl+Return or Ctrl+Enter while some text is selected should evaluate the selection as SuperCollider code.
83 METHOD:: setFontFamily
84 Sets a specific font family to be used in place of a CSS-specified generic font family.
86 The CSS generic font family to assign a font to; one of the following symbols: code::\standard, \fixed, \serif, \sansSerif, \cursive, \fantasy::.
88 A font family name to be assigned to the generic family; a String.
93 METHOD:: onLoadFinished
94 Sets the object to be evaluated when a page has loaded successfully, passing the view as the argument.
97 Sets the object to be evaluated when a page has failed to load, passing the view as the argument.
99 METHOD:: onLinkActivated
100 Sets the object to be evaluated when the user triggers a link, passing the view and the URL of the link (as String) as the arguments.
102 When this is set to other than nil, WebView will stop handling links altogether. Setting this to nil will restore WebView link handling again.
105 Sets the object to be evaluated whenever a page reload is requested, passing the view and the URL to be reloaded (as String) as the arguments.
107 When this is set to other than nil, WebView will do nothing on reload requests. Setting this to nil will restore WebView reload handling again.
110 SUBSECTION:: JavaScript
112 METHOD:: evaluateJavaScript
113 Evaluates the given JavaScript code in the context of the current page.