In cbEditor.h, see a function prototype:
/** Move the caret at the specified line.
* @param line Line to move caret to.
* @param centerOnScreen If true (default), tries to bring the specified line to the centre of the editor.*/
void GotoLine(int line, bool centerOnScreen = true);
So, it should be quite easy to implement this feature.
About the other feature, put the focus on the editor window, probably it is easy too.