Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-10

Codetools error?

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bart

Hi,

Just updated from 31810 to 33153, and now I have problems with codetools.

I use Find declaration (Ctrl+Click) to jump to a declaration, then I use "Find procedure method" (Ctrl+Shiff+Down) to jump to the mewthods implementation. All is fine.

Now I try to jump back to the procedure definition "Find procedure definition" (Ctrl+Shift+Up), and I get an error:
\lcl\controls.pp(25,14) Error: cursor pos outside of code

(This exact errormsg results from Ctrl+Click on RadioGroup1.SetFocus -> Ctrl+Shift+Down -> Ctrl+Shift+Up)

It seems not to happen with my own sourcefiles and libraries, only lcl units, and not witha all of them.

It seems to affect controls, dialogs, forms, graphics, stdctrls, extctrls. It does not seem to affect sysutils, fileutils.

After the error, the cursor will be located at the unit declaration of the unit involved (mentions in the errormsg), or at the bottom of this file.

Does anyone have the same problems?

B.t.w. the jump history seems to be working. I still can jump back using Ctrl+H (using that as a workaround now).

Bart

Reply by email