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:
@@ -200,7 +200,7 @@ bool wxRichTextFloatCollector::GetFloatingObjects(wxRichTextObjectList& objects)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Binary search helper function
|
* 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
|
* always return the floating rect that contain this coordinate
|
||||||
* or under this coordinate.
|
* or under this coordinate.
|
||||||
*/
|
*/
|
||||||
@@ -1435,7 +1435,7 @@ bool wxRichTextCompositeObject::DeleteRange(const wxRichTextRange& range)
|
|||||||
// now match the ranges.
|
// now match the ranges.
|
||||||
// However, so long as deletion is not done on the same object twice this is OK.
|
// 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
|
// 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.
|
// adjust the range you're deleting accordingly.
|
||||||
|
|
||||||
if (!obj->GetRange().IsOutside(range))
|
if (!obj->GetRange().IsOutside(range))
|
||||||
@@ -5208,7 +5208,7 @@ bool wxRichTextParagraph::Layout(wxDC& dc, wxRichTextDrawingContext& context, co
|
|||||||
//wxASSERT(!(lastCompletedEndPos != -1 && lastCompletedEndPos < GetRange().GetEnd()-1));
|
//wxASSERT(!(lastCompletedEndPos != -1 && lastCompletedEndPos < GetRange().GetEnd()-1));
|
||||||
|
|
||||||
// Add the last line - it's the current pos -> last para pos
|
// 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)
|
if (lastCompletedEndPos <= GetRange().GetEnd()-1)
|
||||||
{
|
{
|
||||||
int startOffset = (lineCount == 0 ? startPositionFirstLine : startPositionSubsequentLines);
|
int startOffset = (lineCount == 0 ? startPositionFirstLine : startPositionSubsequentLines);
|
||||||
@@ -9497,7 +9497,7 @@ bool wxRichTextCell::AdjustAttributes(wxRichTextAttr& attr, wxRichTextDrawingCon
|
|||||||
|
|
||||||
// Compute right border
|
// 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
|
// the cell is visible, because that doesn't tell us which
|
||||||
// cell to look at for border information.
|
// cell to look at for border information.
|
||||||
wxRichTextCell* adjacentCellRight = NULL;
|
wxRichTextCell* adjacentCellRight = NULL;
|
||||||
|
@@ -85,7 +85,7 @@ public:
|
|||||||
ISP (exact meaning of the parameter depends on the platform), returns
|
ISP (exact meaning of the parameter depends on the platform), returns
|
||||||
true on success or false on failure and logs the appropriate error
|
true on success or false on failure and logs the appropriate error
|
||||||
message in the latter case.
|
message in the latter case.
|
||||||
@param nameOfISP optional paramater for dial program
|
@param nameOfISP optional parameter for dial program
|
||||||
@param username unused
|
@param username unused
|
||||||
@param password unused
|
@param password unused
|
||||||
*/
|
*/
|
||||||
|
@@ -84,7 +84,7 @@ public:
|
|||||||
ISP (exact meaning of the parameter depends on the platform), returns
|
ISP (exact meaning of the parameter depends on the platform), returns
|
||||||
TRUE on success or FALSE on failure and logs the appropriate error
|
TRUE on success or FALSE on failure and logs the appropriate error
|
||||||
message in the latter case.
|
message in the latter case.
|
||||||
@param nameOfISP optional paramater for dial program
|
@param nameOfISP optional parameter for dial program
|
||||||
@param username unused
|
@param username unused
|
||||||
@param password unused
|
@param password unused
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user