To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=80762
Issue #|80762
Summary|error with createTextCursorByRange
Component|Word processor
Version|680m218
Platform|All
URL|
OS/Version|All
Status|UNCONFIRMED
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|programming
Assigned to|mru
Reported by|knipes
------- Additional comments from [EMAIL PROTECTED] Fri Aug 17 00:39:42 +0000
2007 -------
the code below doesn't work as it should. when used within a table it also gets
all the text in the next cell in the table. I'm using it to apply bold (as well
as other character attributes) and it works perfectly fine outside of tables.
oVC = thisComponent.currentController.ViewCursor
oTextCursor = oVC.Text.createTextCursorByRange(oVC)
If oVC.isCollapsed() Then
oTextCursor.gotoStartOfWord (False)
oTextCursor.gotoEndOfWord (True)
End If
I've put this under the most recent version that I've observed it in (WinXP). I
have also observed it on a Mac.
---------------------------------------------------------------------
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]