Embarcadero / Dev-Cpp

A fast, portable, simple, and free C/C++ IDE
https://www.embarcadero.com/free-tools/dev-cpp
GNU General Public License v2.0
2.43k stars 265 forks source link

Jump to function implementation fails if (only) its first line is hidden #270

Open IPEfluencer opened 9 months ago

IPEfluencer commented 9 months ago

When double-clicking on func1 at the function overview list (see left-hand side of the screenshot), the first line of func1 (here at line "1") is selected in the editor window (right-hand side) correctly, but this line is not visible then:

devcpptest_functionjump

I would have expected that the editor window will be scrolled so that the very first line is actually visible. This is how it works like in all other cases, i.e. when initially more than the first line of func1 is out of sight.

tarhifi commented 8 months ago

image

Located the source, but must check for any side effect, procedure EnsureCursorPosVisibleEx() is widely used...

tarhifi commented 7 months ago

... no side-efects encountered so far, good to go ...