[bt-devel] problem

Joachim Ansorg bt-devel@crosswire.org
Wed, 28 Jun 2000 18:07:54 +0000


Am Mit, 28 Jun 2000 schrieben Sie:
> Hi,
>
> Am Mit, 28 Jun 2000 schrieb Joachim Ansorg:
> > Hi Martin!
> >
> > Am Die, 27 Jun 2000 schrieben Sie:
> > > Hi Joachim,
> > >
> > > please look at csearchdialogresultview::viewportmousemoveevent.
> > > I seem to be unable to acess currentItem->getModule(). (bt crashes)
> > > Why?
> >
> > It was a bug in getModule(), I added the correct code and fixed the
> > function. DnD works now! Really cool!
> > BTW, to have DnD everywhere we need to have it in CEditWidget ;-)
> > Dragging a verse reference into the edit widget wil paste the text ;-)
>
> Try it. Is that what you mean? Or do you want to have the whole verse
> inserted?

I was thinking about something oike this:
(Drag a reference to 1. Mose 1:1)

This will be pasted:

1. Mose 1:1
Am Anfang schuf Gott Himmel und Erde.

Something like this.
Tomorow is beta day ;-)

> btw: what is ASSERT() for?

To check if a pointer is valid. If it's not vaild the linenumber of the 
sourcecode is prointed on runtime (Isn't it nice?).
I like it.

> Martin
>
> > > thank you for your patience
> > >
> > > Martin
> >
> > --Joachim