Hello,
my syntax allows multiple comments.
{ This is a beginning of a multiple comment
some code { line comment }
...
end of multiple comment }
Any ideas, how to hi(gh)light?
Thanks and best regards,
Mark
Multiple comments
Moderators: AmigoJack, bbadmin, helios, MudGuard
Nested comments cannot be handled, due to a trade-off in favor of saving memory in the design of TextPad. More specifically, to keep track of nested comments, the in-memory overhead of storing each line would double. This would be insignificant for many document types, such as program source files, which are unlikely to be very big, but TextPad is designed as a general purpose text editor, so has to be able to cope with huge files.
Keith MacDonald
Helios Software Solutions
Keith MacDonald
Helios Software Solutions