Fixed CodeScanner to keep bracket depth when updating dirty regions

Closed Miklos Magyari requested to merge codescanner into master

Signed-off-by: Miklos Magyari miklos.magyari@sigmatechnology.se

Merge request reports