XhmikosR / notepad2-mod

LOOKING FOR DEVELOPERS - Notepad2-mod, a Notepad2 fork, a fast and light-weight Notepad-like text editor with syntax highlighting

Home Page:https://xhmikosr.github.io/notepad2-mod/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Better wrapping for long links

john-cj opened this issue · comments

commented

Here is what I mean:

Here are six hyperlinks in comments of my code:

notepad2_1

When editor window is not wide enough, long links are moved entirely to the new visual line, instead of being properly wrapped:

notepad2_2

Desired behaviour:

desired

It's a upstream Scintilla bug, I created a ticket at https://sourceforge.net/p/scintilla/feature-requests/1223/.

commented

@zufuliu Thanks!

commented

@zufuliu His motivation is very strange. What is the problem for lisp variable to be wrapped? Also, if he don't like to implement soft-wrapping on hyphens, well, it could be wrapped on slashes! /

; http://site.com/foo-bar-baz/
aaa_bbb_ccc.html

is better then

;
http://site.com/foo-bar-baz/
aaa_bbb_ccc.html

@john-cj indeed, so I suggest you reopen this bug, the ticket in Scintilla is not yet closed.