44 references to RunType
PresentationFramework (44)
System\Windows\Documents\Speller.cs (6)
120
_statusTable.IsRunType(position.CreateStaticPointer(), direction, SpellerStatusTable.
RunType
.Dirty))
151
SpellerStatusTable.
RunType
runType;
155
if (runType == SpellerStatusTable.
RunType
.Error)
158
if (runType == SpellerStatusTable.
RunType
.Dirty)
163
Invariant.Assert(runType != SpellerStatusTable.
RunType
.Dirty);
165
if (runType == SpellerStatusTable.
RunType
.Error)
System\Windows\Documents\SpellerHighlightLayer.cs (1)
74
return _speller.StatusTable.IsRunType(textPosition, direction, SpellerStatusTable.
RunType
.Error);
System\Windows\Documents\SpellerStatusTable.cs (37)
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; // Should just be one char, unless its an error.
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;
726
if (run.RunType ==
RunType
.Clean)
730
else if (run.RunType ==
RunType
.Dirty)
783
return run.RunType !=
RunType
.Clean && run.RunType !=
RunType
.Dirty;
799
internal Run(ITextPointer position,
RunType
runType)
811
internal
RunType
RunType
819
private
RunType
_runType;