Removed new function

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2006-11-16 07:33:19 +00:00
parent 852a7df6d5
commit 7d5232b815
2 changed files with 4 additions and 1 deletions

View File

@@ -184,10 +184,11 @@ public:
virtual bool GetStyle(long position, wxTextAttrEx& style); virtual bool GetStyle(long position, wxTextAttrEx& style);
virtual bool GetStyle(long position, wxRichTextAttr& style); virtual bool GetStyle(long position, wxRichTextAttr& style);
/*
// get the common set of styles for the range // get the common set of styles for the range
bool GetStyleForRange(const wxRichTextRange& range, wxRichTextAttr& style); bool GetStyleForRange(const wxRichTextRange& range, wxRichTextAttr& style);
bool GetStyleForRange(const wxRichTextRange& range, wxTextAttrEx& style); bool GetStyleForRange(const wxRichTextRange& range, wxTextAttrEx& style);
*/
// extended style setting operation with flags including: // extended style setting operation with flags including:
// wxRICHTEXT_SETSTYLE_WITH_UNDO, wxRICHTEXT_SETSTYLE_OPTIMIZE, wxRICHTEXT_SETSTYLE_PARAGRAPHS_ONLY, wxRICHTEXT_SETSTYLE_CHARACTERS_ONLY // wxRICHTEXT_SETSTYLE_WITH_UNDO, wxRICHTEXT_SETSTYLE_OPTIMIZE, wxRICHTEXT_SETSTYLE_PARAGRAPHS_ONLY, wxRICHTEXT_SETSTYLE_CHARACTERS_ONLY
// see richtextbuffer.h for more details. // see richtextbuffer.h for more details.

View File

@@ -2525,6 +2525,7 @@ bool wxRichTextCtrl::GetStyle(long position, wxRichTextAttr& style)
return GetBuffer().GetStyle(position, style); return GetBuffer().GetStyle(position, style);
} }
/*
// get the common set of styles for the range // get the common set of styles for the range
bool wxRichTextCtrl::GetStyleForRange(const wxRichTextRange& range, wxRichTextAttr& style) bool wxRichTextCtrl::GetStyleForRange(const wxRichTextRange& range, wxRichTextAttr& style)
{ {
@@ -2542,6 +2543,7 @@ bool wxRichTextCtrl::GetStyleForRange(const wxRichTextRange& range, wxTextAttrEx
{ {
return GetBuffer().GetStyleForRange(range.ToInternal(), style); return GetBuffer().GetStyleForRange(range.ToInternal(), style);
} }
*/
/// Get the content (uncombined) attributes for this position. /// Get the content (uncombined) attributes for this position.