Re: [Lazarus] Mouse Link in SynEdit (only link-able items)

2008-12-13 Thread Hans-Peter Diettrich
Martin Friebe schrieb: >> Interesting information. Where would I have to start implementing >> multiple source editors (notebooks)? > IMHO the first consideration would be that if you have multiply windows, > or split windows allowing more than one source viewed; I'm interested in independent

Re: [Lazarus] Mouse Link in SynEdit (only link-able items)

2008-12-13 Thread Martin Friebe
Hans-Peter Diettrich wrote: > Mattias Gärtner schrieb: > > >> The IDE is structured in a hierarchy. >> >> mainide: the top level of the IDE and the central nerve system. Because of >> its >> size it's splitted into several units. This is the 'integrated' in IDE. It >> connects the various modul

Re: [Lazarus] Mouse Link in SynEdit (only link-able items)

2008-12-12 Thread Hans-Peter Diettrich
Mattias Gärtner schrieb: > The IDE is structured in a hierarchy. > > mainide: the top level of the IDE and the central nerve system. Because of its > size it's splitted into several units. This is the 'integrated' in IDE. It > connects the various modules like debugger, package system, codetools,

Re: [Lazarus] Mouse Link in SynEdit (only link-able items)

2008-12-12 Thread Alexander Klenin
On Sat, Dec 13, 2008 at 05:20, Martin Friebe wrote: > Thanks for the patch, looks good to me. > > A few things: > - Originally you had the condition "NewX1<>NewX2 " moved into > IsLinkable. Now it is omitted? > May be right, because codetools may (or may not) return false for > those. Yet it mean

Re: [Lazarus] Mouse Link in SynEdit (only link-able items)

2008-12-12 Thread Martin Friebe
Hi Alexander, Mattias did apply your patch (since I am restricted to the synedit folder). If you feel like doing the optimization, it will always be welcome, but is no must. Martin Friebe wrote: > Thanks for the patch, looks good to me. > > ... > - And last not least (not a stopper, but woul

Re: [Lazarus] Mouse Link in SynEdit (only link-able items)

2008-12-12 Thread Martin Friebe
Thanks for the patch, looks good to me. A few things: - Originally you had the condition "NewX1<>NewX2 " moved into IsLinkable. Now it is omitted? May be right, because codetools may (or may not) return false for those. Yet it means an unnecessary call to code tools. - You probably accidentall

Re: [Lazarus] Mouse Link in SynEdit (only link-able items)

2008-12-12 Thread Alexander Klenin
On Fri, Dec 12, 2008 at 21:36, Joost van der Sluis wrote: > Nope, still no attachment. Maybe that it's too big. There's a limit of > the filesize of attachments on this list. I meant attached to an issue: http://bugs.freepascal.org/view.php?id=12785 Anyway, I'll attach it to this message too, jus

Re: [Lazarus] Mouse Link in SynEdit (only link-able items)

2008-12-12 Thread Joost van der Sluis
Op vrijdag 12-12-2008 om 21:14 uur [tijdzone +1000], schreef Alexander Klenin: > On Fri, Dec 12, 2008 at 20:38, Martin Friebe wrote: > > I haven't seen the patch? Can you check you really attached it. > > Sorry, attached now. Nope, still no attachment. Maybe that it's too big. There's a limit of

Re: [Lazarus] Mouse Link in SynEdit (only link-able items)

2008-12-12 Thread Alexander Klenin
On Fri, Dec 12, 2008 at 20:38, Martin Friebe wrote: > I haven't seen the patch? Can you check you really attached it. Sorry, attached now. It is a pity Mantis does not allow to attach a patch and add a note within a single operation. > As for the events... There is probably (I haven't seen the c

Re: [Lazarus] Mouse Link in SynEdit (only link-able items)

2008-12-12 Thread Martin Friebe
Alexander Klenin wrote: >> Zitat von Alexander Klenin : >> >>> I should note that I was horrified by the amount of "glue" code needed >>> to route an event through main form, source notebook, source editor and >>> SynEdit. >>> >> The IDE is structured in a hierarchy. >> >> mainide: the

Re: [Lazarus] Mouse Link in SynEdit (only link-able items)

2008-12-12 Thread Alexander Klenin
On Fri, Dec 12, 2008 at 18:41, Mattias Gärtner wrote: > Zitat von Alexander Klenin : >> I should note that I was horrified by the amount of "glue" code needed >> to route an event through main form, source notebook, source editor and >> SynEdit. > > The IDE is structured in a hierarchy. > > mainid

Re: [Lazarus] Mouse Link in SynEdit (only link-able items)

2008-12-12 Thread Mattias Gärtner
Zitat von Alexander Klenin : > On Fri, Dec 12, 2008 at 02:12, Martin Friebe wrote: > >>> Alexander Klenin wrote: > >> So if you have time and expertise, please read the mail threads > >> mentioned in the bug report > >> and provide me with insight ;-) > > > I'll look further into it. A few things

Re: [Lazarus] Mouse Link in SynEdit (only link-able items)

2008-12-11 Thread Alexander Klenin
On Fri, Dec 12, 2008 at 02:12, Martin Friebe wrote: >>> Alexander Klenin wrote: >> So if you have time and expertise, please read the mail threads >> mentioned in the bug report >> and provide me with insight ;-) > I'll look further into it. A few things: > - GetHighlighterAttriAtRowColEx may no

[Lazarus] Mouse Link in SynEdit (only link-able items)

2008-12-11 Thread Martin Friebe
I am opening a new mail thread, otherwise it will be mixed with the TAChart topic in the archives. Alexander Klenin wrote: > On Thu, Dec 11, 2008 at 23:49, Martin Friebe <[EMAIL PROTECTED]> wrote: > >> Alexander Klenin wrote: >> > and yet another one for patches to SynEdit (both stall