42 references to RunType
PresentationFramework (42)
src\Framework\System\Windows\Documents\Speller.cs (6)
125
_statusTable.IsRunType(position.CreateStaticPointer(), direction, SpellerStatusTable.
RunType
.Dirty))
156
SpellerStatusTable.
RunType
runType;
160
if (runType == SpellerStatusTable.
RunType
.Error)
163
if (runType == SpellerStatusTable.
RunType
.Dirty)
168
Invariant.Assert(runType != SpellerStatusTable.
RunType
.Dirty);
170
if (runType == SpellerStatusTable.
RunType
.Error)
src\Framework\System\Windows\Documents\SpellerHighlightLayer.cs (1)
74
return _speller.StatusTable.IsRunType(textPosition, direction, SpellerStatusTable.
RunType
.Error);
src\Framework\System\Windows\Documents\SpellerStatusTable.cs (35)
44
_runList.Add(new Run(textContainerStart,
RunType
.Dirty));
97
if (run.RunType ==
RunType
.Dirty)
111
MarkRange(start, end,
RunType
.Clean);
118
MarkRange(start, end,
RunType
.Dirty);
134
Invariant.Assert(run.RunType ==
RunType
.Clean);
142
run.RunType =
RunType
.Error;
148
_runList.Insert(runIndex + 1, new Run(start,
RunType
.Error));
155
_runList.Insert(runIndex + 1, new Run(end,
RunType
.Clean));
165
internal bool IsRunType(StaticTextPointer textPosition, LogicalDirection direction,
RunType
runType)
265
internal bool GetRun(StaticTextPointer position, LogicalDirection direction, out
RunType
runType, out StaticTextPointer end)
269
runType =
RunType
.Clean;
321
if (run.RunType ==
RunType
.Clean || run.RunType ==
RunType
.Dirty)
381
private void MarkRange(ITextPointer start, ITextPointer end,
RunType
runType)
391
Invariant.Assert(runType ==
RunType
.Clean || runType ==
RunType
.Dirty);
437
private void AddRun(int index, ITextPointer start, ITextPointer end,
RunType
runType)
441
RunType
oppositeRunType;
444
Invariant.Assert(runType ==
RunType
.Clean || runType ==
RunType
.Dirty);
448
oppositeRunType = (runType ==
RunType
.Clean) ?
RunType
.Dirty :
RunType
.Clean;
582
MarkRange(start, end,
RunType
.Dirty);
605
if (run.RunType !=
RunType
.Dirty)
609
run.RunType =
RunType
.Dirty; //
611
if (index > 0 && GetRun(index - 1).RunType ==
RunType
.Dirty)
645
if (index < _runList.Count && GetRun(index).RunType ==
RunType
.Dirty)
677
RunType
previousRunType;
683
previousRunType =
RunType
.Clean;
784
return run.RunType !=
RunType
.Clean && run.RunType !=
RunType
.Dirty;
800
internal Run(ITextPointer position,
RunType
runType)
812
internal
RunType
RunType
820
private
RunType
_runType;