To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=66518
User os changed the following: What |Old value |New value ================================================================================ Component|framework |Word processor -------------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED -------------------------------------------------------------------------------- QA contact|[EMAIL PROTECTED] |[EMAIL PROTECTED] -------------------------------------------------------------------------------- Resolution| |WORKSFORME -------------------------------------------------------------------------------- ------- Additional comments from [EMAIL PROTECTED] Tue Jun 27 00:05:50 -0700 2006 ------- I tried it with a basic-macro (to be attached to a document) under Windows and I don't see a problem It returns 1 for the first call and -1 for the second. Sub Main xtext = thiscomponent.gettext xviewcursor = thiscomponent.currentcontroller.getviewcursor xviewcursor.gotoStart(false) xviewcursor.gotoEnd(true) sString = "That's a test." xviewcursor.setString(sSTRING) print xtext.compareRegionEnds(xviewcursor.getStart(), xviewcursor) print xtext.compareRegionEnds(xviewcursor, xviewcursor.getStart() End Sub --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]