Syntax highlighting for Pascal

General questions about using TextPad

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

Post Reply
Adnan Siddiqui

Syntax highlighting for Pascal

Post by Adnan Siddiqui »

I would realy appreciate it if someone can answer my questions:

1) I use pascal at work. We recently switched to TextPad. Can somebody tell me how can I define BEGIN, and END, as being start and end of a code block. I checked the help page of "Syntax Definition files" to see if there is any grammer I can use to modify my Pascal.syn file so that it will detect BEGIN and END as start and END of a code block, but I couldn't figure it out.

I would like to use CTRL-M to match the BEGIN & END's of code blocks.

2) How can I list the procedures, & functions of all the open files. We do have a way to list the filenames of all the open files in the window on the left. But I would like to list the procedures and functions in the same manner.

3) How can I define multiple code blocks into seperate buffers indentified through a name for each. For example, I like to be able to place lines 10-63 into buffer#1 indetified by b1, and lines 1033-1100 into buffer#2 indentified by b2, and so on.

Thanks in advance.

Adnan Siddiqui.
Post Reply