Syntax highlighting - comments
Posted: Mon Dec 03, 2001 4:00 pm
I am using Textpad version 4.4.1, and having problems with getting the SingleComment tag to work as I want it to - with .asp syntax.
I downloaded all 3 versions of the .asp syntax files from your site, but none of them
seem to work with that tag.
[Syntax]
Namespace1 =
IgnoreCase = Yes
InitKeyWordChars = A-Za-z!
KeyWordChars = A-Za-z0-9_-
PreprocStart =
SyntaxStart = <%
SyntaxEnd = %>
CommentStart = <!--
CommentEnd = -->
CommentStartAlt =
CommentEndAlt =
SingleComment = '
SingleCommentCol =
SingleCommentEsc =
StringStart = "
StringEnd = "
StringAlt =
StringEsc =
CharStart =
CharEnd =
CharEsc =
This is the beginning of my highlighting file.
My goal is to create comments by using the VB syntax, once I place a ' somewhere in a line I want Textpad to mark that sign and everything behind it until a new line begins.
As my syntax file is made at the moment, I am getting the syntax highlighted - but it does not end at the end of a line - it carries on with the syntax highlighting until it finds another ' or something else that Textpad wants to highlight.
Is it possible to create those single line comments that I want?
I downloaded all 3 versions of the .asp syntax files from your site, but none of them
seem to work with that tag.
[Syntax]
Namespace1 =
IgnoreCase = Yes
InitKeyWordChars = A-Za-z!
KeyWordChars = A-Za-z0-9_-
PreprocStart =
SyntaxStart = <%
SyntaxEnd = %>
CommentStart = <!--
CommentEnd = -->
CommentStartAlt =
CommentEndAlt =
SingleComment = '
SingleCommentCol =
SingleCommentEsc =
StringStart = "
StringEnd = "
StringAlt =
StringEsc =
CharStart =
CharEnd =
CharEsc =
This is the beginning of my highlighting file.
My goal is to create comments by using the VB syntax, once I place a ' somewhere in a line I want Textpad to mark that sign and everything behind it until a new line begins.
As my syntax file is made at the moment, I am getting the syntax highlighted - but it does not end at the end of a line - it carries on with the syntax highlighting until it finds another ' or something else that Textpad wants to highlight.
Is it possible to create those single line comments that I want?