Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines
nsTextFragment.h File Reference
#include "nsAString.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsTextFragment
 A fragment of text. More...
struct  nsTextFragment::FragmentBits

Defines

#define XP_IS_SPACE(_ch)   (((_ch) == ' ') || ((_ch) == '\t') || ((_ch) == '\n'))
#define XP_IS_UPPERCASE(_ch)   (((_ch) >= 'A') && ((_ch) <= 'Z'))
#define XP_IS_LOWERCASE(_ch)   (((_ch) >= 'a') && ((_ch) <= 'z'))
#define XP_TO_LOWER(_ch)   ((_ch) | 32)
#define XP_TO_UPPER(_ch)   ((_ch) & ~32)
#define XP_IS_SPACE_W   XP_IS_SPACE

Class Documentation

struct nsTextFragment::FragmentBits

Definition at line 243 of file nsTextFragment.h.

Class Members
PRBool mInHeap: 1
PRBool mIs2b: 1
PRBool mIsBidi: 1
PRUint32 mLength: 29

Define Documentation

#define XP_IS_LOWERCASE (   _ch)    (((_ch) >= 'a') && ((_ch) <= 'z'))

Definition at line 55 of file nsTextFragment.h.

#define XP_IS_SPACE (   _ch)    (((_ch) == ' ') || ((_ch) == '\t') || ((_ch) == '\n'))

Definition at line 49 of file nsTextFragment.h.

Definition at line 62 of file nsTextFragment.h.

#define XP_IS_UPPERCASE (   _ch)    (((_ch) >= 'A') && ((_ch) <= 'Z'))

Definition at line 52 of file nsTextFragment.h.

#define XP_TO_LOWER (   _ch)    ((_ch) | 32)

Definition at line 58 of file nsTextFragment.h.

#define XP_TO_UPPER (   _ch)    ((_ch) & ~32)

Definition at line 60 of file nsTextFragment.h.