Menu

#208 TextFX "always converts to CRLF" is broken

open
nobody
None
5
2012-10-08
2012-10-08
JP Vossen
No

Steps to reproduce using npp.6.1.8.bin.zip:
1) Make sure NPPTextFX is enabled

2) Settings:
TextFX > TextFX Viz Settings > +Viz Copy-Cut always converts to CRLF
TextFX > TextFX Viz Settings > +Viz Paste converts EOL to editor
TextFX > TextFX Viz Settings > +Viz Captures Keyboard Ctrl C,X,V

3) Restart NPP if necessary

4) Create a multi-line file with LF line endings

5) Select and copy several lines of text

6) Paste into Windows Notepad

Result: Lines are pasted into Windows Notepad as 1 long line with embedded LFs

Expected: Lines should be pasted into Windows Notepad as multiple lines with LF converted to CRLF

I haven't look at this deeply, but it seems to be a long standing bug. It is not present in the *ANSI* NPPTextFX.dll from npp.5.0.3.bin.zip, but may be present in the Unicode version from around then up to present. This is a show-stopping bug for me, that requires I stay with ANSI NPP 5.4.5 and NPPTextFX.dll from npp.5.0.3.bin.zip. :-(

Discussion


Log in to post a comment.