Optimize TextHelper.block_user_data

This speeds up parenthesis matching and python autoindent mode.
Ignore test file