Extends
Properties
maxRenderedResultsstatic
#
Maximum number of results to render
Properties:
Type | Description |
---|---|
number |
Methods
findNext()
#
Find the next result
findPrevious()
#
Find the previous result
findSelected()
#
Find the selected text on opening
focus()
#
Focus the dialog
getActionProcess()
#
getReadyProcess()
#
getSetupProcess()
#
getTeardownProcess()
#
- Overrides:
- Source:
highlightFocused(scrollIntoView)
#
Highlight the focused result marker
Parameters:
Name | Type | Description |
---|---|---|
scrollIntoView |
boolean | Scroll the marker into view |
initialize()
#
- Overrides:
- Source:
onFindChange()
#
Handle change events to the find inputs (text or match case)
onFindReplaceTextEnter(e)
#
Handle enter events on the find text and replace text inputs
Parameters:
Name | Type | Description |
---|---|---|
e |
jQuery.Event |
onReplaceAllButtonClick()
#
Handle click events on the previous all button
onReplaceButtonClick()
#
Handle click events on the replace button
onReplaceChange()
#
Handle change events to the replace input
onSurfaceModelDocumentUpdate()
#
Handle documentUpdate events from the surface model
onSurfaceViewPosition()
#
Handle position events from the surface view
onWindowScroll()
#
Handle window scroll events
renderFragments()
#
Position results markers
renderRangeOfFragments(range)
#
Render subset of search result fragments
Parameters:
Name | Type | Description |
---|---|---|
range |
ve.Range | Range of fragments to render. N.B. This is a range in the results array, not a document range. |
replace(index)
#
Replace the result at a specified index
Parameters:
Name | Type | Description |
---|---|---|
index |
number | Index to replace |
setDisabled(disabled)
#
Set the disabled state of the toolbar dialog
Parameters:
Name | Type | Description |
---|---|---|
disabled |
boolean | Disable the dialog |
- Inherited from:
- Source:
updateFragments()
#
Update search result fragments
updateUserConfig()
#
Remember inputs in the dialog in user config.