Robert Roessler:

> As for the [uptr_t] idFrom, I may be slow, but why go to the trouble
> of passing the id IN as a uptr_t in set_id, getting it OUT as a uptr_t
> in the NotifyHeader, but storing it in between as an int in the Editor
> class struct?
>
> I know that you mention that it *may* get truncated, but this is
> pretty brutal - it never even gets a chance! :)

   Since we need to match the layout of NMHDR on Windows now, I
thought it made sense to redefine other corresponding interfaces so
that the Scintilla interface won't have to change a second time if we
decide to really support pointer-sized IDs. I started making the
changes required for a real implementation but there were more changes
than I liked (mostly on Windows) for a feature that hasn't even been
asked for yet so dropped them. There is other work that needs doing so
this can wait for someone to want it.

   Neil

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to