IReadOnlyRegionEdit Methods
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
| Name | Description | |
|---|---|---|
![]() | Apply() | Commits all the modifications made with this ITextBufferEdit object to the underlying ITextBuffer. It also causes the ITextBuffer to generate a new snapshot and raise its Changed event if any modifications were made. (Inherited from ITextBufferEdit.) |
![]() | Cancel() | Abandons all modifications started using this ITextBufferEdit object. Any further calls on this object will result in an InvalidOperationException.(Inherited from ITextBufferEdit.) |
![]() | CreateDynamicReadOnlyRegion(Span, SpanTrackingMode, EdgeInsertionMode, DynamicReadOnlyRegionQuery^) | Marks a span of text in this buffer as conditionally read-only, subject to a check performed when the region is queried. The span remains read-only until it is marked as writable or forced writable again. |
![]() | CreateReadOnlyRegion(Span) | Marks a span of text in this buffer as read-only. The span remains read-only until the IReadOnlyRegion is removed. |
![]() | CreateReadOnlyRegion(Span, SpanTrackingMode, EdgeInsertionMode) | Marks a span of text in this buffer as read-only. The span remains read-only until it is marked as writable or forced writable again. |
![]() | Dispose() | (Inherited from IDisposable.) |
![]() | RemoveReadOnlyRegion(IReadOnlyRegion^) | Removes the read-only region from the list of read-only regions in this buffer. |
