To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=109360
------- Additional comments from [email protected] Wed Feb 17 16:55:16 +0000 2010 ------- ->eberlein: There was no change I just checked the code below in a 2.0: If the first paragraph contains "123456789" it prints: 56 6 456 If the two marked changes are done: 56 567 5 The two move commands at the beginning determine which position of the cursor moves and which one is fixed. Following the description of the Expand parameter it might make sense to always expand but it doesn't help much if you want to reduce the selection. That's why a new interface is necessary. Sub Main xtextcursor = thiscomponent.gettext.createtextcursor xtextcursor.goright( 6, false )'replace with 4 xtextcursor.goleft( 2, true )'replace with goright print xtextcursor.getstring xtextcursor.goright( 1, true ) print xtextcursor.getstring xtextcursor.goleft( 2, true ) print xtextcursor.getstring 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]
