You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
What I want to achieve is like below.
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.
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
Context
Description
I want to add different margins/paddings to content.
Below is the normal image with dummy text with text wrapping on.
What I want to achieve is like below.
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.
The text was updated successfully, but these errors were encountered: