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

Line break after <p> #14812

Open
sonichy opened this issue Feb 28, 2024 · 1 comment
Open

Line break after <p> #14812

sonichy opened this issue Feb 28, 2024 · 1 comment

Comments

@sonichy
Copy link

sonichy commented Feb 28, 2024

Description of the Issue

Steps to Reproduce the Issue

  1. HTML
  2. Word wrap

Expected Behavior

<p>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</p>

Actual Behavior

<p>
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</p>

Debug Information

@rdipardo
Copy link
Contributor

rdipardo commented Feb 28, 2024

If you have NppExec installed, you can resolve this with just a tiny script:

set SCI_SETWRAPMODE = 2268
set SC_WRAP_CHAR  = 2
SCI_SENDMSG $(SCI_SETWRAPMODE) $(SC_WRAP_CHAR)

nppexec-wrap-at-char

Explanation here: https://www.scintilla.org/ScintillaDoc.html#SCI_SETWRAPMODE

It would be nice to have a GUI control that did the same thing, but I wouldn't expect to see one anytime soon.

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

No branches or pull requests

2 participants