# Region and EndRegion not in sync with Expand and Contract button in IDE

**URL:** <https://clarionhub.com/t/region-and-endregion-not-in-sync-with-expand-and-contract-button-in-ide/6896>\
**Category:** questions\
**Tags:** ide\
**Created:** [January 5, 2024, 12:42am UTC](https://clarionhub.com/t/region-and-endregion-not-in-sync-with-expand-and-contract-button-in-ide/6896 "2024-01-05T00:42:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nardus\_Swanevelder](https://clarionhub.com/user_avatar/clarionhub.com/nardus_swanevelder/32/1066_2.png) [@Nardus\_Swanevelder](https://clarionhub.com/u/Nardus_Swanevelder)\
**Post date:** [January 5, 2024, 12:42am UTC](https://clarionhub.com/t/region-and-endregion-not-in-sync-with-expand-and-contract-button-in-ide/6896/1 "2024-01-05T00:42:56Z")

</div>

![image](https://clarionhub.com/images/transparent.png)

In one of my app files, the IDE is out of sync with the !Region and !EndRegion tags. It also jumps to the wrong line when I click on an error after a compile.

Any idea how to fix this?
