On 04/04/2011 16:20, patspiper wrote:
Hi,
1- How can TSynCompletion's ItemList be filled depending on what is
before the dot(.)? I know the Lazarus IDE does it, but I couldn't
figure it out.
TEdit.|
If Ctrl+Space is pressed, then the list of TEdit properties should
popup. Currentstring is empty. How can we read the word before the dot?
There is an example on how to use it, in the example folder.
It should show you which callbacks are triggered, so you can place code
of your own there.
2- Any reason why TSynCompletion is not a palette component, and has
to be created through code?
Yes and no.
It needs some real refactor, and deprecating a method/property will
allow people to change there code easily (if enough time is given before
the final remove) => but as soon as stuff get's into the lfm, it gets
way harder.
Though I have no idea, when, if ever, I get to that.
Martin
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus