You are here: PSPad forum > English discussion forum > Comment out block

Comment out block

#1 Comment out block

Posted by: target232 | Date: 2019-04-03 11:16 | IP: IP Logged

Hi

After upgrading I'm unable to comment out block of lines (using Ctrl+Shift+A)
I have custom ASP.INI / ASP.DEF files but commenting will not work in any file .js .html .asp ... etc
After selecting text and pressing Ctrl+Shift+A nothing happens.

Is there a way to troubleshoot this problem ?

Options: Reply | Quote | Up ^


#2 Re: Comment out block

Posted by: pspad | Date: 2019-04-03 11:26 | IP: IP Logged

Hello.

Your highlighter is ASP or HTML multihighlighter?
If you want to use definition from ASP, you need to switch highlighter to ASP or remove ASP from HTML multihighlighter.

Where is defined your comment? In the DEF file with shortcut?
In this case you need to remove standard shortcut for Comment/uncomment (menu Format)

Options: Reply | Quote | Up ^


#3 Re: Comment out block

Posted by: target232 | Date: 2019-04-03 14:47 | IP: IP Logged

I remove ASP from HTML multihighlighter (put visual basic there) - no effect
switched from HTML multihighlighter to ASP - no effect

in User Highlighter deinition:
Comment style: ' checked

here is file dump
c:\Program Files (x86)\PSPad editor\Syntax\asp.ini

;PSPad user HighLighter definition file
[Settings]
Name=ASP
HTMLGroup=1
Vectors=0
Label=1
FileType=*.aspx
CommentString='
SinglQComment=1
IndentChar=4
UnIndentChar=4
TabWidth=2
SingleQuote=1
DoubleQuote=1
EscString=1
EscChar=\
KeyWordChars=-_
CodeExplorer=ftVBS
DocComment=
[KeyWords]
AS=
CALL=
CASE=
CATCH=
CLASS=
CONST=
DIM=
DO=
EACH=
ELSE=
ELSEIF=
EMPTY=
END=
ERASE=
ERR=
ERROR=
EXECUTE=
EXECUTEGLOBAL=
EXIT=
EXPLICIT=
FALSE=
FOR=
FUNCTION=
IF=
IN=
ISNOT=
LOOP=
NEW=
NEXT=
NOT=
NOTHING=
NULL=
ON=
OPTION=
PRIVATE=
PROPERTYGET=
PROPERTYSET=
PUBLIC=
RANDOMIZE=
REDIM=
RESUME=
RETURN=
SELECT=
SET=
SUB=
THEN=
TO=
TRUE=
TRY=
WEND=
WHILE=
WITH=
[ReservedWords]
ABS=
AND=
ANDALSO=
ARRAY=
ASC=
ATN=
BOOLEAN=
Byte=
CBOOL=
CBYTE=
CCUR=
CDATE=
CDBL=
CHR=
CINT=
CLNG=
CONCAT=
COS=
CREATEOBJECT=
CSNG=
CSTR=
DATE=
DATEADD=
DATEDIFF=
DATEPART=
DATESERIAL=
DATETIME=
DATEVALUE=
DAY=
Double=
Encoding=
Exception=
EXP=
FILTER=
Float=
FORMAT=
FORMATCURRENCY=
FORMATDATETIME=
FORMATNUMBER=
FORMATPERCENT=
GETLOCALE=
GETOBJECT=
GETREF=
GetRequestStream=
HEX=
HOUR=
HttpWebRequest=
HttpWebResponse=
INDEXOF=
INPUTBOX=
INSERT=
INSTR=
INSTRREV=
INT=
INT16=
INT32=
INT64=
INT8=
Integer=
ISARRAY=
ISDATE=
ISEMPTY=
ISNULL=
ISNUMERIC=
ISOBJECT=
JOIN=
LBOUND=
LCASE=
LEFT=
LEN=
LENGTH=
LOADPICTURE=
LOG=
Long=
LTRIM=
MailMessage=
MatchCollection=
MATCHES=
MID=
MINUTE=
MONTH=
MONTHNAME=
MSGBOX=
NOW=
OCT=
OR=
ORELSE=
REGEX=
REPLACE=
RGB=
RIGHT=
RND=
ROUND=
RTRIM=
SCRIPTENGINE=
SCRIPTENGINEBUILDVERSION=
SCRIPTENGINEMAJORVERSION=
SCRIPTENGINEMINORVERSION=
SECOND=
SERVER=
SETLOCALE=
SGN=
SHA256Managed=
SHA512Managed=
SIN=
SmtpClient=
SPACE=
SPLIT=
SqlDataReader=
SqlPaameter=
SQR=
STRCOMP=
Stream=
StreamReader=
StreamWriter=
STRING=
STRINGBUILDER=
TAN=
TextReader=
TIME=
TIMER=
TIMESERIAL=
TIMEVALUE=
TRIM=
TYPENAME=
UBOUND=
UCASE=
UTF8Encoding=
VARTYPE=
WEEKDAY=
WEEKDAYNAME=
X509Certificate=
X509Certificate2=
X509Store=
XElement=
XML=
XmlDocument=
XmlReader=
XOR=
YEAR=
[KeyWords2]
Add=
Append=
AppendAllLines=
AppendAllText=
AppendLine=
AppendText=
Application=
Clear=
Close=
Contains=
Convert=
Copy=
Delete=
Dispose=
EndsWith=
Equals=
ExecuteNonQuery=
ExecuteReader=
ExecuteScalar=
Exists=
Form=
IsNullOrEmpty=
Move=
Open=
OpenRead=
OpenText=
OpenWrite=
QueryString=
Read=
ReadAllBytes=
ReadAllLines=
ReadAllText=
ReadToEnd=
Redirect=
Request=
Request.Form=
Request.QueryString=
Response=
Response.End=
Response.Flush=
Response.Redirect=
Response.Write=
Server=
ServerVariables=
Session=
StartsWith=
SubString=
ToLower=
ToString=
ToUpper=
Write=
[KeyWords3]
addressOf=
byRef=
byVal=
vbCr=
vbLf=
vbNewLine=
vbTab=

IT WORKS FROM menu->Format->Add/Remove comment
Looks like it's not PSPad problem but windows 'cos something else already bind Ctrl+Shift+A shortcut

Thanks for troubleshooting

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2019 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR