24 #ifndef __ITextFocus__ 25 #define __ITextFocus__ 27 #include "IPMUnknown.h" 29 #include "RangeData.h" 30 #include "ITextFocusManager.h" 45 enum { kDefaultIID = IID_ITEXTFOCUS };
65 virtual void SetRange(bool16 allowNotify,
const RangeData& range, bool16 excludeCacheEnd = kTrue) = 0;
77 virtual TextIndex
GetStart(RangeData::Lean* lean)
const = 0;
82 virtual TextIndex
GetEnd()
const = 0;
87 virtual bool16
IsRange()
const = 0;
92 virtual uint32
Length()
const = 0;
99 virtual void Inserted(TextIndex start, int32 count, bool16 allowNotify) = 0;
106 virtual void Deleted(TextIndex start, int32 count, bool16 allowNotify) = 0;
117 virtual void NotifyChanged(bool16 excludeCacheEnd = kTrue) = 0;
118 virtual void DeRegisterFromModel(
void) = 0;