Tig 8 месяцев назад
Родитель
Сommit
f8c384a22c

+ 0 - 9
Terminal.Gui/Application/ApplicationNavigation.cs

@@ -30,15 +30,6 @@ public class ApplicationNavigation
     public View? GetFocused ()
     public View? GetFocused ()
     {
     {
         return _focused;
         return _focused;
-
-        if (_focused is { CanFocus: true, HasFocus: true })
-        {
-            return _focused;
-        }
-
-        _focused = null;
-
-        return null;
     }
     }
 
 
     /// <summary>
     /// <summary>

+ 3 - 4
Terminal.Gui/View/View.Drawing.Primitives.cs

@@ -67,12 +67,11 @@ public partial class View
     }
     }
 
 
 
 
-    /// <summary>Adds the <paramref name="str"/> to the display at the cursor position.</summary>
+    /// <summary>Adds the <paramref name="str"/> to the display at the current draw position.</summary>
     /// <remarks>
     /// <remarks>
     ///     <para>
     ///     <para>
-    ///         When the method returns, <see cref="Col"/> will be incremented by the number of columns
-    ///         <paramref name="str"/> required, unless the new column value is outside of the <see cref="Clip"/> or screen
-    ///         dimensions defined by <see cref="Cols"/>.
+    ///         When the method returns, the draw position will be incremented by the number of columns
+    ///         <paramref name="str"/> required, unless the new column value is outside the <see cref="GetClip()"/> or <see cref="Application.Screen"/>.
     ///     </para>
     ///     </para>
     ///     <para>If <paramref name="str"/> requires more columns than are available, the output will be clipped.</para>
     ///     <para>If <paramref name="str"/> requires more columns than are available, the output will be clipped.</para>
     /// </remarks>
     /// </remarks>