]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed #13535: wxRichTextCtrl: Incorrectly documented or named functions
authorJulian Smart <julian@anthemion.co.uk>
Mon, 31 Oct 2011 12:15:05 +0000 (12:15 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 31 Oct 2011 12:15:05 +0000 (12:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/richtext/richtextctrl.h
interface/wx/richtext/richtextctrl.h

index e81a4c76e6bcf0fbefe9683e93740d8d1a082461..d441b2b5d71bc0ff31e3d95f6ad5298a7d83f90a 100644 (file)
@@ -1476,53 +1476,53 @@ public:
     }
 
     /**
-        Returns @true if all of the selection is bold.
+        Returns @true if all of the selection, or the content at the caret position, is bold.
     */
     virtual bool IsSelectionBold();
 
     /**
-        Returns @true if all of the selection is italic.
+        Returns @true if all of the selection, or the content at the caret position, is italic.
     */
     virtual bool IsSelectionItalics();
 
     /**
-        Returns @true if all of the selection is underlined.
+        Returns @true if all of the selection, or the content at the caret position, is underlined.
     */
     virtual bool IsSelectionUnderlined();
 
     /**
-        Returns @true if all of the selection, or the current caret position, has the supplied wxTextAttrEffects flag(s).
+        Returns @true if all of the selection, or the content at the current caret position, has the supplied wxTextAttrEffects flag(s).
     */
     virtual bool DoesSelectionHaveTextEffectFlag(int flag);
 
     /**
-        Returns @true if all of the selection is aligned according to the specified flag.
+        Returns @true if all of the selection, or the content at the caret position, is aligned according to the specified flag.
     */
     virtual bool IsSelectionAligned(wxTextAttrAlignment alignment);
 
     /**
-        Apples bold to the selection (undoable).
+        Apples bold to the selection or default style (undoable).
     */
     virtual bool ApplyBoldToSelection();
 
     /**
-        Applies italic to the selection (undoable).
+        Applies italic to the selection or default style (undoable).
     */
     virtual bool ApplyItalicToSelection();
 
     /**
-        Applies underline to the selection (undoable).
+        Applies underline to the selection or default style (undoable).
     */
     virtual bool ApplyUnderlineToSelection();
 
     /**
         Applies one or more wxTextAttrEffects flags to the selection (undoable).
-        If there's no selection, it's is applied to the current caret position
+        If there is no selection, it is applied to the default style.
     */
     virtual bool ApplyTextEffectToSelection(int flags);
 
     /**
-        Applies the given alignment to the selection (undoable).
+        Applies the given alignment to the selection or the default style (undoable).
         For alignment values, see wxTextAttr.
     */
     virtual bool ApplyAlignmentToSelection(wxTextAttrAlignment alignment);
index 2ffd82930aca86120ea9255cb77e9c5436f43508..74a0af4f77f95934ab5441e3839f894dbdad2716 100644 (file)
@@ -1449,22 +1449,22 @@ public:
     }
 
     /**
-        Returns @true if all of the selection is bold.
+        Returns @true if all of the selection, or the content at the caret position, is bold.
     */
     virtual bool IsSelectionBold();
 
     /**
-        Returns @true if all of the selection is italic.
+        Returns @true if all of the selection, or the content at the caret position, is italic.
     */
     virtual bool IsSelectionItalics();
 
     /**
-        Returns @true if all of the selection is underlined.
+        Returns @true if all of the selection, or the content at the caret position, is underlined.
     */
     virtual bool IsSelectionUnderlined();
 
     /**
-        Returns @true if all of the selection, or the current caret position, has the supplied wxTextAttrEffects flag(s).
+        Returns @true if all of the selection, or the content at the current caret position, has the supplied wxTextAttrEffects flag(s).
     */
     virtual bool DoesSelectionHaveTextEffectFlag(int flag);
 
@@ -1474,28 +1474,28 @@ public:
     virtual bool IsSelectionAligned(wxTextAttrAlignment alignment);
 
     /**
-        Apples bold to the selection (undoable).
+        Apples bold to the selection or the default style (undoable).
     */
     virtual bool ApplyBoldToSelection();
 
     /**
-        Applies italic to the selection (undoable).
+        Applies italic to the selection or the default style (undoable).
     */
     virtual bool ApplyItalicToSelection();
 
     /**
-        Applies underline to the selection (undoable).
+        Applies underline to the selection or the default style (undoable).
     */
     virtual bool ApplyUnderlineToSelection();
 
     /**
         Applies one or more wxTextAttrEffects flags to the selection (undoable).
-        If there's no selection, it's applied to the current caret position
+        If there is no selection, it is applied to the default style.
     */
     virtual bool ApplyTextEffectToSelection(int flags);
 
     /**
-        Applies the given alignment to the selection (undoable).
+        Applies the given alignment to the selection or the default style (undoable).
         For alignment values, see wxTextAttr.
     */
     virtual bool ApplyAlignmentToSelection(wxTextAttrAlignment alignment);