vscode/extensions/markdown-language-features
Matt Bierner 8cb7e80544
Split out Webview from WebviewEditor in proposed API (#47370)
* Split out `Webview` from `WebviewEditor` in API

**Problem**
The current proposed `Webview` interface has a few methods and properties that are very editor specific, such as `.reveal` and `.onDidChangeViewState`. These properies will not make sense if we ever allow webview to be displayed in other locations, such as in widgets

**Proposal**
Split the concepts of a `Webview` and of a `WebveiwEditor`. A webview is the html content itself. A `WebviewEditor` is an editor that displays a `Webview`

This would allow us to easily add other types of `Webview` owning objects in the future without having to document that some methods only apply when a webview is used as an editor vs as a widget
2018-04-11 11:49:02 -07:00
..
media Fix double click markdown editor when in split view 2018-04-05 10:16:39 -07:00
preview-src Fix double click markdown editor when in split view 2018-04-05 10:16:39 -07:00
schemas Rename markdown to markdown-language-features 2018-03-19 21:08:39 -07:00
src Split out Webview from WebviewEditor in proposed API (#47370) 2018-04-11 11:49:02 -07:00
.vscodeignore Rename markdown to markdown-language-features 2018-03-19 21:08:39 -07:00
icon.png Rename markdown to markdown-language-features 2018-03-19 21:08:39 -07:00
OSSREADME.json Rename markdown to markdown-language-features 2018-03-19 21:08:39 -07:00
package-lock.json Rename markdown to markdown-language-features 2018-03-19 21:08:39 -07:00
package.json Add webview restoration api proposal (#46380) 2018-04-03 18:25:22 -07:00
package.nls.json Rename markdown to markdown-language-features 2018-03-19 21:08:39 -07:00
tsconfig.json Rename markdown to markdown-language-features 2018-03-19 21:08:39 -07:00
webpack.config.js Rename markdown to markdown-language-features 2018-03-19 21:08:39 -07:00
yarn.lock Rename markdown to markdown-language-features 2018-03-19 21:08:39 -07:00