Version: 3.0.0a4 (using KDE 3.1.1) Compiler: gcc version 3.3 20030226 (prerelease) (SuSE Linux) OS: Linux (i686) release 2.4.20-4GB Sometimes when you click on an error message in the Messages window, the relevant C++ program file window opens at line 1 when the error is actually at a high line number (e.g. 1474). If you then re-open the Messages window and click again (with the program file still open), the correct line gets highlighted (i.e. the problem occurs when the program file is not yet open).
Isn't this the same katepart problem we're seeing everywhere? Anytime a call to open and go to a line in a large file, katepart potentially fails to do so. This happens from the greppart, debugger and replacepart also. I'm changing component back to general while searching for a katepart bug report for it and further comments on the issue.. :)
This is a kate problem and I suspect it has been fixed since. Reassigning to katepart and letting the kate-developers decide.
openFile now operates sync, therefor such setCursorPosition calls work now reproducable well ;)