Comment line

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
John

Comment line

Post by John »

To let textpad treat any line starting with a letter "C" in the first column as a single comment line, so I set in the syntax definition file

CommentStart = C
SingleCommentCol = 1

However, it doesn't work for a line such as

"C1234567890"

Is there any soluation?

Thanks,

John
Ed

Re: Comment line

Post by Ed »

Not good news. Your lack of replies probably means we've all been fiddling with syntax files and getting the same result as you. It looks to me like a bug in TextPad.
Are you looking at Fortran, if so are you aware of being able to download syntax files for this? (Not that it helps with this problem)
John

Re: Comment line

Post by John »

Yes. Currently I have to deal with some old fortran codes, and this is where the problem comes from. It should be a bug in Textpad. From my experence, the fortran language always has some troubles with the syntax highlighting. By the way, another text editor "editplus 2.11", which is very similar with Textpad 4.5, can deal this kind of commment line well.

Thanks for the reply,

John
Post Reply