If it's 5MB source code file, I'm guessing it's auto-generated (or else Java is _way_more verbose than I imagined). If so, it could be all on one line which would make it really slow. If it's not all on one line but has many long lines and long-line wrapping is on, it could also take a long time.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/791#issuecomment-162704446