NppFTP icon indicating copy to clipboard operation
NppFTP copied to clipboard

Notepad++ 8.4 highlighting

Open thareh opened this issue 2 years ago • 2 comments

Description of the Issue

Highlighting is not applied when opening a file through NppFTP in Notepad++ 8.4. (I've only tried .php files)

Steps to Reproduce the Issue

Open a file through NppFTP in Notepad++ 8.4.

Expected Behavior

Highlighting

Actual Behavior

Highlighting missing

Debug Information

Notepad++ v8.4 (64-bit) Build time : Apr 20 2022 - 03:31:06 Path : C:\Program Files\Notepad++\notepad++.exe Command Line : Admin mode : OFF Local Conf mode : OFF Cloud Config : C:\Users\Carl\OneDrive\Apps\Notepad++ OS Name : Windows 11 (64-bit) OS Version : 2009 OS Build : 22000.652 Current ANSI codepage : 1252 Plugins : NppFTP.dll

thareh avatar Apr 28 '22 08:04 thareh

There are two different problems:

  1. N++ 8.4+ evidently has a problem with the file reloading (Ctrl+R).
  2. NppFTP has a problem with superfluous file reloading (see the #327 , there is also a patched binary inside that issue - I suppose it will solve your issue with the lost syntax highlighting while opening a file via the NppFTP, but the N++ file reloading problem still needs a fix...)

xomx avatar Apr 28 '22 10:04 xomx

Fix for N++ issue with PHP file highlighting see https://github.com/notepad-plus-plus/notepad-plus-plus/pull/11588

chcg avatar Apr 29 '22 06:04 chcg