webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
WebCore::TextCheckingParagraph Class Reference

#include <TextCheckingHelper.h>

Public Member Functions

 TextCheckingParagraph (PassRefPtr< Range > checkingRange)
 
 TextCheckingParagraph (PassRefPtr< Range > checkingRange, PassRefPtr< Range > paragraphRange)
 
 ~TextCheckingParagraph ()
 
int rangeLength () const
 
PassRefPtr< Rangesubrange (int characterOffset, int characterCount) const
 
ExceptionOr< int > offsetTo (const Position &) const
 
void expandRangeToNextEnd ()
 
const Stringtext () const
 
int textLength () const
 
String textSubstring (unsigned pos, unsigned len=UINT_MAX) const
 
UChar textCharAt (int index) const
 
bool isEmpty () const
 
int checkingStart () const
 
int checkingEnd () const
 
int checkingLength () const
 
String checkingSubstring () const
 
bool checkingRangeMatches (int location, int length) const
 
bool isCheckingRangeCoveredBy (int location, int length) const
 
bool checkingRangeCovers (int location, int length) const
 
PassRefPtr< RangeparagraphRange () const
 

Constructor & Destructor Documentation

◆ TextCheckingParagraph() [1/2]

WebCore::TextCheckingParagraph::TextCheckingParagraph ( PassRefPtr< Range checkingRange)
explicit

◆ TextCheckingParagraph() [2/2]

WebCore::TextCheckingParagraph::TextCheckingParagraph ( PassRefPtr< Range checkingRange,
PassRefPtr< Range paragraphRange 
)

◆ ~TextCheckingParagraph()

WebCore::TextCheckingParagraph::~TextCheckingParagraph ( )

Member Function Documentation

◆ checkingEnd()

int WebCore::TextCheckingParagraph::checkingEnd ( ) const

◆ checkingLength()

int WebCore::TextCheckingParagraph::checkingLength ( ) const

◆ checkingRangeCovers()

bool WebCore::TextCheckingParagraph::checkingRangeCovers ( int  location,
int  length 
) const
inline

◆ checkingRangeMatches()

bool WebCore::TextCheckingParagraph::checkingRangeMatches ( int  location,
int  length 
) const
inline

◆ checkingStart()

int WebCore::TextCheckingParagraph::checkingStart ( ) const

◆ checkingSubstring()

String WebCore::TextCheckingParagraph::checkingSubstring ( ) const
inline

◆ expandRangeToNextEnd()

void WebCore::TextCheckingParagraph::expandRangeToNextEnd ( )

◆ isCheckingRangeCoveredBy()

bool WebCore::TextCheckingParagraph::isCheckingRangeCoveredBy ( int  location,
int  length 
) const
inline

◆ isEmpty()

bool WebCore::TextCheckingParagraph::isEmpty ( void  ) const

◆ offsetTo()

ExceptionOr< int > WebCore::TextCheckingParagraph::offsetTo ( const Position position) const

◆ paragraphRange()

PassRefPtr< Range > WebCore::TextCheckingParagraph::paragraphRange ( ) const

◆ rangeLength()

int WebCore::TextCheckingParagraph::rangeLength ( ) const

◆ subrange()

PassRefPtr< Range > WebCore::TextCheckingParagraph::subrange ( int  characterOffset,
int  characterCount 
) const

◆ text()

const String & WebCore::TextCheckingParagraph::text ( ) const

◆ textCharAt()

UChar WebCore::TextCheckingParagraph::textCharAt ( int  index) const
inline

◆ textLength()

int WebCore::TextCheckingParagraph::textLength ( ) const
inline

◆ textSubstring()

String WebCore::TextCheckingParagraph::textSubstring ( unsigned  pos,
unsigned  len = UINT_MAX 
) const
inline

The documentation for this class was generated from the following files: