Hi,
I moved this Lazarus related thread here from FPC-devel list.
Show quoted text 11 lines
Yes, the problem was elsewhere.
The tool tries to find the source file in project directory, "lazarus/ide" in this case, but the problematic file was in "lazarus/converter" directory. When I created a similar problem in a file in ide directory, it worked as expected.
> Now I tested with a "normal" project and it works. It is a cool feature > actually. > I noticed a minor bug: the Scope combobox gets "Project" by default. If I > click the down-arrow to see a list then the first "Lazarus IDE" gets
selected
> automatically. I guess you forgot to set Combobox.ItemIndex and only set
its
> text. It didn't matter for me. I now set the ItemIndex. Does that fix it?
There seems to be again a difference between GTK2 and QT bindings behavior for combobox. I don't know which one is more correct though. QT version seems to select the item pointed by ItemIndex, GTK2 version does not.
Now it is worse than before because you set a wrong ItemIndex (I guess, didn't look at code). "Project" is the second item so ItemIndex should be 1 but it is apparently 0 instead and "Lazarus IDE" gets selected without touching anything. That is for QT version.
GTK2 version also shows "Lazarus IDE" hilighted when opening the list but doesn't select it unless you press enter.
Show quoted text 13 lines
Right, thanks, now I understood the logic.
'with packages' is selected by default (which is good) and it always found FCL functions.
Regards,
Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100301/4eb77035/attachment-0001.html>
