Is there a build system variable that will get you the text from the current active view or would that have to be a plugin?