diff --git a/Terminal.Gui/Views/TextInput/ContentsChangedEventArgs.cs b/Terminal.Gui/Views/TextInput/ContentsChangedEventArgs.cs index 72c125f032..b75392dbec 100644 --- a/Terminal.Gui/Views/TextInput/ContentsChangedEventArgs.cs +++ b/Terminal.Gui/Views/TextInput/ContentsChangedEventArgs.cs @@ -4,6 +4,7 @@ namespace Terminal.Gui.Views; /// Event arguments for events for when the contents of the TextView change. E.g. the /// event. /// +[Obsolete ("ContentsChangedEventArgs is obsolete because TextView is superseded by gui-cs/Editor. See https://github.com/gui-cs/Editor.", error: false)] public class ContentsChangedEventArgs : EventArgs { /// Creates a new instance. diff --git a/Terminal.Gui/Views/TextInput/TextView/TextView.cs b/Terminal.Gui/Views/TextInput/TextView/TextView.cs index b61e79ad8b..5672f2c8da 100644 --- a/Terminal.Gui/Views/TextInput/TextView/TextView.cs +++ b/Terminal.Gui/Views/TextInput/TextView/TextView.cs @@ -9,6 +9,7 @@ namespace Terminal.Gui.Views; /// /// Key Action /// + /// /// Left, Ctrl+B Moves the editing point left. /// @@ -95,6 +96,9 @@ namespace Terminal.Gui.Views; /// /// /// +[Obsolete ("TextView is superseded by gui-cs/Editor's EditorView, which provides a rope-backed document model, " + + "cell-aware rendering, multi-caret editing, undo, syntax highlighting, folding, find/replace, and soft wrap. " + + "See https://github.com/gui-cs/Editor for details.", error: false)] public partial class TextView : View, IDesignable { /// diff --git a/Terminal.Gui/Views/TextInput/TextView/TextViewAutocomplete.cs b/Terminal.Gui/Views/TextInput/TextView/TextViewAutocomplete.cs index a48755c7a0..9a5cecde1d 100644 --- a/Terminal.Gui/Views/TextInput/TextView/TextViewAutocomplete.cs +++ b/Terminal.Gui/Views/TextInput/TextView/TextViewAutocomplete.cs @@ -4,6 +4,7 @@ namespace Terminal.Gui.Views; /// Renders an overlay on another view at a given point that allows selecting from a range of 'autocomplete' /// options. An implementation on a TextView. /// +[Obsolete ("TextViewAutocomplete is obsolete because TextView is superseded by gui-cs/Editor. See https://github.com/gui-cs/Editor.", error: false)] public class TextViewAutocomplete : PopupAutocomplete { ///