MCPcopy Index your code
hub / github.com/reactide/reactide / _updateMarkers

Method _updateMarkers

renderer/components/TextEditor.js:44–51  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

42
43 // Render eslint message as marker in monaco
44 _updateMarkers(message) {
45 window.requestAnimationFrame(() => {
46 const model = this.editor.getModel();
47 if (model && model.getVersionId() === message.data.version) {
48 monaco.editor.setModelMarkers(model, 'eslint', message.data.markers);
49 }
50 });
51 };
52
53 // Pass code to eslint linterWorker for processing
54 _lintCode(code) {

Callers 1

componentDidMountMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected