microsoft / microsoft/monaco-editor

Provide straight-forward zoneWidget API

Open
#373 5 comments 1 reaction 1 assignee View on GitHub

@alexdima is already working on this.

Since Jun 8, 2017.

editor-api feature-request
Dominant language
JavaScript
Stars
46.8k
Forks
4.1k
Avg merge
17h 58m
Merged PRs (30d)
1

Description

I'm trying to create a view zone similar to the one which shows up while displaying errors:

screenshot from 2017-02-21 19-13-49

I used changeViewZones to insert a viewzone but it creates a zone which spans from the end of line gutter to the end of the editor. I want it to start from the start of the line gutter.

screenshot from 2017-02-21 19-12-50

Is there any way I can reuse what is being used in the error viewzone. If not, how can I mimic it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.