Tags and COBOL (again)

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
pwdiener
Posts: 134
Joined: Wed Jul 11, 2007 3:45 pm

Tags and COBOL (again)

Post by pwdiener »

Jussi,

What do the TagsSearchWordCurrent1 through TagsSearchWordCurrent4 functions do?

I'm looking for a way to run a tag search on a partial name. For instance, I have a tag name "AUXITEMR.cpy [EPAUXITEM.cbl]", and I'd like the search results for name = "AUXITEMR.cpy". I'm not sure if SQLite supports LIKE, but basically what I'd like to see is the ability to do a search for tag_item.name LIKE 'name%' in addition to the current equality. Any ideas?

When I do a tag search, do all the installed tag files for the document type get searched in addition to the workspace tags file?

Is there any way to search a specific tags DB only?

I often get the message "The Tags Database intellisensing feature is disabled for this document type" when using F11 to do a tags search. It appears to mean that the word was not found in the tags db(s). Is that the correct interpretation?
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

What do the TagsSearchWordCurrent1 through TagsSearchWordCurrent4 functions do?

The first tag support in Zeus was via external tag files. These functions where used to search the external tag files using the information provided by the user in the Options Editor Options menu, Tags panel.

With the addition of the internal tag database feature these functions where made obsolete.
I'm looking for a way to run a tag search on a partial name. Any ideas?

The tag search dialog allows wild card searching.

For example:
  1. Open this workspace file: c:\Program Files\Zeus\zOxygen\example\xOxygen.zwi
  2. Select the Tags, Tags Search Results menu
  3. Type in OxyP* or oxyP* and hit the Search button.
When I do a tag search, do all the installed tag files for the document type get searched in addition to the workspace tags file?

Yes.
Is there any way to search a specific tags DB only?

No.
I often get the message "The Tags Database intellisensing feature is disabled for this document type" when using F11 to do a tags search. It appears to mean that the word was not found in the tags db(s). Is that the correct interpretation?
Is your F1 key bound to the TagsSearchWordCurrent function :?:

In the Document Type there is is a Tags Database panel and on this panel there is an option to turn off the intellisensing.

I would have expected to only see this message if an intellisense command was run on a document type that has intellisensing disabled.

I will check to make sure this is the case ;)

Cheers Jussi
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

It appears to mean that the word was not found in the tags db(s). Is that the correct interpretation?
I had a look at the code and it appears that this is exactly what is occurring when this message is displayed :o

The code will be changed to report a more meaningful message ;)

Cheers Jussi
pwdiener
Posts: 134
Joined: Wed Jul 11, 2007 3:45 pm

Post by pwdiener »

Thanks for the quick reply. The wild card search works well, except when the tag name has a period in it. I get an empty result set in that case, even though I can see those tags is the class browser.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

The wild card search works well, except when the tag name has a period in it. I get an empty result set in that case, even though I can see those tags is the class browser.
Can you send me a COBOL file with an example of such a tag.

Cheers Jussi
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

This issue should now be fixed in the latest Zeus patch found here: http://www.zeusedit.com/forum/viewtopic.php?p=4119

Cheers Jussi
Post Reply