There is an example with an if / end in Lua:

The inner instructions (print) have 2 tabs ident, I want to fix them to only 1 tab. So I press ctrl+alt+super+s (Select text between brackets):

In this case, it's selecting also the first line (if), but I need only lines 2 and 3 (print):

In a reverse case, I would like to select only the start and end lines (if / end), for example, to get rid of them and leave only the inner lines (print):
