Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
69 lines (62 sloc) 1.28 KB

Used by the Javascript SourceFrame and the CSS SourceFrame

instance methods:

Callbacks

  • wasShown
  • willHide
  • loaded
  • onJumpToPosition
  • onTextEditorContentLoaded
  • onTextChanged
  • searchCanceled
  • selectionChanged

Commands

  • addShortcut
  • clearMessages
  • revealPosition
  • addMessageToSource
  • removeMessageFromSource
  • populateLineGutterContextMenu
  • populateTextAreaContextMenu
  • setSelection
  • currentSearchResultIndex
  • statusBarText
  • defaultFocusedElement
  • selection
  • setHighlighterType
  • setContent
  • performSearch
  • replaceSelectionWith
  • replaceAllWith
  • scrollToLine
  • jumpToSearchResult
  • jumpToFirstSearchResult
  • jumpToLastSearchResult
  • jumpToNextSearchResult
  • jumpToPreviousSearchResult
Helpers
  • textEditor
  • hasSearchResults
  • canEditSource
  • searchResultIndexForCurrentSelection
  • collectRegexMatches
  • updateSourcePosition
  • scrollChanged
  • handleKeyDown
  • ensureContentLoaded
  • innerRevealPositionIfNeeded
  • clearPositionToReveal
  • innerScrollToLineIfNeeded
  • clearLineToScrollTo
  • innerSetSelectionIfNeeded
  • clearSelectionToSet
  • wasShownOrLoaded
  • editorFocused
  • resetCurrentSearchResultIndex
  • resetSearch
  • simplifyMimeType
  • setTextEditorDecorations
  • doFindSearchMatches
  • updateHighlighterType
  • getErrorAnchor
  • showErrorPopover
  • isEditorShowing