43 class CLASS_DECL_ACME text_property :
44 public ::data::property
51 ::data::property_will_change m_propertywillchange;
52 ::data::property_changed m_propertychanged;
55 ::comparable_array < ::data::text_will_change > m_textwillchangea;
56 ::comparable_array < ::data::text_changed > m_textchangeda;
60 void unhook_callbacks();
61 void hook_callbacks();
68 text_property(const ::data::property & property);
77 void set_text_property(const ::data::text_property & textproperty);
111 void insert_text(const ::scoped_string & scopedstr,
bool bForceNewStep, const ::action_context & actioncontext);
124 ::comparable_array < ::data::text_will_change > & text_will_change();
125 ::comparable_array < ::data::text_changed > & text_changed();
133 bool on_text_will_change(
text_change & textchange);
188 ::string as_text()
const;
189 ::character_count selection_begin()
const;
190 ::character_count selection_end()
const;
192 ::string as_text(character_count iBegin, character_count iEnd)
const;
194 bool set_selection_text(const ::scoped_string & scopedstrNewSelectionText, const ::action_context & actioncontext);
196 bool set_text(const ::scoped_string & scopedstrText, const ::action_context & actioncontext);
198 character_count get_size()
const;
200 character_count get_text_length()
const;
205 ::string get_text()
const;
207 ::string get_text(character_count iBegin, character_count iEnd)
const;
212 void set_text(const ::scoped_string & scopedstrText, character_count iLen, const ::action_context & actioncontext);
216 void get_selection(character_count & iBegin, character_count & iEnd)
const;
247 void set_selection(character_count iBegin, character_count iEnd, const ::action_context & actioncontext);
269 void set_selection_begin(character_count iBegin, const ::action_context & actioncontext);
271 void set_selection_end(character_count iEnd, const ::action_context & actioncontext);
272 ::string get_selection_text()
const;
327 bool operator == (
const text_property & textproperty)
const;
328 bool operator == (
const text_change & change)
const;
Definition action_context.h:9
Definition text_property.h:45
Definition aaa_text_handler.h:25
Definition text_property.h:13