IDE: Disable tab change when readonly mode.