TextBrowser: fix markers & highlights when reaching the max block count