No real changes, just fix some typos in the comments.
Fix spelling in a couple of comments. Closes #15790. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0a76afbe9c
commit
b498554460
@ -200,7 +200,7 @@ bool wxRichTextFloatCollector::GetFloatingObjects(wxRichTextObjectList& objects)
|
||||
|
||||
/*
|
||||
* Binary search helper function
|
||||
* The argument point is the Y coordinate, and this fuction
|
||||
* The argument point is the Y coordinate, and this function
|
||||
* always return the floating rect that contain this coordinate
|
||||
* or under this coordinate.
|
||||
*/
|
||||
@ -1435,7 +1435,7 @@ bool wxRichTextCompositeObject::DeleteRange(const wxRichTextRange& range)
|
||||
// now match the ranges.
|
||||
// However, so long as deletion is not done on the same object twice this is OK.
|
||||
// If you may delete content from the same object twice, recalculate
|
||||
// the ranges inbetween DeleteRange calls by calling CalculateRanges, and
|
||||
// the ranges between DeleteRange calls by calling CalculateRanges, and
|
||||
// adjust the range you're deleting accordingly.
|
||||
|
||||
if (!obj->GetRange().IsOutside(range))
|
||||
@ -5208,7 +5208,7 @@ bool wxRichTextParagraph::Layout(wxDC& dc, wxRichTextDrawingContext& context, co
|
||||
//wxASSERT(!(lastCompletedEndPos != -1 && lastCompletedEndPos < GetRange().GetEnd()-1));
|
||||
|
||||
// Add the last line - it's the current pos -> last para pos
|
||||
// Substract -1 because the last position is always the end-paragraph position.
|
||||
// Subtract -1 because the last position is always the end-paragraph position.
|
||||
if (lastCompletedEndPos <= GetRange().GetEnd()-1)
|
||||
{
|
||||
int startOffset = (lineCount == 0 ? startPositionFirstLine : startPositionSubsequentLines);
|
||||
@ -9497,7 +9497,7 @@ bool wxRichTextCell::AdjustAttributes(wxRichTextAttr& attr, wxRichTextDrawingCon
|
||||
|
||||
// Compute right border
|
||||
|
||||
// We need to explicity look at the spans, not just whether
|
||||
// We need to explicitly look at the spans, not just whether
|
||||
// the cell is visible, because that doesn't tell us which
|
||||
// cell to look at for border information.
|
||||
wxRichTextCell* adjacentCellRight = NULL;
|
||||
|
@ -85,7 +85,7 @@ public:
|
||||
ISP (exact meaning of the parameter depends on the platform), returns
|
||||
true on success or false on failure and logs the appropriate error
|
||||
message in the latter case.
|
||||
@param nameOfISP optional paramater for dial program
|
||||
@param nameOfISP optional parameter for dial program
|
||||
@param username unused
|
||||
@param password unused
|
||||
*/
|
||||
|
@ -84,7 +84,7 @@ public:
|
||||
ISP (exact meaning of the parameter depends on the platform), returns
|
||||
TRUE on success or FALSE on failure and logs the appropriate error
|
||||
message in the latter case.
|
||||
@param nameOfISP optional paramater for dial program
|
||||
@param nameOfISP optional parameter for dial program
|
||||
@param username unused
|
||||
@param password unused
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user