Properly mirror document_get_from_page() in document_get_notebook_page()
commit46f01bff59073905a01c799219fd0118c041f9c7
authorColomban Wendling <ban@herbesfolles.org>
Tue, 27 May 2014 15:55:00 +0000 (27 17:55 +0200)
committerColomban Wendling <ban@herbesfolles.org>
Tue, 27 May 2014 15:55:00 +0000 (27 17:55 +0200)
tree4b08697cfbc444210c6ec96cf8db7c860acc944c
parentd399957471fbbde0dcaea3691933e51ad9df973f
Properly mirror document_get_from_page() in document_get_notebook_page()

Now document_get_from_page() supports arbitrary nesting inside the
notebook page, update document_get_notebook_page() to support it also,
by searching up for the direct notebook child rather than assuming it
is the ScintillaWidget's direct parent.
src/document.c