2 writes to _defaultTextStore
PresentationCore (2)
System\Windows\Input\TextServicesContext.cs (2)
100
_defaultTextStore
= null;
198
_defaultTextStore
= defaultTextStore;
17 references to _defaultTextStore
PresentationCore (17)
System\Windows\Input\TextServicesContext.cs (17)
82
if (
_defaultTextStore
!= null)
85
if (
_defaultTextStore
.DocumentManager != null)
87
_defaultTextStore
.DocumentManager.Pop(UnsafeNativeMethods.PopFlags.TF_POPF_ALL);
88
Marshal.ReleaseComObject(
_defaultTextStore
.DocumentManager);
89
_defaultTextStore
.DocumentManager = null;
221
doc.CreateContext(_clientId, 0 /* flags */,
_defaultTextStore
, out context, out editCookie);
228
_defaultTextStore
.DocumentManager = doc;
229
_defaultTextStore
.EditCookie = editCookie;
351
compmgr =
_defaultTextStore
.DocumentManager as UnsafeNativeMethods.ITfCompartmentMgr;
361
source =
_defaultTextStore
.DocumentManager as UnsafeNativeMethods.ITfSource;
365
source.AdviseSink(ref guid,
_defaultTextStore
, out transitoryExtensionSinkCookie);
366
_defaultTextStore
.TransitoryExtensionSinkCookie = transitoryExtensionSinkCookie;
376
if (
_defaultTextStore
.TransitoryExtensionSinkCookie != UnsafeNativeMethods.TF_INVALID_COOKIE)
379
source =
_defaultTextStore
.DocumentManager as UnsafeNativeMethods.ITfSource;
383
source.UnadviseSink(
_defaultTextStore
.TransitoryExtensionSinkCookie);
385
_defaultTextStore
.TransitoryExtensionSinkCookie = UnsafeNativeMethods.TF_INVALID_COOKIE;
390
compmgr =
_defaultTextStore
.DocumentManager as UnsafeNativeMethods.ITfCompartmentMgr;