Problem with colouring text after a certain column
Posted: Sun Jan 25, 2004 4:58 am
Hi,
using: TextPad 4.7.2
I'm having trouble colouring text, syntax highlighting, after a certain coloum. Is this even possible?
What I would like is for textpad to designate all text between colum A-B to be given a certain colour.
ie: (NOTE: please pretend that the periods (.) are spaces)
* I am a comment
...BLOCK1...GENERATE...15,10,,,5.....I should be a comment comment too
so everything from...........................^ here should be comment colour
my syntax file looks like:
[Syntax]
Namespace1 = 6
IgnoreCase = No
KeyWordLength =
BracketChars = {[()]}
OperatorChars = -+*/<>!~%^&|=
InitKeyWordChars = A-Xa-x
KeyWordChars = A-Za-z0-9_
SyntaxStart =
SyntaxEnd =
HexPrefix = 0x
CommentStart =
CommentEnd =
CommentStartAlt =
CommentEndAlt =
SingleComment = *
SingleCommentCol =
SingleCommentAlt = A-Za-z0-9_
SingleCommentColAlt = 31
SingleCommentEsc =
using: TextPad 4.7.2
I'm having trouble colouring text, syntax highlighting, after a certain coloum. Is this even possible?
What I would like is for textpad to designate all text between colum A-B to be given a certain colour.
ie: (NOTE: please pretend that the periods (.) are spaces)
* I am a comment
...BLOCK1...GENERATE...15,10,,,5.....I should be a comment comment too
so everything from...........................^ here should be comment colour
my syntax file looks like:
[Syntax]
Namespace1 = 6
IgnoreCase = No
KeyWordLength =
BracketChars = {[()]}
OperatorChars = -+*/<>!~%^&|=
InitKeyWordChars = A-Xa-x
KeyWordChars = A-Za-z0-9_
SyntaxStart =
SyntaxEnd =
HexPrefix = 0x
CommentStart =
CommentEnd =
CommentStartAlt =
CommentEndAlt =
SingleComment = *
SingleCommentCol =
SingleCommentAlt = A-Za-z0-9_
SingleCommentColAlt = 31
SingleCommentEsc =