44 references to RunType
PresentationFramework (44)
System\Windows\Documents\Speller.cs (6)
116
_statusTable.IsRunType(position.CreateStaticPointer(), direction, SpellerStatusTable.
RunType
.Dirty))
147
SpellerStatusTable.
RunType
runType;
151
if (runType == SpellerStatusTable.
RunType
.Error)
154
if (runType == SpellerStatusTable.
RunType
.Dirty)
159
Invariant.Assert(runType != SpellerStatusTable.
RunType
.Dirty);
161
if (runType == SpellerStatusTable.
RunType
.Error)
System\Windows\Documents\SpellerHighlightLayer.cs (1)
71
return _speller.StatusTable.IsRunType(textPosition, direction, SpellerStatusTable.
RunType
.Error);
System\Windows\Documents\SpellerStatusTable.cs (37)
42
_runList.Add(new Run(textContainerStart,
RunType
.Dirty));
95
if (run.RunType ==
RunType
.Dirty)
109
MarkRange(start, end,
RunType
.Clean);
116
MarkRange(start, end,
RunType
.Dirty);
132
Invariant.Assert(run.RunType ==
RunType
.Clean);
140
run.RunType =
RunType
.Error;
146
_runList.Insert(runIndex + 1, new Run(start,
RunType
.Error));
153
_runList.Insert(runIndex + 1, new Run(end,
RunType
.Clean));
163
internal bool IsRunType(StaticTextPointer textPosition, LogicalDirection direction,
RunType
runType)
263
internal bool GetRun(StaticTextPointer position, LogicalDirection direction, out
RunType
runType, out StaticTextPointer end)
267
runType =
RunType
.Clean;
319
if (run.RunType ==
RunType
.Clean || run.RunType ==
RunType
.Dirty)
379
private void MarkRange(ITextPointer start, ITextPointer end,
RunType
runType)
389
Invariant.Assert(runType ==
RunType
.Clean || runType ==
RunType
.Dirty);
435
private void AddRun(int index, ITextPointer start, ITextPointer end,
RunType
runType)
439
RunType
oppositeRunType;
442
Invariant.Assert(runType ==
RunType
.Clean || runType ==
RunType
.Dirty);
446
oppositeRunType = (runType ==
RunType
.Clean) ?
RunType
.Dirty :
RunType
.Clean;
580
MarkRange(start, end,
RunType
.Dirty);
603
if (run.RunType !=
RunType
.Dirty)
607
run.RunType =
RunType
.Dirty; // Should just be one char, unless its an error.
609
if (index > 0 && GetRun(index - 1).RunType ==
RunType
.Dirty)
643
if (index < _runList.Count && GetRun(index).RunType ==
RunType
.Dirty)
675
RunType
previousRunType;
681
previousRunType =
RunType
.Clean;
724
if (run.RunType ==
RunType
.Clean)
728
else if (run.RunType ==
RunType
.Dirty)
781
return run.RunType !=
RunType
.Clean && run.RunType !=
RunType
.Dirty;
797
internal Run(ITextPointer position,
RunType
runType)
809
internal
RunType
RunType
817
private
RunType
_runType;