I need to use the context menu of and editor's vertical ruler. When I used the recorder to do it the canvas was used to locate the vertical ruler. I have set a name to that canvas to avoid ambiguity. However, when I use the context click API the click takes place at the middle of the control. Since the behavior of the context menu varies depending on where the ruler is clicked, is there a way I can specify the specific location I want to click on?
This is the API call I am using:
- Code: Select all
ui.contextClick(new NamedWidgetLocator("editor.vertical_ruler_control"), "Toggle Brea&kpoint");