示例#1
0
 // Token: 0x06003DA8 RID: 15784 RVA: 0x0011C590 File Offset: 0x0011A790
 internal static char[] CutText(TextTreeRootTextBlock rootTextBlock, int offset, int count)
 {
     char[] array = new char[count];
     TextTreeText.ReadText(rootTextBlock, offset, count, array, 0);
     TextTreeText.RemoveText(rootTextBlock, offset, count);
     return(array);
 }
示例#2
0
 // Token: 0x06003DAC RID: 15788 RVA: 0x0011C65B File Offset: 0x0011A85B
 internal static void RemoveElementEdges(TextTreeRootTextBlock rootTextBlock, int offset, int symbolCount)
 {
     Invariant.Assert(symbolCount >= 2, "Element must span at least two symbols!");
     if (symbolCount == 2)
     {
         TextTreeText.RemoveText(rootTextBlock, offset, 2);
         return;
     }
     TextTreeText.RemoveText(rootTextBlock, offset + symbolCount - 1, 1);
     TextTreeText.RemoveText(rootTextBlock, offset, 1);
 }