jcaillon / 3P

3P (short for Progress Programmers Pal), is a notepad++ plugin designed to help writing progress 4GL (OpenEdge ABL) code. It transforms notepad++ into a full featured IDE for openedge code editor, providing syntax checking, compilation, auto-completion, tool-tips and much more!
https://jcaillon.github.io/3P/
GNU General Public License v3.0
80 stars 35 forks source link

Syntax case and autocomplete running inside comments #293

Closed kger closed 2 years ago

kger commented 2 years ago

Is there a way to stop this?

I turned off the setting to force the autocomplete when starting a new word, and that helps. (The autocomplete options list appears, but no longer does 3P force the first match when I hit the space bar.) However, the syntax case is still being forced inside comments. This happens within both styles of comments.

jcaillon commented 2 years ago

This should not happen and there is already an option (disabled by default for this):

image

What version of notepad++ are you using?

I just tried 3P on the latest version and I do not have the syntax lightning... I think it stopped working from notepad++ version 8. They must have changed something in the API.

Download this version https://notepad-plus-plus.org/downloads/v7.9.5/, install 3P again and you should see syntax highlighting:

image

Then it will behave as you expect because it detects that you are in a comment.

HanzieV commented 2 years ago

Hi, downgrading to version 7.9.5 is not an option for me as my organization forces updating to N++ to 8.4. Any other solution for this ?

jcaillon commented 2 years ago

Fixxed

kger commented 2 years ago

By the way, thank you for fixing this.