diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-05-07 11:50:11 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-05-07 11:50:11 -0700 |
commit | 34ed91bd900937447fb79e88f276fe19e6aba457 (patch) | |
tree | 5169fdea0baeec723798b86959dea4cd24c9f59a /src/TextSrc.c | |
parent | 8a8fbec86a2988aa96cbf913d1fa54946fd9cf82 (diff) |
Fix spelling/wording issues
Found by using:
codespell --builtin clear,rare,usage,informal,code,names
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/TextSrc.c')
-rw-r--r-- | src/TextSrc.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/TextSrc.c b/src/TextSrc.c index afe8bc0..488509b 100644 --- a/src/TextSrc.c +++ b/src/TextSrc.c @@ -178,7 +178,7 @@ ClassPartInitialize(WidgetClass wc) /* Function Name: Read * Description: This function reads the source. * Arguments: w - the TextSrc Object. - * pos - position of the text to retreive. + * pos - position of the text to retrieve. * RETURNED text - text block that will contain returned text. * length - maximum number of characters to read. * Returns: The number of characters read into the buffer. @@ -216,7 +216,7 @@ Replace (Widget w, XawTextPosition startPos, XawTextPosition endPos, XawTextBloc * position - the position to start scanning. * type - type of thing to scan for. * dir - direction to scan. - * count - which occurance if this thing to search for. + * count - which occurrence if this thing to search for. * include - whether or not to include the character found in * the position that is returned. * Returns: EXITS WITH AN ERROR MESSAGE. @@ -236,7 +236,7 @@ Scan(Widget w, XawTextPosition position, XawTextScanType type, } /* Function Name: Search - * Description: Searchs the text source for the text block passed + * Description: Searches the text source for the text block passed * Arguments: w - the TextSource Object. * position - the position to start scanning. * dir - direction to scan. @@ -256,7 +256,7 @@ Search(Widget w, XawTextPosition position, XawTextScanDirection dir, XawTextBloc * Arguments: w - the TextSrc object. * selection - the current selection atom. * target - the current target atom. - * type - the type to conver the selection to. + * type - the type to convert the selection to. * RETURNED value, length - the return value that has been converted. * RETURNED format - the format of the returned value. * Returns: TRUE if the selection has been converted. @@ -335,7 +335,7 @@ CvtStringToEditMode(XrmValuePtr args, Cardinal *num_args, XrmValuePtr fromVal, X /* Function Name: XawTextSourceRead * Description: This function reads the source. * Arguments: w - the TextSrc Object. - * pos - position of the text to retreive. + * pos - position of the text to retrieve. * RETURNED text - text block that will contain returned text. * length - maximum number of characters to read. * Returns: The number of characters read into the buffer. @@ -385,7 +385,7 @@ XawTextSourceReplace (Widget w, XawTextPosition startPos, * position - the position to start scanning. * type - type of thing to scan for. * dir - direction to scan. - * count - which occurance if this thing to search for. + * count - which occurrence if this thing to search for. * include - whether or not to include the character found in * the position that is returned. * Returns: The position of the text. @@ -417,7 +417,7 @@ XawTextSourceScan(Widget w, XawTextPosition position, } /* Function Name: XawTextSourceSearch - * Description: Searchs the text source for the text block passed + * Description: Searches the text source for the text block passed * Arguments: w - the TextSource Object. * position - the position to start scanning. * dir - direction to scan. @@ -450,7 +450,7 @@ XawTextSourceSearch(Widget w, XawTextPosition position, * Arguments: w - the TextSrc object. * selection - the current selection atom. * target - the current target atom. - * type - the type to conver the selection to. + * type - the type to convert the selection to. * RETURNED value, length - the return value that has been converted. * RETURNED format - the format of the returned value. * Returns: TRUE if the selection has been converted. @@ -519,7 +519,7 @@ _XawTextFormat(TextWidget tw) * The caller is responsible for freeing both the source and ret string. * * wstr - source wchar string. - * len_in_out - lengh of string. + * len_in_out - length of string. * As In, length of source wchar string, measured in wchar. * As Out, length of returned string. */ @@ -546,7 +546,7 @@ _XawTextWCToMB(Display *d, wchar_t *wstr, int *len_in_out) * The caller is responsible for freeing both the source and ret string. * * str - source string. - * len_in_out - lengh of string. + * len_in_out - length of string. * As In, it is length of source string. * As Out, it is length of returned string, measured in wchar. */ |