Version: 2.1 (using KDE 3.1.1) Installed from: compiled sources Compiler: gcc version 3.2.2 OS: Linux (i686) release 2.4.20-gentoo-r1 Hi, I'm using the katepart inside gideon and it all works very well, but there is one small thing that ususally throws me abit. In several places gideon calls ViewCursorInterface::setCursorPosition to jump to a place in a file, the katepart makes sure the line is visible and scrolls the buffer. The problem is that this never seems to place the marked line in a predictable place in the buffer window, which means the user will spend a few moments looking for the cursor. It doesn't sound too bad, but it is actually quite disruptive.My simple wish then would be: Make setCursorPosition always scroll the buffer so that the requested line is shown vertically centered in the buffer window. This is a very small addition (featurewise, I dont know about the code), but I feel it would really enhance the usability of the feature.
Or also add an option to let the user decide whether to position the requested line at the top/middle/bottom of the buffer window. This way everyone can position it where they want. (Becuase I'd probably use top).
*** Bug 58638 has been marked as a duplicate of this bug. ***
*** This bug has been confirmed by popular vote. ***
top placement will be default, no config option, we have really enough, but user can specifiy the amout of lines which the cursor should always stay away from the border and that will respected