-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathICSharpCode.AvalonEdit.xml
9197 lines (9177 loc) · 465 KB
/
ICSharpCode.AvalonEdit.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<doc>
<assembly>
<name>ICSharpCode.AvalonEdit</name>
</assembly>
<members>
<member name="T:ICSharpCode.AvalonEdit.Utils.WeakEventManagerBase`2">
<summary>
WeakEventManager with AddListener/RemoveListener and CurrentManager implementation.
Helps implementing the WeakEventManager pattern with less code.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.WeakEventManagerBase`2.#ctor">
<summary>
Creates a new WeakEventManagerBase instance.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.WeakEventManagerBase`2.AddListener(`1,System.Windows.IWeakEventListener)">
<summary>
Adds a weak event listener.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.WeakEventManagerBase`2.RemoveListener(`1,System.Windows.IWeakEventListener)">
<summary>
Removes a weak event listener.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.WeakEventManagerBase`2.StartListening(System.Object)">
<inheritdoc/>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.WeakEventManagerBase`2.StopListening(System.Object)">
<inheritdoc/>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.WeakEventManagerBase`2.StartListening(`1)">
<summary>
Attaches the event handler.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.WeakEventManagerBase`2.StopListening(`1)">
<summary>
Detaches the event handler.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Utils.WeakEventManagerBase`2.CurrentManager">
<summary>
Gets the current manager.
</summary>
</member>
<member name="T:ICSharpCode.AvalonEdit.Utils.Rope`1">
<summary>
A kind of List<T>, but more efficient for random insertions/removal.
Also has cheap Clone() and SubRope() implementations.
</summary>
<remarks>
This class is not thread-safe: multiple concurrent write operations or writes concurrent to reads have undefined behaviour.
Concurrent reads, however, are safe.
However, clones of a rope are safe to use on other threads even though they share data with the original rope.
</remarks>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.#ctor">
<summary>
Creates a new rope representing the empty string.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.#ctor(System.Collections.Generic.IEnumerable{`0})">
<summary>
Creates a rope from the specified input.
This operation runs in O(N).
</summary>
<exception cref="T:System.ArgumentNullException">input is null.</exception>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.#ctor(`0[],System.Int32,System.Int32)">
<summary>
Creates a rope from a part of the array.
This operation runs in O(N).
</summary>
<exception cref="T:System.ArgumentNullException">input is null.</exception>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.#ctor(System.Int32,System.Func{ICSharpCode.AvalonEdit.Utils.Rope{`0}})">
<summary>
Creates a new rope that lazily initalizes its content.
</summary>
<param name="length">The length of the rope that will be lazily loaded.</param>
<param name="initializer">
The callback that provides the content for this rope.
<paramref name="initializer"/> will be called exactly once when the content of this rope is first requested.
It must return a rope with the specified length.
Because the initializer function is not called when a rope is cloned, and such clones may be used on another threads,
it is possible for the initializer callback to occur on any thread.
</param>
<remarks>
Any modifications inside the rope will also cause the content to be initialized.
However, insertions at the beginning and the end, as well as inserting this rope into another or
using the <see cref="M:ICSharpCode.AvalonEdit.Utils.Rope`1.Concat(ICSharpCode.AvalonEdit.Utils.Rope{`0},ICSharpCode.AvalonEdit.Utils.Rope{`0})"/> method, allows constructions of larger ropes where parts are
lazily loaded.
However, even methods like Concat may sometimes cause the initializer function to be called, e.g. when
two short ropes are concatenated.
</remarks>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.Clone">
<summary>
Clones the rope.
This operation runs in linear time to the number of rope nodes touched since the last clone was created.
If you count the per-node cost to the operation modifying the rope (doing this doesn't increase the complexity of the modification operations);
the remainder of Clone() runs in O(1).
</summary>
<remarks>
This method counts as a read access and may be called concurrently to other read accesses.
</remarks>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.Clear">
<summary>
Resets the rope to an empty list.
Runs in O(1).
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.InsertRange(System.Int32,ICSharpCode.AvalonEdit.Utils.Rope{`0})">
<summary>
Inserts another rope into this rope.
Runs in O(lg N + lg M), plus a per-node cost as if <c>newElements.Clone()</c> was called.
</summary>
<exception cref="T:System.ArgumentNullException">newElements is null.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">index or length is outside the valid range.</exception>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
<summary>
Inserts new elemetns into this rope.
Runs in O(lg N + M), where N is the length of this rope and M is the number of new elements.
</summary>
<exception cref="T:System.ArgumentNullException">newElements is null.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">index or length is outside the valid range.</exception>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.InsertRange(System.Int32,`0[],System.Int32,System.Int32)">
<summary>
Inserts new elements into this rope.
Runs in O(lg N + M), where N is the length of this rope and M is the number of new elements.
</summary>
<exception cref="T:System.ArgumentNullException">newElements is null.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">index or length is outside the valid range.</exception>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.AddRange(System.Collections.Generic.IEnumerable{`0})">
<summary>
Appends multiple elements to the end of this rope.
Runs in O(lg N + M), where N is the length of this rope and M is the number of new elements.
</summary>
<exception cref="T:System.ArgumentNullException">newElements is null.</exception>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.AddRange(ICSharpCode.AvalonEdit.Utils.Rope{`0})">
<summary>
Appends another rope to the end of this rope.
Runs in O(lg N + lg M), plus a per-node cost as if <c>newElements.Clone()</c> was called.
</summary>
<exception cref="T:System.ArgumentNullException">newElements is null.</exception>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.AddRange(`0[],System.Int32,System.Int32)">
<summary>
Appends new elements to the end of this rope.
Runs in O(lg N + M), where N is the length of this rope and M is the number of new elements.
</summary>
<exception cref="T:System.ArgumentNullException">array is null.</exception>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.RemoveRange(System.Int32,System.Int32)">
<summary>
Removes a range of elements from the rope.
Runs in O(lg N).
</summary>
<exception cref="T:System.ArgumentOutOfRangeException">offset or length is outside the valid range.</exception>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.SetRange(System.Int32,`0[],System.Int32,System.Int32)">
<summary>
Copies a range of the specified array into the rope, overwriting existing elements.
Runs in O(lg N + M).
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.GetRange(System.Int32,System.Int32)">
<summary>
Creates a new rope and initializes it with a part of this rope.
Runs in O(lg N) plus a per-node cost as if <c>this.Clone()</c> was called.
</summary>
<exception cref="T:System.ArgumentOutOfRangeException">offset or length is outside the valid range.</exception>
<remarks>
This method counts as a read access and may be called concurrently to other read accesses.
</remarks>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.Concat(ICSharpCode.AvalonEdit.Utils.Rope{`0},ICSharpCode.AvalonEdit.Utils.Rope{`0})">
<summary>
Concatenates two ropes. The input ropes are not modified.
Runs in O(lg N + lg M).
</summary>
<remarks>
This method counts as a read access and may be called concurrently to other read accesses.
</remarks>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.Concat(ICSharpCode.AvalonEdit.Utils.Rope{`0}[])">
<summary>
Concatenates multiple ropes. The input ropes are not modified.
</summary>
<remarks>
This method counts as a read access and may be called concurrently to other read accesses.
</remarks>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.ToString">
<summary>
Creates a string from the rope. Runs in O(N).
</summary>
<returns>A string consisting of all elements in the rope as comma-separated list in {}.
As a special case, Rope<char> will return its contents as string without any additional separators or braces,
so it can be used like StringBuilder.ToString().</returns>
<remarks>
This method counts as a read access and may be called concurrently to other read accesses.
</remarks>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.IndexOf(`0)">
<summary>
Finds the first occurance of item.
Runs in O(N).
</summary>
<returns>The index of the first occurance of item, or -1 if it cannot be found.</returns>
<remarks>
This method counts as a read access and may be called concurrently to other read accesses.
</remarks>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.Insert(System.Int32,`0)">
<summary>
Inserts the item at the specified index in the rope.
Runs in O(lg N).
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.RemoveAt(System.Int32)">
<summary>
Removes a single item from the rope.
Runs in O(lg N).
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.Add(`0)">
<summary>
Appends the item at the end of the rope.
Runs in O(lg N).
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.Contains(`0)">
<summary>
Searches the item in the rope.
Runs in O(N).
</summary>
<remarks>
This method counts as a read access and may be called concurrently to other read accesses.
</remarks>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.CopyTo(`0[],System.Int32)">
<summary>
Copies the whole content of the rope into the specified array.
Runs in O(N).
</summary>
<remarks>
This method counts as a read access and may be called concurrently to other read accesses.
</remarks>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.CopyTo(System.Int32,`0[],System.Int32,System.Int32)">
<summary>
Copies the a part of the rope into the specified array.
Runs in O(lg N + M).
</summary>
<remarks>
This method counts as a read access and may be called concurrently to other read accesses.
</remarks>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.Remove(`0)">
<summary>
Removes the first occurance of an item from the rope.
Runs in O(N).
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.GetEnumerator">
<summary>
Retrieves an enumerator to iterate through the rope.
The enumerator will reflect the state of the rope from the GetEnumerator() call, further modifications
to the rope will not be visible to the enumerator.
</summary>
<remarks>
This method counts as a read access and may be called concurrently to other read accesses.
</remarks>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.ToArray">
<summary>
Creates an array and copies the contents of the rope into it.
Runs in O(N).
</summary>
<remarks>
This method counts as a read access and may be called concurrently to other read accesses.
</remarks>
</member>
<member name="M:ICSharpCode.AvalonEdit.Utils.Rope`1.ToArray(System.Int32,System.Int32)">
<summary>
Creates an array and copies the contents of the rope into it.
Runs in O(N).
</summary>
<remarks>
This method counts as a read access and may be called concurrently to other read accesses.
</remarks>
</member>
<member name="P:ICSharpCode.AvalonEdit.Utils.Rope`1.Length">
<summary>
Gets the length of the rope.
Runs in O(1).
</summary>
<remarks>
This method counts as a read access and may be called concurrently to other read accesses.
</remarks>
</member>
<member name="P:ICSharpCode.AvalonEdit.Utils.Rope`1.Count">
<summary>
Gets the length of the rope.
Runs in O(1).
</summary>
<remarks>
This method counts as a read access and may be called concurrently to other read accesses.
</remarks>
</member>
<member name="P:ICSharpCode.AvalonEdit.Utils.Rope`1.Item(System.Int32)">
<summary>
Gets/Sets a single character.
Runs in O(lg N) for random access. Sequential read-only access benefits from a special optimization and runs in amortized O(1).
</summary>
<exception cref="T:System.ArgumentOutOfRangeException">Offset is outside the valid range (0 to Length-1).</exception>
<remarks>
The getter counts as a read access and may be called concurrently to other read accesses.
</remarks>
</member>
<member name="T:ICSharpCode.AvalonEdit.Snippets.InsertionContext">
<summary>
Represents the context of a snippet insertion.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Snippets.InsertionContext.#ctor(ICSharpCode.AvalonEdit.Editing.TextArea,System.Int32)">
<summary>
Creates a new InsertionContext instance.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Snippets.InsertionContext.InsertText(System.String)">
<summary>
Inserts text at the insertion position and advances the insertion position.
This method will add the current indentation to every line in <paramref name="text"/> and will
replace newlines with the expected newline for the document.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Snippets.InsertionContext.RegisterActiveElement(ICSharpCode.AvalonEdit.Snippets.SnippetElement,ICSharpCode.AvalonEdit.Snippets.IActiveElement)">
<summary>
Registers an active element. Elements should be registered during insertion and will be called back
when insertion has completed.
</summary>
<param name="owner">The snippet element that created the active element.</param>
<param name="element">The active element.</param>
</member>
<member name="M:ICSharpCode.AvalonEdit.Snippets.InsertionContext.GetActiveElement(ICSharpCode.AvalonEdit.Snippets.SnippetElement)">
<summary>
Returns the active element belonging to the specified snippet element, or null if no such active element is found.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Snippets.InsertionContext.RaiseInsertionCompleted(System.EventArgs)">
<summary>
Calls the <see cref="M:ICSharpCode.AvalonEdit.Snippets.IActiveElement.OnInsertionCompleted"/> method on all registered active elements
and raises the <see cref="E:ICSharpCode.AvalonEdit.Snippets.InsertionContext.InsertionCompleted"/> event.
</summary>
<param name="e">The EventArgs to use</param>
</member>
<member name="M:ICSharpCode.AvalonEdit.Snippets.InsertionContext.Deactivate(ICSharpCode.AvalonEdit.Snippets.SnippetEventArgs)">
<summary>
Calls the <see cref="M:ICSharpCode.AvalonEdit.Snippets.IActiveElement.Deactivate"/> method on all registered active elements.
</summary>
<param name="e">The EventArgs to use</param>
</member>
<member name="M:ICSharpCode.AvalonEdit.Snippets.InsertionContext.ReceiveWeakEvent(System.Type,System.Object,System.EventArgs)">
<inheritdoc cref="M:System.Windows.IWeakEventListener.ReceiveWeakEvent(System.Type,System.Object,System.EventArgs)"/>
</member>
<member name="P:ICSharpCode.AvalonEdit.Snippets.InsertionContext.TextArea">
<summary>
Gets the text area.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Snippets.InsertionContext.Document">
<summary>
Gets the text document.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Snippets.InsertionContext.SelectedText">
<summary>
Gets the text that was selected before the insertion of the snippet.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Snippets.InsertionContext.Indentation">
<summary>
Gets the indentation at the insertion position.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Snippets.InsertionContext.Tab">
<summary>
Gets the indentation string for a single indentation level.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Snippets.InsertionContext.LineTerminator">
<summary>
Gets the line terminator at the insertion position.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Snippets.InsertionContext.InsertionPosition">
<summary>
Gets/Sets the insertion position.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Snippets.InsertionContext.ActiveElements">
<summary>
Gets the list of active elements.
</summary>
</member>
<member name="E:ICSharpCode.AvalonEdit.Snippets.InsertionContext.InsertionCompleted">
<summary>
Occurs when the all snippet elements have been inserted.
</summary>
</member>
<member name="E:ICSharpCode.AvalonEdit.Snippets.InsertionContext.Deactivated">
<summary>
Occurs when the interactive mode is deactivated.
</summary>
</member>
<member name="T:ICSharpCode.AvalonEdit.Indentation.IIndentationStrategy">
<summary>
Strategy how the text editor handles indentation when new lines are inserted.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Indentation.IIndentationStrategy.IndentLine(ICSharpCode.AvalonEdit.Document.TextDocument,ICSharpCode.AvalonEdit.Document.DocumentLine)">
<summary>
Sets the indentation for the specified line.
Usually this is constructed from the indentation of the previous line.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Indentation.IIndentationStrategy.IndentLines(ICSharpCode.AvalonEdit.Document.TextDocument,System.Int32,System.Int32)">
<summary>
Reindents a set of lines.
</summary>
</member>
<member name="T:ICSharpCode.AvalonEdit.Highlighting.HighlightingDefinitionTypeConverter">
<summary>
Converts between strings and <see cref="T:ICSharpCode.AvalonEdit.Highlighting.IHighlightingDefinition"/> by treating the string as the definition name
and calling <c>HighlightingManager.Instance.<see cref="M:ICSharpCode.AvalonEdit.Highlighting.HighlightingManager.GetDefinition(System.String)">GetDefinition</see>(name)</c>.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Highlighting.HighlightingDefinitionTypeConverter.CanConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Type)">
<inheritdoc/>
</member>
<member name="M:ICSharpCode.AvalonEdit.Highlighting.HighlightingDefinitionTypeConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object)">
<inheritdoc/>
</member>
<member name="M:ICSharpCode.AvalonEdit.Highlighting.HighlightingDefinitionTypeConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Type)">
<inheritdoc/>
</member>
<member name="M:ICSharpCode.AvalonEdit.Highlighting.HighlightingDefinitionTypeConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object,System.Type)">
<inheritdoc/>
</member>
<member name="T:ICSharpCode.AvalonEdit.Highlighting.HighlightedLine">
<summary>
Represents a highlighted document line.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Highlighting.HighlightedLine.#ctor(ICSharpCode.AvalonEdit.Document.TextDocument,ICSharpCode.AvalonEdit.Document.DocumentLine)">
<summary>
Creates a new HighlightedLine instance.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Highlighting.HighlightedLine.ToHtml(ICSharpCode.AvalonEdit.Highlighting.HtmlOptions)">
<summary>
Produces HTML code for the line, with <span class="colorName"> tags.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Highlighting.HighlightedLine.ToHtml(System.Int32,System.Int32,ICSharpCode.AvalonEdit.Highlighting.HtmlOptions)">
<summary>
Produces HTML code for a section of the line, with <span class="colorName"> tags.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Highlighting.HighlightedLine.ToString">
<inheritdoc/>
</member>
<member name="P:ICSharpCode.AvalonEdit.Highlighting.HighlightedLine.Document">
<summary>
Gets the document associated with this HighlightedLine.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Highlighting.HighlightedLine.DocumentLine">
<summary>
Gets the document line associated with this HighlightedLine.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Highlighting.HighlightedLine.Sections">
<summary>
Gets the highlighted sections.
The sections are not overlapping, but they may be nested.
In that case, outer sections come in the list before inner sections.
The sections are sorted by start offset.
</summary>
</member>
<member name="T:ICSharpCode.AvalonEdit.Editing.ITextAreaInputHandler">
<summary>
A set of input bindings and event handlers for the text area.
</summary>
<remarks>
<para>
There is one active input handler per text area (<see cref="P:ICSharpCode.AvalonEdit.Editing.TextArea.ActiveInputHandler"/>), plus
a number of active stacked input handlers.
</para>
<para>
The text area also stores a reference to a default input handler, but that is not necessarily active.
</para>
<para>
Stacked input handlers work in addition to the set of currently active handlers (without detaching them).
They are detached in the reverse order of being attached.
</para>
</remarks>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.ITextAreaInputHandler.Attach">
<summary>
Attaches an input handler to the text area.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.ITextAreaInputHandler.Detach">
<summary>
Detaches the input handler from the text area.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Editing.ITextAreaInputHandler.TextArea">
<summary>
Gets the text area that the input handler belongs to.
</summary>
</member>
<member name="T:ICSharpCode.AvalonEdit.Editing.TextAreaStackedInputHandler">
<summary>
Stacked input handler.
Uses OnEvent-methods instead of registering event handlers to ensure that the events are handled in the correct order.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.TextAreaStackedInputHandler.#ctor(ICSharpCode.AvalonEdit.Editing.TextArea)">
<summary>
Creates a new TextAreaInputHandler.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.TextAreaStackedInputHandler.Attach">
<inheritdoc/>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.TextAreaStackedInputHandler.Detach">
<inheritdoc/>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.TextAreaStackedInputHandler.OnPreviewKeyDown(System.Windows.Input.KeyEventArgs)">
<summary>
Called for the PreviewKeyDown event.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.TextAreaStackedInputHandler.OnPreviewKeyUp(System.Windows.Input.KeyEventArgs)">
<summary>
Called for the PreviewKeyUp event.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Editing.TextAreaStackedInputHandler.TextArea">
<inheritdoc/>
</member>
<member name="T:ICSharpCode.AvalonEdit.Editing.TextAreaInputHandler">
<summary>
Default-implementation of <see cref="T:ICSharpCode.AvalonEdit.Editing.ITextAreaInputHandler"/>.
</summary>
<remarks><inheritdoc cref="T:ICSharpCode.AvalonEdit.Editing.ITextAreaInputHandler"/></remarks>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.TextAreaInputHandler.#ctor(ICSharpCode.AvalonEdit.Editing.TextArea)">
<summary>
Creates a new TextAreaInputHandler.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.TextAreaInputHandler.AddBinding(System.Windows.Input.ICommand,System.Windows.Input.ModifierKeys,System.Windows.Input.Key,System.Windows.Input.ExecutedRoutedEventHandler)">
<summary>
Adds a command and input binding.
</summary>
<param name="command">The command ID.</param>
<param name="modifiers">The modifiers of the keyboard shortcut.</param>
<param name="key">The key of the keyboard shortcut.</param>
<param name="handler">The event handler to run when the command is executed.</param>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.TextAreaInputHandler.Attach">
<inheritdoc/>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.TextAreaInputHandler.Detach">
<inheritdoc/>
</member>
<member name="P:ICSharpCode.AvalonEdit.Editing.TextAreaInputHandler.TextArea">
<inheritdoc/>
</member>
<member name="P:ICSharpCode.AvalonEdit.Editing.TextAreaInputHandler.IsAttached">
<summary>
Gets whether the input handler is currently attached to the text area.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Editing.TextAreaInputHandler.CommandBindings">
<summary>
Gets the command bindings of this input handler.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Editing.TextAreaInputHandler.InputBindings">
<summary>
Gets the input bindings of this input handler.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Editing.TextAreaInputHandler.NestedInputHandlers">
<summary>
Gets the collection of nested input handlers. NestedInputHandlers are activated and deactivated
together with this input handler.
</summary>
</member>
<member name="T:ICSharpCode.AvalonEdit.Editing.RectangleSelection">
<summary>
Rectangular selection.
</summary>
</member>
<member name="T:ICSharpCode.AvalonEdit.Editing.Selection">
<summary>
Base class for selections.
</summary>
</member>
<member name="F:ICSharpCode.AvalonEdit.Editing.Selection.Empty">
<summary>
Gets the empty selection.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.Selection.ReplaceSelectionWithText(ICSharpCode.AvalonEdit.Editing.TextArea,System.String)">
<summary>
Replaces the selection with the specified text.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.Selection.UpdateOnDocumentChange(ICSharpCode.AvalonEdit.Document.DocumentChangeEventArgs)">
<summary>
Updates the selection when the document changes.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.Selection.SetEndpoint(System.Int32)">
<summary>
Returns a new selection with the changed end point.
</summary>
<exception cref="T:System.NotSupportedException">Cannot set endpoint for empty selection</exception>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.Selection.StartSelectionOrSetEndpoint(System.Int32,System.Int32)">
<summary>
If this selection is empty, starts a new selection from <paramref name="startOffset"/> to
<paramref name="newEndOffset"/>, otherwise, changes the endpoint of this selection.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.Selection.IsMultiline(ICSharpCode.AvalonEdit.Document.TextDocument)">
<summary>
Gets whether the selection is multi-line.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.Selection.GetText(ICSharpCode.AvalonEdit.Document.TextDocument)">
<summary>
Gets the selected text.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.Selection.CreateHtmlFragment(ICSharpCode.AvalonEdit.Editing.TextArea,ICSharpCode.AvalonEdit.Highlighting.HtmlOptions)">
<summary>
Creates a HTML fragment for the selected text.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.Selection.Equals(System.Object)">
<inheritdoc/>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.Selection.GetHashCode">
<inheritdoc/>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.Selection.Contains(System.Int32)">
<summary>
Gets whether the specified offset is included in the selection.
</summary>
<returns>True, if the selection contains the offset (selection borders inclusive);
otherwise, false.</returns>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.Selection.CreateDataObject(ICSharpCode.AvalonEdit.Editing.TextArea)">
<summary>
Creates a data object containing the selection's text.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Editing.Selection.Segments">
<summary>
Gets the selected text segments.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Editing.Selection.SurroundingSegment">
<summary>
Gets the smallest segment that contains all segments in this selection.
May return null if the selection is empty.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Editing.Selection.IsEmpty">
<summary>
Gets whether the selection is empty.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Editing.Selection.Length">
<summary>
Gets the selection length.
</summary>
</member>
<member name="F:ICSharpCode.AvalonEdit.Editing.RectangleSelection.RectangularSelectionDataType">
<summary>
Gets the name of the entry in the DataObject that signals rectangle selections.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.RectangleSelection.#ctor(ICSharpCode.AvalonEdit.Document.TextDocument,System.Int32,System.Int32)">
<summary>
Creates a new rectangular selection.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.RectangleSelection.Contains(System.Int32)">
<inheritdoc/>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.RectangleSelection.GetText(ICSharpCode.AvalonEdit.Document.TextDocument)">
<inheritdoc/>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.RectangleSelection.StartSelectionOrSetEndpoint(System.Int32,System.Int32)">
<inheritdoc/>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.RectangleSelection.Equals(System.Object)">
<inheritdoc/>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.RectangleSelection.GetHashCode">
<inheritdoc/>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.RectangleSelection.SetEndpoint(System.Int32)">
<inheritdoc/>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.RectangleSelection.UpdateOnDocumentChange(ICSharpCode.AvalonEdit.Document.DocumentChangeEventArgs)">
<inheritdoc/>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.RectangleSelection.ReplaceSelectionWithText(ICSharpCode.AvalonEdit.Editing.TextArea,System.String)">
<inheritdoc/>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.RectangleSelection.PerformRectangularPaste(ICSharpCode.AvalonEdit.Editing.TextArea,System.Int32,System.String,System.Boolean)">
<summary>
Performs a rectangular paste operation.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.RectangleSelection.CreateDataObject(ICSharpCode.AvalonEdit.Editing.TextArea)">
<inheritdoc/>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.RectangleSelection.ToString">
<inheritdoc/>
</member>
<member name="P:ICSharpCode.AvalonEdit.Editing.RectangleSelection.StartOffset">
<summary>
Gets the start position of the selection.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Editing.RectangleSelection.EndOffset">
<summary>
Gets the end position of the selection.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Editing.RectangleSelection.IsEmpty">
<inheritdoc/>
</member>
<member name="P:ICSharpCode.AvalonEdit.Editing.RectangleSelection.Length">
<inheritdoc/>
</member>
<member name="P:ICSharpCode.AvalonEdit.Editing.RectangleSelection.SurroundingSegment">
<inheritdoc/>
</member>
<member name="P:ICSharpCode.AvalonEdit.Editing.RectangleSelection.Segments">
<inheritdoc/>
</member>
<member name="T:ICSharpCode.AvalonEdit.Editing.EditingCommandHandler">
<summary>
We re-use the CommandBinding and InputBinding instances between multiple text areas,
so this class is static.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.EditingCommandHandler.Create(ICSharpCode.AvalonEdit.Editing.TextArea)">
<summary>
Creates a new <see cref="T:ICSharpCode.AvalonEdit.Editing.TextAreaInputHandler"/> for the text area.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.EditingCommandHandler.TransformSelectedLines(System.Action{ICSharpCode.AvalonEdit.Editing.TextArea,ICSharpCode.AvalonEdit.Document.DocumentLine},System.Object,System.Windows.Input.ExecutedRoutedEventArgs,ICSharpCode.AvalonEdit.Editing.EditingCommandHandler.DefaultSegmentType)">
<summary>
Calls transformLine on all lines in the selected range.
transformLine needs to handle read-only segments!
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Editing.EditingCommandHandler.TransformSelectedSegments(System.Action{ICSharpCode.AvalonEdit.Editing.TextArea,ICSharpCode.AvalonEdit.Document.ISegment},System.Object,System.Windows.Input.ExecutedRoutedEventArgs,ICSharpCode.AvalonEdit.Editing.EditingCommandHandler.DefaultSegmentType)">
<summary>
Calls transformLine on all writable segment in the selected range.
</summary>
</member>
<member name="T:ICSharpCode.AvalonEdit.Document.ISegmentTree">
<summary>
Interface to allow TextSegments to access the TextSegmentCollection - we cannot use a direct reference
because TextSegmentCollection is generic.
</summary>
</member>
<member name="T:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1">
<summary>
<para>
A collection of text segments that supports efficient lookup of segments
intersecting with another segment.
</para>
</summary>
<remarks><inheritdoc cref="T:ICSharpCode.AvalonEdit.Document.TextSegment"/></remarks>
<see cref="T:ICSharpCode.AvalonEdit.Document.TextSegment"/>
</member>
<member name="M:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1.#ctor">
<summary>
Creates a new TextSegmentCollection that needs manual calls to <see cref="M:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1.UpdateOffsets(ICSharpCode.AvalonEdit.Document.DocumentChangeEventArgs)"/>.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1.#ctor(ICSharpCode.AvalonEdit.Document.TextDocument)">
<summary>
Creates a new TextSegmentCollection that updates the offsets automatically.
</summary>
<param name="textDocument">The document to which the text segments
that will be added to the tree belong. When the document changes, the
position of the text segments will be updated accordingly.</param>
</member>
<member name="M:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1.UpdateOffsets(ICSharpCode.AvalonEdit.Document.DocumentChangeEventArgs)">
<summary>
Updates the start and end offsets of all segments stored in this collection.
</summary>
<param name="e">DocumentChangeEventArgs instance describing the change to the document.</param>
</member>
<member name="M:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1.UpdateOffsets(ICSharpCode.AvalonEdit.Document.OffsetChangeMapEntry)">
<summary>
Updates the start and end offsets of all segments stored in this collection.
</summary>
<param name="change">OffsetChangeMapEntry instance describing the change to the document.</param>
</member>
<member name="M:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1.Add(`0)">
<summary>
Adds the specified segment to the tree. This will cause the segment to update when the
document changes.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1.GetNextSegment(`0)">
<summary>
Gets the next segment after the specified segment.
Segments are sorted by their start offset.
Returns null if segment is the last segment.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1.GetPreviousSegment(`0)">
<summary>
Gets the previous segment before the specified segment.
Segments are sorted by their start offset.
Returns null if segment is the last segment.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1.FindFirstSegmentWithStartAfter(System.Int32)">
<summary>
Gets the first segment with a start offset greater or equal to <paramref name="startOffset"/>.
Returns null if no such segment is found.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1.FindNode(System.Int32@)">
<summary>
Finds the node at the specified offset.
After the method has run, offset is relative to the beginning of the returned node.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1.FindSegmentsContaining(System.Int32)">
<summary>
Finds all segments that contain the given offset.
(StartOffset <= offset <= EndOffset)
Segments are returned in the order given by GetNextSegment/GetPreviousSegment.
</summary>
<returns>Returns a new collection containing the results of the query.
This means it is safe to modify the TextSegmentCollection while iterating through the result collection.</returns>
</member>
<member name="M:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1.FindOverlappingSegments(ICSharpCode.AvalonEdit.Document.ISegment)">
<summary>
Finds all segments that overlap with the given segment (including touching segments).
</summary>
<returns>Returns a new collection containing the results of the query.
This means it is safe to modify the TextSegmentCollection while iterating through the result collection.</returns>
</member>
<member name="M:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1.FindOverlappingSegments(System.Int32,System.Int32)">
<summary>
Finds all segments that overlap with the given segment (including touching segments).
Segments are returned in the order given by GetNextSegment/GetPreviousSegment.
</summary>
<returns>Returns a new collection containing the results of the query.
This means it is safe to modify the TextSegmentCollection while iterating through the result collection.</returns>
</member>
<member name="M:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1.Remove(`0)">
<summary>
Removes the specified segment from the tree. This will cause the segment to not update
anymore when the document changes.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1.Clear">
<summary>
Removes all segments from the tree.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1.Contains(`0)">
<summary>
Gets whether this tree contains the specified item.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1.CopyTo(`0[],System.Int32)">
<summary>
Copies all segments in this SegmentTree to the specified array.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1.GetEnumerator">
<summary>
Gets an enumerator to enumerate the segments.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1.Count">
<summary>
Gets the number of segments in the tree.
</summary>
</member>
<member name="T:ICSharpCode.AvalonEdit.CodeCompletion.ICompletionData">
<summary>
Describes an entry in the <see cref="T:ICSharpCode.AvalonEdit.CodeCompletion.CompletionList"/>.
</summary>
</member>
<member name="M:ICSharpCode.AvalonEdit.CodeCompletion.ICompletionData.Complete(ICSharpCode.AvalonEdit.Editing.TextArea,ICSharpCode.AvalonEdit.Document.ISegment,System.EventArgs)">
<summary>
Perform the completion.
</summary>
<param name="textArea">The text area on which completion is performed.</param>
<param name="completionSegment">The text segment that was used by the completion window if
the user types (segment between CompletionWindow.StartOffset and CompletionWindow.EndOffset).</param>
<param name="insertionRequestEventArgs">The EventArgs used for the insertion request.
These can be TextCompositionEventArgs, KeyEventArgs, MouseEventArgs, depending on how
the insertion was triggered.</param>
</member>
<member name="P:ICSharpCode.AvalonEdit.CodeCompletion.ICompletionData.Image">
<summary>
Gets the image.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.CodeCompletion.ICompletionData.Text">
<summary>
Gets the text. This property is used to filter the list of visible elements.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.CodeCompletion.ICompletionData.Content">
<summary>
The displayed content. This can be the same as 'Text', or a WPF UIElement if
you want to display rich content.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.CodeCompletion.ICompletionData.Description">
<summary>
Gets the description.
</summary>
</member>
<member name="P:ICSharpCode.AvalonEdit.CodeCompletion.ICompletionData.Priority">
<summary>
Gets the priority. This property is used in the selection logic. You can use it to prefer selecting those items
which the user is accessing most frequently.
</summary>
</member>
<member name="T:ICSharpCode.AvalonEdit.Xml.AXmlAttribute">
<summary>
Name-value pair in a tag
</summary>
</member>
<member name="T:ICSharpCode.AvalonEdit.Xml.AXmlObject">
<summary>
Abstact base class for all types
</summary>
</member>
<member name="T:ICSharpCode.AvalonEdit.Document.TextSegment">
<summary>
A segment that can be put into a <see cref="T:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1"/>.
</summary>
<remarks>
<para>
A <see cref="T:ICSharpCode.AvalonEdit.Document.TextSegment"/> can be stand-alone or part of a <see cref="T:ICSharpCode.AvalonEdit.Document.TextSegmentCollection`1"/>.
If the segment is stored inside a TextSegmentCollection, its Offset and Length will be updated by that collection.
</para>
<para>
When the document changes, the offsets of all text segments in the TextSegmentCollection will be adjusted accordingly.
Start offsets move like <see cref="T:ICSharpCode.AvalonEdit.Document.AnchorMovementType">AnchorMovementType.AfterInsertion</see>,
end offsets move like <see cref="T:ICSharpCode.AvalonEdit.Document.AnchorMovementType">AnchorMovementType.BeforeInsertion</see>
(i.e. the segment will always stay as small as possible).</para>
<para>
If a document change causes a segment to be deleted completely, it will be reduced to length 0, but segments are
never automatically removed from the collection.
Segments with length 0 will never expand due to document changes, and they move as <c>AfterInsertion</c>.
</para>
<para>
Thread-safety: a TextSegmentCollection that is connected to a <see cref="T:ICSharpCode.AvalonEdit.Document.TextDocument"/> may only be used on that document's owner thread.
A disconnected TextSegmentCollection is safe for concurrent reads, but concurrent access is not safe when there are writes.
Keep in mind that reading the Offset properties of a text segment inside the collection is a read access on the
collection; and setting an Offset property of a text segment is a write access on the collection.
</para>
</remarks>