I'm afraid there is no such functionality at the moment, but if you know some programming, it should be possible to make an EditorScript that does what you need.