No more flickering. The issue was that the ITextPresentationListener was replacing the applied style ranges the first time it was called.