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

Please add Soft Line Wrap option to text editor #210

Open
SetTrend opened this issue Nov 2, 2020 · 1 comment
Open

Please add Soft Line Wrap option to text editor #210

SetTrend opened this issue Nov 2, 2020 · 1 comment

Comments

@SetTrend
Copy link

SetTrend commented Nov 2, 2020

Installed product versions

  • Visual Studio: Visual Studio 2019 Enterprise 16.7.7
  • This extension: 1.12.253

Description

Currently, when typing long lines of text, the text editor scrolls along with the cursor. And so, context is getting lost.

I wouldn't want to bother with hitting RETURN whenever I feel the end of a visual line is coming near (like in the old typewriter days, when the bell rang). Particularly, as this "visual line end" may vary depending on, e.g., application document window width.

So I suggest to add an option to the Markdown Editor that enables the text editor to automatically wrap the entered text - only for presentation in the text editor panel, not by adding line-breaks to the Markdown text source itself. (The suggested behaviour is similar to MS Notepad editor's "Format > Wrap text" menu option.)

Current behavior

Currently, when typing long lines of text, the text editor scrolls along with the cursor. And so, context is getting lost.

Expected behavior

While typing, the Markdown text editor should automatically wrap text at the text editor panel's margin. Wrapping should be performed at word boundaries.

With the new option, all the entered text will be always visible and in reach.

@madskristensen
Copy link
Owner

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

No branches or pull requests

2 participants