зеркало из https://github.com/mozilla/pjs.git
Bug 260911 - fix 'hierarchy' misspellings. r=timeless
--HG-- extra : rebase_source : ea5fb9d2228966f1bd4eb10d8b5839988a758eaf
This commit is contained in:
Родитель
d519cba80e
Коммит
f2e02db786
|
@ -302,7 +302,7 @@ interface nsIDocumentEncoder : nsISupports
|
|||
/**
|
||||
* Encode the document into a string. Stores the extra context information
|
||||
* into the two arguments.
|
||||
* @param [OUT] aContextString The string where the parent heirarchy
|
||||
* @param [OUT] aContextString The string where the parent hierarchy
|
||||
* information will be stored.
|
||||
* @param [OUT] aInfoString The string where extra context info will
|
||||
* be stored.
|
||||
|
|
|
@ -3497,7 +3497,7 @@ PRBool
|
|||
nsEditor::IsBlockNode(nsIDOMNode *aNode)
|
||||
{
|
||||
// stub to be overridden in nsHTMLEditor.
|
||||
// screwing around with the class heirarchy here in order
|
||||
// screwing around with the class hierarchy here in order
|
||||
// to not duplicate the code in GetNextNode/GetPrevNode
|
||||
// across both nsEditor/nsHTMLEditor.
|
||||
return PR_FALSE;
|
||||
|
|
|
@ -1061,7 +1061,7 @@ nsHTMLEditRules::GetIndentState(PRBool *aCanIndent, PRBool *aCanOutdent)
|
|||
{
|
||||
// if we haven't found something to outdent yet, also check the parents
|
||||
// of selection endpoints. We might have a blockquote or list item
|
||||
// in the parent heirarchy.
|
||||
// in the parent hierarchy.
|
||||
|
||||
// gather up info we need for test
|
||||
nsCOMPtr<nsIDOMNode> parent, tmp, root;
|
||||
|
@ -1126,7 +1126,7 @@ nsHTMLEditRules::GetParagraphState(PRBool *aMixed, nsAString &outFormat)
|
|||
if (NS_FAILED(res)) return res;
|
||||
|
||||
// post process list. We need to replace any block nodes that are not format
|
||||
// nodes with their content. This is so we only have to look "up" the heirarchy
|
||||
// nodes with their content. This is so we only have to look "up" the hierarchy
|
||||
// to find format nodes, instead of both up and down.
|
||||
PRInt32 listCount = arrayOfNodes.Count();
|
||||
PRInt32 i;
|
||||
|
@ -4126,7 +4126,7 @@ nsHTMLEditRules::WillOutdent(nsISelection *aSelection, PRBool *aCancel, PRBool *
|
|||
nsCOMPtr<nsIDOMNode> n = curNode;
|
||||
nsCOMPtr<nsIDOMNode> tmp;
|
||||
curBlockQuoteIsIndentedWithCSS = PR_FALSE;
|
||||
// keep looking up the heirarchy as long as we don't hit the body or a table element
|
||||
// keep looking up the hierarchy as long as we don't hit the body or a table element
|
||||
// (other than an entire table)
|
||||
while (!nsTextEditUtils::IsBody(n) &&
|
||||
(nsHTMLEditUtils::IsTable(n) || !nsHTMLEditUtils::IsTableElement(n)))
|
||||
|
@ -4521,10 +4521,10 @@ nsHTMLEditRules::CreateStyleForInsertText(nsISelection *aSelection, nsIDOMDocume
|
|||
res = mEditor->DeleteNode(rightNode);
|
||||
NS_ENSURE_SUCCESS(res, res);
|
||||
}
|
||||
// remove the style on this new heirarchy
|
||||
// remove the style on this new hierarchy
|
||||
PRInt32 newSelOffset = 0;
|
||||
{
|
||||
// track the point at the new heirarchy.
|
||||
// track the point at the new hierarchy.
|
||||
// This is so we can know where to put the selection after we call
|
||||
// RemoveStyleInside(). RemoveStyleInside() could remove any and all of those nodes,
|
||||
// so I have to use the range tracking system to find the right spot to put selection.
|
||||
|
|
|
@ -1992,7 +1992,7 @@ nsHTMLEditor::InsertElementAtSelection(nsIDOMElement* aElement, PRBool aDeleteSe
|
|||
/*
|
||||
InsertNodeAtPoint: attempts to insert aNode into the document, at a point specified by
|
||||
{*ioParent,*ioOffset}. Checks with strict dtd to see if containment is allowed. If not
|
||||
allowed, will attempt to find a parent in the parent heirarchy of *ioParent that will
|
||||
allowed, will attempt to find a parent in the parent hierarchy of *ioParent that will
|
||||
accept aNode as a child. If such a parent is found, will split the document tree from
|
||||
{*ioParent,*ioOffset} up to parent, and then insert aNode. ioParent & ioOffset are then
|
||||
adjusted to point to the actual location that aNode was inserted at. aNoEmptyNodes
|
||||
|
|
|
@ -129,7 +129,7 @@ library MOZILLACONTROLLib
|
|||
[id(106), helpstring("Stops opening a file."), helpcontext(0x0000)]
|
||||
HRESULT Stop();
|
||||
|
||||
// Automation heirarchy...
|
||||
// Automation hierarchy...
|
||||
[id(200), propget, helpstring("Returns the application automation object if accessible, this automation object otherwise.."), helpcontext(0x0000)]
|
||||
HRESULT Application([out,retval] IDispatch** ppDisp);
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ extern "C" {
|
|||
* AtkObject in a sequential way, (for instance text-flow).
|
||||
*@ATK_RELATION_FLOWS_FROM: Indicates that the object has content that flows logically from
|
||||
* another AtkObject in a sequential way, (for instance text-flow).
|
||||
*@ATK_RELATION_SUBWINDOW_OF: Indicates a subwindow attached to a component but otherwise has no connection in the UI heirarchy to that component.
|
||||
*@ATK_RELATION_SUBWINDOW_OF: Indicates a subwindow attached to a component but otherwise has no connection in the UI hierarchy to that component.
|
||||
*@ATK_RELATION_EMBEDS: Indicates that the object visually embeds
|
||||
* another object's content, i.e. this object's content flows around
|
||||
* another's content.
|
||||
|
|
Загрузка…
Ссылка в новой задаче