Sign in Join

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

Mailing lists / lazarus / 2002-08

Some Bugs

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Jens Arm

Hi

Some Bugs:

1. If I do a "find declaration" on types like string, cardinal, boolean and other types like them, I get a SegFault.

2. If I use the form editor and try to move controls, it works to that point, that if some of that helper lines appear, nothing works anymore (you cannot select new controls).

Perhaps that is the same problem:
Drop eg. a button on a fresh form of a fresh started Lazarus. Then click frequently between the form and the Button to select Form->Button->Form and so on. After some clicks it is not possible to select the form again. Looks like a buffer is getting full ????? (You can move the control if you leftclick and move the mouse in the source-editor)

3. The Snap-to-Guidelines Option in the Environment-FormEditor-Options doesn't get saved and/or restored.

4. If I try to open a include-file "under the cursor", nothing is opened, but if I say find declaration on that include-file it gets opened.

Jens

Reply by email

Mattias Gaertner
to Jens Arm
3. The Snap-to-Guidelines Option in the Environment-FormEditor-Options doesn't get saved and/or restored.

fixed

4. If I try to open a include-file "under the cursor", nothing is opened, but if I say find declaration on that include-file it gets opened.

These are totally different functions.
The find declaration asks the builtin scanner for the include file, so all compiler options and directives are used. This is also true for the include path. The Open File At Cursor just guesses what a filename is and searches in the search path (=unit path). Therefore there are files, that Find Declaration can not find, but Open File At Cursor, and there are files that Open File At Cursor can't find but Find Declaration.

It is possible to extend 'Open File At Cursor' to look for $include statements and search via the include path.

Mattias

Reply by email