We're using Zeus to store pseudocode for the QTP code we're written. This will be used for our maintenance documents. Part of the pseudocode is an Overview and for that part, I have used a Text document type.
Since I'm not sure how to make Zeus recognize Outline numbering for indentation, or some of the other Text document needs (like hanging indents), I'm trying to do some formatting using Find/Replace.
Does Zeus recognize the DOS EOL char? In Word, I can use ^p for it. But it's not working here.
Any ideas?
Thanks,
Find/Replace paragraph mark in text files
Could you post an example of some formated QTP odeSince I'm not sure how to make Zeus recognize Outline numbering for indentation, or some of the other Text document needs (like hanging indents),

To find the end of a line you can search for this string: \nDoes Zeus recognize the DOS EOL char? In Word, I can use ^p for it. But it's not working here.
You can also find the end of the line by searching for $ character if you are using the regular expression search option.
Any ideas?
If I understand the problem, you want to move up/down in the document to a point with a given indent level based on the current indent level. Is this correct

This should be fairly easy to achieve with a small macro script.
Cheers Jussi
Sorry, I wasn't very clear. In actuality, the file is text, using English to create pseudocode. I set up a document type for this, using the words I'm using for the Pseudocode as keywords. It's working great.
Then, I set the word wrap feature and used it on the text. This created the paragraph mark (as seen when using Word and you do "Show Paragraph marks"-- the backwords 'P'). That mark does not seem to be recognized by using '\n'. I tried that already.
The outline numbering would also be text. Just as in a regular Word document. Such as "1.0"; "1.1", "1.2", etc. I'm wondering if something can be setup, written, whatever to that I could imitate regular outline indenting?
You said, "If I understand the problem, you want to move up/down in the document to a point with a given indent level based on the current indent level. Is this correct ?" I think that is correct, but I don't know how to write a macro. Could you help? I'm finding the help files to just miss giving the information I need.
Hope this clarifies.
Then, I set the word wrap feature and used it on the text. This created the paragraph mark (as seen when using Word and you do "Show Paragraph marks"-- the backwords 'P'). That mark does not seem to be recognized by using '\n'. I tried that already.
The outline numbering would also be text. Just as in a regular Word document. Such as "1.0"; "1.1", "1.2", etc. I'm wondering if something can be setup, written, whatever to that I could imitate regular outline indenting?
You said, "If I understand the problem, you want to move up/down in the document to a point with a given indent level based on the current indent level. Is this correct ?" I think that is correct, but I don't know how to write a macro. Could you help? I'm finding the help files to just miss giving the information I need.
Hope this clarifies.
I turned on paragraph marks in Word and then opened a stock standard text file a sure Word could identify the paragraphs.This created the paragraph mark (as seen when using Word and you do "Show Paragraph marks"
Unfortunately, there is no such similar feature in Zeus

I am pretty sure there will be some sort of navigation that could be configured/crafted for what you need.The outline numbering would also be text. Just as in a regular Word document. Such as "1.0"; "1.1", "1.2", etc. I'm wondering if something can be setup, written, whatever to that I could imitate regular outline indenting?
For example the function regular expression field found in the document type might work

But for me to offer any sort of useful feedback I will need to see a short example of what your code looks like

I think that is correct, but I don't know how to write a macro.
If you do the following:
- Macro Record Start/Stop menu
- File New menu
- Type in 'this is my first macro'
- Macro Record Start/Stop menu
- Macro View Source menu

You can run this macro using the Run option on the Macros menu.
Cheers Jussi