Skip to content
Snippets Groups Projects
user avatar
Nikolai Kosjar authored
In case there was no selection, the action "Format Selected Text" could
format the whole file (option) as a fallback.

However, there is also the use case of formatting the syntactic entity
under the cursor. Introducing another separate action for this feels
wrong, so remove the fallback instead since there is already an action
handling this.

Change-Id: Ia73f6074433e706bb4c2d375ad5b84dd59bc93a3
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: default avatarIvan Donchevskii <ivan.donchevskii@qt.io>
Reviewed-by: default avatarTim Jenssen <tim.jenssen@qt.io>
Reviewed-by: default avatarLorenz Haas <lorenz.haas@histomatics.de>
89fa23a9
History