Skip to content

Fixed wrapping lines#35

Open
NicklasVraa wants to merge 1 commit into
andreasKroepelin:mainfrom
NicklasVraa:patch-1
Open

Fixed wrapping lines#35
NicklasVraa wants to merge 1 commit into
andreasKroepelin:mainfrom
NicklasVraa:patch-1

Conversation

@NicklasVraa
Copy link
Copy Markdown

@NicklasVraa NicklasVraa commented Dec 3, 2025

Made line numbers align with the start of lines to fix number placement when lines are long enough to wrap or contain newline backslashes.

Made numbers as large as text for proper alignment, but lightened numbers to distinquish numbers from content.

Made line numbers align with the start of lines to fix number placement when lines are long enough to wrap or contain newline backslashes. 

Also Lightened numbers to distinquish numbers from content.
@andreasKroepelin
Copy link
Copy Markdown
Owner

Thanks for the idea! Could you make this into configurable options though (the number size and colour)? Also, if you could do me the favour, can you attach a screenshot of the old and the new behaviour? That would help me decide which one I prefer as the default.

Oh and maybe instead of a fixed luma(100) we could dynamically calculate a colour based on text.fill?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants