コード例 #1
0
ファイル: TextModifierScope.cs プロジェクト: beda2280/wpf-1
 /// <summary>
 /// Constructs a new text modification state object.
 /// </summary>
 /// <param name="parentScope">Parent scope, i.e., the previous top of the stack.</param>
 /// <param name="modifier">Text modifier run fetched from the client.</param>
 /// <param name="cp">Text source character index of the run.</param>
 internal TextModifierScope(TextModifierScope parentScope, TextModifier modifier, int cp)
 {
     _parentScope = parentScope;
     _modifier    = modifier;
     _cp          = cp;
 }
コード例 #2
0
ファイル: TextModifierScope.cs プロジェクト: JianwenSun/cc
 /// <summary>
 /// Constructs a new text modification state object.
 /// </summary>
 /// <param name="parentScope">Parent scope, i.e., the previous top of the stack.</param>
 /// <param name="modifier">Text modifier run fetched from the client.</param>
 /// <param name="cp">Text source character index of the run.</param>
 internal TextModifierScope(TextModifierScope parentScope, TextModifier modifier, int cp)
 {
     _parentScope = parentScope;
     _modifier = modifier;
     _cp = cp;
 }