• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/include/wx/richtext/

Lines Matching defs:range

204     virtual bool SetStyle(const wxRichTextRange& range, const wxRichTextAttr& style);
209 // get the common set of styles for the range
210 virtual bool GetStyleForRange(const wxRichTextRange& range, wxRichTextAttr& style);
211 virtual bool GetStyleForRange(const wxRichTextRange& range, wxTextAttrEx& style);
217 virtual bool SetStyleEx(const wxRichTextRange& range, const wxTextAttrEx& style, int flags = wxRICHTEXT_SETSTYLE_WITH_UNDO);
218 virtual bool SetStyleEx(const wxRichTextRange& range, const wxRichTextAttr& style, int flags = wxRICHTEXT_SETSTYLE_WITH_UNDO);
233 virtual bool SetListStyle(const wxRichTextRange& range, wxRichTextListStyleDefinition* def, int flags = wxRICHTEXT_SETSTYLE_WITH_UNDO, int startFrom = 1, int specifiedLevel = -1);
234 virtual bool SetListStyle(const wxRichTextRange& range, const wxString& defName, int flags = wxRICHTEXT_SETSTYLE_WITH_UNDO, int startFrom = 1, int specifiedLevel = -1);
236 /// Clear list for given range
237 virtual bool ClearListStyle(const wxRichTextRange& range, int flags = wxRICHTEXT_SETSTYLE_WITH_UNDO);
239 /// Number/renumber any list elements in the given range
241 virtual bool NumberList(const wxRichTextRange& range, wxRichTextListStyleDefinition* def = NULL, int flags = wxRICHTEXT_SETSTYLE_WITH_UNDO, int startFrom = 1, int specifiedLevel = -1);
242 virtual bool NumberList(const wxRichTextRange& range, const wxString& defName, int flags = wxRICHTEXT_SETSTYLE_WITH_UNDO, int startFrom = 1, int specifiedLevel = -1);
244 /// Promote the list items within the given range. promoteBy can be a positive or negative number, e.g. 1 or -1
246 virtual bool PromoteList(int promoteBy, const wxRichTextRange& range, wxRichTextListStyleDefinition* def = NULL, int flags = wxRICHTEXT_SETSTYLE_WITH_UNDO, int specifiedLevel = -1);
247 virtual bool PromoteList(int promoteBy, const wxRichTextRange& range, const wxString& defName, int flags = wxRICHTEXT_SETSTYLE_WITH_UNDO, int specifiedLevel = -1);
249 /// Deletes the content in the given range
250 virtual bool Delete(const wxRichTextRange& range);
466 /// Get/set the selection range in character positions. -1, -1 means no selection.
467 /// The range is in API convention, i.e. a single character selection is denoted
470 void SetSelectionRange(const wxRichTextRange& range);
472 /// Get/set the selection range in character positions. -1, -1 means no selection.
473 /// The range is in internal format, i.e. a single character selection is denoted
476 void SetInternalSelectionRange(const wxRichTextRange& range) { m_selectionRange = range; }
555 /// Test if this whole range has character attributes of the specified kind. If any
556 /// of the attributes are different within the range, the test fails. You
559 virtual bool HasCharacterAttributes(const wxRichTextRange& range, const wxTextAttrEx& style) const
561 return GetBuffer().HasCharacterAttributes(range.ToInternal(), style);
563 virtual bool HasCharacterAttributes(const wxRichTextRange& range, const wxRichTextAttr& style) const
565 return GetBuffer().HasCharacterAttributes(range.ToInternal(), style);
568 /// Test if this whole range has paragraph attributes of the specified kind. If any
569 /// of the attributes are different within the range, the test fails. You
572 virtual bool HasParagraphAttributes(const wxRichTextRange& range, const wxTextAttrEx& style) const
574 return GetBuffer().HasParagraphAttributes(range.ToInternal(), style);
576 virtual bool HasParagraphAttributes(const wxRichTextRange& range, const wxRichTextAttr& style) const
578 return GetBuffer().HasParagraphAttributes(range.ToInternal(), style);
841 /// Selection range in character positions. -2, -2 means no selection.
909 void SetRange(const wxRichTextRange& range) { m_range = range; }