#include <DocumentMarker.h>
|
enum | MarkerType {
Spelling = 1 << 0,
Grammar = 1 << 1,
TextMatch = 1 << 2,
Replacement = 1 << 3,
CorrectionIndicator = 1 << 4,
RejectedCorrection = 1 << 5,
Autocorrected = 1 << 6,
SpellCheckingExemption = 1 << 7,
DeletedAutocorrection = 1 << 8,
DictationAlternatives = 1 << 9,
AcceptedCandidate = 1 << 13,
Spelling = 1 << 0,
Grammar = 1 << 1,
TextMatch = 1 << 2,
Replacement = 1 << 3,
CorrectionIndicator = 1 << 4,
RejectedCorrection = 1 << 5,
Autocorrected = 1 << 6,
SpellCheckingExemption = 1 << 7,
DeletedAutocorrection = 1 << 8,
DictationAlternatives = 1 << 9,
AcceptedCandidate = 1 << 13
} |
|
enum | MarkerType {
Spelling = 1 << 0,
Grammar = 1 << 1,
TextMatch = 1 << 2,
Replacement = 1 << 3,
CorrectionIndicator = 1 << 4,
RejectedCorrection = 1 << 5,
Autocorrected = 1 << 6,
SpellCheckingExemption = 1 << 7,
DeletedAutocorrection = 1 << 8,
DictationAlternatives = 1 << 9,
AcceptedCandidate = 1 << 13,
Spelling = 1 << 0,
Grammar = 1 << 1,
TextMatch = 1 << 2,
Replacement = 1 << 3,
CorrectionIndicator = 1 << 4,
RejectedCorrection = 1 << 5,
Autocorrected = 1 << 6,
SpellCheckingExemption = 1 << 7,
DeletedAutocorrection = 1 << 8,
DictationAlternatives = 1 << 9,
AcceptedCandidate = 1 << 13
} |
|
using | IsActiveMatchData = bool |
|
using | DescriptionData = String |
|
using | Data = Variant< IsActiveMatchData, DescriptionData, DictationData, DictationAlternativesData > |
|
using | IsActiveMatchData = bool |
|
using | DescriptionData = String |
|
using | Data = Variant< IsActiveMatchData, DescriptionData, DictationData, DictationAlternativesData > |
|
|
| DocumentMarker (unsigned startOffset, unsigned endOffset, bool isActiveMatch) |
|
| DocumentMarker (MarkerType, unsigned startOffset, unsigned endOffset, const String &description=String()) |
|
| DocumentMarker (MarkerType, unsigned startOffset, unsigned endOffset, Data &&) |
|
MarkerType | type () const |
|
unsigned | startOffset () const |
|
unsigned | endOffset () const |
|
const String & | description () const |
|
bool | isActiveMatch () const |
|
void | setActiveMatch (bool) |
|
const Data & | data () const |
|
void | clearData () |
|
void | setStartOffset (unsigned offset) |
|
void | setEndOffset (unsigned offset) |
|
void | shiftOffsets (int delta) |
|
| DocumentMarker (unsigned startOffset, unsigned endOffset, bool isActiveMatch) |
|
| DocumentMarker (MarkerType, unsigned startOffset, unsigned endOffset, const String &description=String()) |
|
| DocumentMarker (MarkerType, unsigned startOffset, unsigned endOffset, Data &&) |
|
MarkerType | type () const |
|
unsigned | startOffset () const |
|
unsigned | endOffset () const |
|
const String & | description () const |
|
bool | isActiveMatch () const |
|
void | setActiveMatch (bool) |
|
const Data & | data () const |
|
void | clearData () |
|
void | setStartOffset (unsigned offset) |
|
void | setEndOffset (unsigned offset) |
|
void | shiftOffsets (int delta) |
|
◆ Data [1/2]
◆ Data [2/2]
◆ DescriptionData [1/2]
◆ DescriptionData [2/2]
◆ IsActiveMatchData [1/2]
◆ IsActiveMatchData [2/2]
◆ MarkerType [1/2]
Enumerator |
---|
Spelling | |
Grammar | |
TextMatch | |
Replacement | |
CorrectionIndicator | |
RejectedCorrection | |
Autocorrected | |
SpellCheckingExemption | |
DeletedAutocorrection | |
DictationAlternatives | |
AcceptedCandidate | |
Spelling | |
Grammar | |
TextMatch | |
Replacement | |
CorrectionIndicator | |
RejectedCorrection | |
Autocorrected | |
SpellCheckingExemption | |
DeletedAutocorrection | |
DictationAlternatives | |
AcceptedCandidate | |
◆ MarkerType [2/2]
Enumerator |
---|
Spelling | |
Grammar | |
TextMatch | |
Replacement | |
CorrectionIndicator | |
RejectedCorrection | |
Autocorrected | |
SpellCheckingExemption | |
DeletedAutocorrection | |
DictationAlternatives | |
AcceptedCandidate | |
Spelling | |
Grammar | |
TextMatch | |
Replacement | |
CorrectionIndicator | |
RejectedCorrection | |
Autocorrected | |
SpellCheckingExemption | |
DeletedAutocorrection | |
DictationAlternatives | |
AcceptedCandidate | |
◆ DocumentMarker() [1/6]
WebCore::DocumentMarker::DocumentMarker |
( |
unsigned |
startOffset, |
|
|
unsigned |
endOffset, |
|
|
bool |
isActiveMatch |
|
) |
| |
|
inline |
◆ DocumentMarker() [2/6]
WebCore::DocumentMarker::DocumentMarker |
( |
MarkerType |
type, |
|
|
unsigned |
startOffset, |
|
|
unsigned |
endOffset, |
|
|
const String & |
description = String() |
|
) |
| |
|
inline |
◆ DocumentMarker() [3/6]
WebCore::DocumentMarker::DocumentMarker |
( |
MarkerType |
type, |
|
|
unsigned |
startOffset, |
|
|
unsigned |
endOffset, |
|
|
Data && |
data |
|
) |
| |
|
inline |
◆ DocumentMarker() [4/6]
WebCore::DocumentMarker::DocumentMarker |
( |
unsigned |
startOffset, |
|
|
unsigned |
endOffset, |
|
|
bool |
isActiveMatch |
|
) |
| |
◆ DocumentMarker() [5/6]
WebCore::DocumentMarker::DocumentMarker |
( |
MarkerType |
, |
|
|
unsigned |
startOffset, |
|
|
unsigned |
endOffset, |
|
|
const String & |
description = String() |
|
) |
| |
◆ DocumentMarker() [6/6]
WebCore::DocumentMarker::DocumentMarker |
( |
MarkerType |
, |
|
|
unsigned |
startOffset, |
|
|
unsigned |
endOffset, |
|
|
Data && |
|
|
) |
| |
◆ clearData() [1/2]
void WebCore::DocumentMarker::clearData |
( |
| ) |
|
|
inline |
◆ clearData() [2/2]
void WebCore::DocumentMarker::clearData |
( |
| ) |
|
|
inline |
◆ data() [1/2]
const Data& WebCore::DocumentMarker::data |
( |
| ) |
const |
|
inline |
◆ data() [2/2]
const Data& WebCore::DocumentMarker::data |
( |
| ) |
const |
|
inline |
◆ description() [1/2]
const String & WebCore::DocumentMarker::description |
( |
| ) |
const |
|
inline |
◆ description() [2/2]
const String& WebCore::DocumentMarker::description |
( |
| ) |
const |
◆ endOffset() [1/2]
unsigned WebCore::DocumentMarker::endOffset |
( |
| ) |
const |
|
inline |
◆ endOffset() [2/2]
unsigned WebCore::DocumentMarker::endOffset |
( |
| ) |
const |
|
inline |
◆ isActiveMatch() [1/2]
bool WebCore::DocumentMarker::isActiveMatch |
( |
| ) |
const |
◆ isActiveMatch() [2/2]
bool WebCore::DocumentMarker::isActiveMatch |
( |
| ) |
const |
|
inline |
◆ setActiveMatch() [1/2]
void WebCore::DocumentMarker::setActiveMatch |
( |
bool |
| ) |
|
◆ setActiveMatch() [2/2]
void WebCore::DocumentMarker::setActiveMatch |
( |
bool |
isActiveMatch | ) |
|
|
inline |
◆ setEndOffset() [1/2]
void WebCore::DocumentMarker::setEndOffset |
( |
unsigned |
offset | ) |
|
|
inline |
◆ setEndOffset() [2/2]
void WebCore::DocumentMarker::setEndOffset |
( |
unsigned |
offset | ) |
|
|
inline |
◆ setStartOffset() [1/2]
void WebCore::DocumentMarker::setStartOffset |
( |
unsigned |
offset | ) |
|
|
inline |
◆ setStartOffset() [2/2]
void WebCore::DocumentMarker::setStartOffset |
( |
unsigned |
offset | ) |
|
|
inline |
◆ shiftOffsets() [1/2]
void WebCore::DocumentMarker::shiftOffsets |
( |
int |
delta | ) |
|
◆ shiftOffsets() [2/2]
void WebCore::DocumentMarker::shiftOffsets |
( |
int |
delta | ) |
|
|
inline |
◆ startOffset() [1/2]
unsigned WebCore::DocumentMarker::startOffset |
( |
| ) |
const |
|
inline |
◆ startOffset() [2/2]
unsigned WebCore::DocumentMarker::startOffset |
( |
| ) |
const |
|
inline |
◆ type() [1/2]
MarkerType WebCore::DocumentMarker::type |
( |
| ) |
const |
|
inline |
◆ type() [2/2]
MarkerType WebCore::DocumentMarker::type |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file:
- DerivedData/WebKit/Build/Products/Debug/WebCore.framework/Versions/A/PrivateHeaders/DocumentMarker.h