You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line Block Comments(Ctrl+/) function is implemented in EditToggleCommentLine() in EditAutoC.c .
and, Block Comment(Ctrl+Q) in EditToggleCommentBlock() in EditAutoC.c .
They are enabled/disabled in MsgInitMenu() in Notepad2.c .
BTW, lexers in the functions seem to mismatch.
I think this should be patched to something like this...
EnableCmd(hmenu, IDM_EDIT_LINECOMMENT,
!(i == SCLEX_NULL || i == SCLEX_CIL || i == SCLEX_DIFF || i == SCLEX_FORTRAN || i == SCLEX_HTML || i == SCLEX_NSIS || i == SCLEX_XML));
EnableCmd(hmenu, IDM_EDIT_STREAMCOMMENT,
!(i == SCLEX_NULL || i == SCLEX_VBSCRIPT || i == SCLEX_MAKEFILE || i == SCLEX_VB ||
i == SCLEX_SQL || i == SCLEX_PERL || i == SCLEX_PYTHON || i == SCLEX_PROPERTIES || i == SCLEX_CONF ||
i == SCLEX_POWERSHELL || i == SCLEX_BATCH || i == SCLEX_DIFF || i == SCLEX_BASH || i == SCLEX_TCL ||
i == SCLEX_CIL || i == SCLEX_FORTRAN || i == SCLEX_TEXINFO || i == SCLEX_LISP || i == SCLEX_LLVM ||
i == SCLEX_NSIS || i == SCLEX_SMALI || i == SCLEX_VHDL || i == SCLEX_VIM ||
i == SCLEX_AU3 || i == SCLEX_RUBY || i == SCLEX_CMAKE));
Could you check it please?
The text was updated successfully, but these errors were encountered:
Line Block Comments(Ctrl+/) function is implemented in EditToggleCommentLine() in EditAutoC.c .
and, Block Comment(Ctrl+Q) in EditToggleCommentBlock() in EditAutoC.c .
They are enabled/disabled in MsgInitMenu() in Notepad2.c .
BTW, lexers in the functions seem to mismatch.
I think this should be patched to something like this...
Could you check it please?
The text was updated successfully, but these errors were encountered: