Select current command

There are a few commands available in editor (for plugins use).
Although there is selectAll (
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.