mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-10 13:44:39 +08:00
onTextEditorContentSet is a legacy method from when SourceFrame had many subclasses. Overriding setContent instead is simpler and makes for a cleaner plugin story around dispose/ensure plugins. As a drive-by, the currentSearchResultIndex getter was removed. Change-Id: I7f467da9297288b9f654eaf1cdd73b8be281cbaa Reviewed-on: https://chromium-review.googlesource.com/1020812 Commit-Queue: Andrey Lushnikov <lushnikov@chromium.org> Reviewed-by: Andrey Lushnikov <lushnikov@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#553320} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 1e760fbec07f32c51baadf82e967d2e21ae3650c