Toggle Single Line Comment vs Single Line Comment? Why do we have both?
-
Am I missing something or both Toggle Single Line Comment (Ctrl+Q) and Single Line Comment (Ctrk+K) do the exact same thing with only difference that the latter can uncomment while the former cannot? If so, then what is the point of having Ctrl+Q? And why is it called toggle comment when in fact it only works one way?
Thank you.
-
Seems to work for me - which npp version, operating system and language do you use?
Cheers
Claudia -
7.5.4
Windows 7 SP1 x86Claudia Frank,
so Ctrl+Q actually toggles it on and off? Rally!? Well, now at least the name makes sense. It has never been working for me though. Hmm… That is so weird.
-
I tried it on Linux under Wine with python, c and java script.
Which language do you use?Cheers
Claudia -
I tried it on html\css. I’ve just tied JS and C-languages and it works fine on them. But why is this difference?
-
html has its own place here because it is not only one lexer but multiple.
So I assume that this is were the issue comes from.Cheers
Claudia -
Yes, that might be the logic of it. But this behavior still doesn’t make much sense to me. Besides, all the other popular editors toggle html/css comments the same way they do in the programming languages. It’s clearly inconsistent on npp’s part, imho.
Thank you very much!
-
to be honest, I don’t do much html and because of that I never checked what the issue here
is, it might be npp or it might scintilla, but yes, it is inconsistent in that case.Cheers
Claudia
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login