Ask Your Question

Command Go To Cursor

asked 2017-06-24 20:32:37 +0200

ventolinmono gravatar image

updated 2017-07-12 22:55:55 +0200


Is there a command or shortcut to go where the cursor is (jump to) if the viewer is somewhere else like on another page. This is very useful when editing large documents and jumping between pages.

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted

answered 2017-06-24 20:39:14 +0200

Lupp gravatar image

Why would moving the cursor one step to the left or to the right (by hitting the respective key) not work for you?

edit flag offensive delete link more


Of course, that works! :p Thanks!

ventolinmono gravatar imageventolinmono ( 2017-06-24 23:04:39 +0200 )edit

I recently found out that this method doesn't work when searching for text anywhere on the document, because the cursor moves to the text search result and there is no way of going back where you left.

ventolinmono gravatar imageventolinmono ( 2017-07-12 22:50:41 +0200 )edit

answered 2017-07-12 22:55:10 +0200

ventolinmono gravatar image

No other answers. Can this be promoted to a feature request?

edit flag offensive delete link more

answered 2017-07-13 03:36:48 +0200

librebel gravatar image

Hello @ventolinmono,

You could run the following macro:

Sub GotoViewCursor()
REM Jump towards the current cursor position.
    Dim oCursor As Object
    oCursor = ThisComponent.CurrentController.getViewCursor()
    oCursor.goLeft( 0, Not oCursor.isCollapsed() )
End Sub

you could also connect a keyboard shortcut and/or a custom Toolbar button to run this macro.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-06-24 20:32:37 +0200

Seen: 303 times

Last updated: Jul 13 '17