<div dir="ltr"><div class="gmail_extra"><br>2014-04-17 16:20 GMT+08:00 Nikolay Sivov <<a href="mailto:bunglehead@gmail.com">bunglehead@gmail.com</a>>:<br>><br>> It's possible that new instance will be returned after selection changed. This way you'll end up with two alive instances.<br>

></div><div class="gmail_extra"><br></div><div class="gmail_extra">No. According these test: <a href="https://github.com/Jactry/wine/commit/4e0c5e8f2f169560ef8d8d7ae0d0620b8ddcd11e">https://github.com/Jactry/wine/commit/4e0c5e8f2f169560ef8d8d7ae0d0620b8ddcd11e</a></div>

<div class="gmail_extra">GetSelection will not return a new instance after selection changed.</div><div class="gmail_extra"><br>> Another thing to test if ITextDocument responds to IID_ITextSelection query.<br>><br>

>> I will try some other ways to fix this bug.</div><div class="gmail_extra">> First thing to do is to figure out what relations are between these interfaces.<br><br>You are right, I need having more tests.<br clear="all">

<div><br></div>-- <br><div dir="ltr"><div>Regards,<br></div><div>Jactry Zeng</div><div><br></div></div>
</div></div>