ashkulz / NppFTP

Plugin for Notepad++ allowing FTP, FTPS, FTPES and SFTP communications
https://ashkulz.github.io/NppFTP/
322 stars 93 forks source link

Notepad++ 8.4 highlighting #337

Open thareh opened 2 years ago

thareh commented 2 years ago

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

xomx commented 2 years ago

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...)

chcg commented 2 years ago

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