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

Refactors: Reduces assumptions about line height. #207160

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

hediet
Copy link
Member

@hediet hediet commented Mar 8, 2024

This contains the parts of #194609 that we can already merge.
While it does not implement dynamic line heights, it is a first step in that direction.

Generally, this PR reduces usage of options.getOption(EditorOption.lineHeight), so that it becomes easier in the future to implement variable line height.

I also noticed this (#207150) while reviewing the existing code.

FYI @alexdima

This contains the parts of #194609 that we can already merge.
While it does not implement dynamic line heights, it is a first step in that direction.

Co-authored-by: Remco Haszing <remcohaszing@gmail.com>
@hediet hediet self-assigned this Mar 8, 2024
@hediet hediet enabled auto-merge (rebase) March 8, 2024 13:02
@hediet hediet requested a review from alexdima March 8, 2024 13:03
@vscodenpa vscodenpa added this to the March 2024 milestone Mar 8, 2024
@hediet hediet removed the request for review from alexdima March 8, 2024 15:19
@hediet hediet merged commit a9ab31d into main Mar 8, 2024
7 checks passed
@hediet hediet deleted the hediet/b/variable-line-height branch March 8, 2024 15:41
@microsoft microsoft locked and limited conversation to collaborators Jun 10, 2024
@aiday-mar aiday-mar self-assigned this Nov 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants