Dev-Cpp icon indicating copy to clipboard operation
Dev-Cpp copied to clipboard

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

Open IPEfluencer opened this issue 2 years ago • 2 comments
trafficstars

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.

IPEfluencer avatar Sep 15 '23 10:09 IPEfluencer

image

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

tarhifi avatar Oct 23 '23 21:10 tarhifi

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

tarhifi avatar Nov 10 '23 06:11 tarhifi