Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] How to add left margin to content, right margin to content and linepadding for only bottom line ? #3481

Closed
2 tasks done
sagarkardani opened this issue Dec 31, 2022 · 1 comment
Labels
feature-request Request for new features or functionality

Comments

@sagarkardani
Copy link

Context

  • This issue is not a bug report. (please use a different template for reporting a bug)
  • This issue is not a duplicate of an existing issue. (please use the search to find existing issues)

Description

I want to add different margins/paddings to content.

Below is the normal image with dummy text with text wrapping on.
monaco

What I want to achieve is like below.
Achieve

What I want to apply is something like

leftmargin - left margin to the content i.e. margin between line numbers and content.
rightmargin - right margin to the content i.e. margin between content and scrollbar.
paddingbelowlastwrappedline - add extra padding after the last wrapped line to provide some extra gap.
firstlineindent - apply indent only to first line of the wrapped lines and not to others.

Also this changes should be visible in minimap also.

Some similar posts are here, here, here.

Is there any decent and elegant way to achieve this ? Current I am using codemirror and I want to switch to monacoeditor for some reasons.

@sagarkardani sagarkardani added the feature-request Request for new features or functionality label Dec 31, 2022
@sagarkardani sagarkardani changed the title How to add left margin to content, right margin to content and linepadding for only bottom line ? [Feature Request] [Feature Request] How to add left margin to content, right margin to content and linepadding for only bottom line ? Dec 31, 2022
@hediet hediet added info-needed Issue requires more information from poster and removed info-needed Issue requires more information from poster labels Jan 9, 2023
@hediet
Copy link
Member

hediet commented Mar 13, 2023

This feature is out of scope for the monaco editor, but maybe it a feature request for VS Code might have more success.

@hediet hediet closed this as not planned Won't fix, can't repro, duplicate, stale Mar 13, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Apr 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants