Select current command

There are a few commands available in editor (for plugins use).
Although there is selectAll (https://github.com/laurent22/joplin/blob/17d835d694cf8afd459443f1ba279d8a9100eae5/packages/app-desktop/gui/NoteEditor/commands/editorCommandDeclarations.ts#L27)
it might be useful to have selectLine that cursor is currently at.

My use case would be for example copying line, extracting noteid from it and going to note without having to explicitly highlight it.