Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsTextEditRules.h File Reference
#include "nsCOMPtr.h"
#include "nsPlaintextEditor.h"
#include "nsIDOMNode.h"
#include "nsEditRules.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsTextEditRules
 Object that encapsulates HTML text-specific editing rules. More...
class  nsTextRulesInfo
class  nsAutoLockRulesSniffing
class  nsAutoLockListener

Functions

nsresult NS_NewTextEditRules (nsIEditRules **aInstancePtrResult)

Function Documentation

nsresult NS_NewTextEditRules ( nsIEditRules **  aInstancePtrResult)

Definition at line 80 of file nsTextEditRules.cpp.

{
  nsTextEditRules * rules = new nsTextEditRules();
  if (rules)
    return rules->QueryInterface(NS_GET_IID(nsIEditRules), (void**) aInstancePtrResult);
  return NS_ERROR_OUT_OF_MEMORY;
}