Bug 419399 - Preference for Format with no selection

The user now has a choice between formatting the entire file and
formatting the statement on the current line.

This patch depends on the change in platform.text
https://git.eclipse.org/r/#/c/31337/

Change-Id: I6ae5b925a8ebdce0eec7ff34f7b3f84da0d9c326
Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Reviewed-on: https://git.eclipse.org/r/31338