Command ID 42 - move cursor to a paragraph with a certain name |
[Top] [Chapter] [Previous] [Next] |
You can use this command to move the cursor to a paragraph with a certain name. (Use CurrPar.ParStrCommand with id 4 to set the name)
param is a bitfield:
bit 1: 0 : Search for the name (case insensitive) 1 : Search for a paragraph which contains the text.
bit 2: (=4) 0 : Position the cursor as if the user would have moved it there 1 : Position the cursor using low level assignment. This makes it possible to reach paragraphs which are not accessible otherwise.
bit 3: (=8) 0 : Return "1" if the cursor was moved, "", if not. 1 : Return the text in the found paragraph. |