Pages: 1
Print
Author Topic: Search and Replace  (Read 680 times)
Sebastian
Member

Posts: 7


« on: February 21, 2011, 09:55:09 AM »

Hey,

we have had some trouble with the Selection_object.Find.Execute(["strFind"], ["strReplace"], ["strConstraintString"], [boolMatchCase=false], [boolMatchWholeWords=false], [boolMatchPatterns=false], [boolForward=true], [boolWrap=true], [intFindReplaceAction=1], [boolSetFindDialogOptions=false]); function.

Our example: Performing a ReplaceAll action for the document content, "hello Hello", replaceing all "hello" by "cu" case sensitve.

Selection_object.Find.Execute("hello", "cu", "", true, false, false, true, true, 3, false);

Perfoming this action XMetall/XMax replaces both "hello" and "Hello" by "cu" - it seems to ignore the case senstive flag for ReplaceAll?
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 1546



WWW
« Reply #1 on: February 25, 2011, 01:25:57 PM »

We are aware of this issue. Affected versions that ignore the boolMatchCase parameter include:

XMAX 5.1.1.049
XMetaL Author (Enterprise and Essential) 5.1.1.017
XMAX 6.0.0.149

The issue was corrected with the release of XMetaL Author (Enterprise and Essential) version 6.0.1.030.
The fix should be included with the next release of XMAX.
Logged
Pages: 1
Print
Jump to:  

email us