浏览代码

Code cleanup. Docs

Tig 11 月之前
父节点
当前提交
a03a8cbc10
共有 3 个文件被更改,包括 5 次插入4 次删除
  1. 2 2
      UICatalog/Scenarios/Navigation.cs
  2. 1 1
      docfx/docs/migratingfromv1.md
  3. 2 1
      docfx/docs/newinv2.md

+ 2 - 2
UICatalog/Scenarios/Navigation.cs

@@ -106,7 +106,7 @@ public class Navigation : Scenario
         statusBar.Add (
                        new Shortcut
                        {
-                           Title = "Close",
+                           Title = "Hide",
                            Text = "Hotkey",
                            Key = Key.F4,
                            Action = () =>
@@ -119,7 +119,7 @@ public class Navigation : Scenario
         statusBar.Add (
                        new Shortcut
                        {
-                           Title = "Close",
+                           Title = "Toggle Hide",
                            Text = "App",
                            KeyBindingScope = KeyBindingScope.Application,
                            Key = Key.F4.WithCtrl,

+ 1 - 1
docfx/docs/migratingfromv1.md

@@ -255,7 +255,7 @@ See also [Keyboard](keyboard.md) where HotKey is covered more deeply...
 ### How to Fix (Focus API)
 
 * Use [Application.Navigation.GetFocused()](~/api/Terminal.Gui.Application.Navigation.GetFocused.yml) to get the most focused view in the application.
-* ..
+*  Use [Application.Navigation.AdvanceFocus()](~/api/Terminal.Gui.Application.Navigation.AdvanceFocus.yml) to cause focus to change.
 
 ### Keyboard Navigation
 

+ 2 - 1
docfx/docs/newinv2.md

@@ -30,7 +30,7 @@ The entire library has been reviewed and simplified. As a result, the API is mor
 * New! *`Dim.Auto`* - Automatically sizes the view to fitthe view's Text, SubViews, or ContentArea.
 * Improved! *`Pos.AnchorEnd ()`* - New to v2 is `Pos.AnchorEnd ()` (with no parameters) which allows a view to be anchored to the right or bottom of the Superview. 
 * New! *`Pos.Align ()`* - Aligns a set of views horizontally or vertically (left, rigth, center, etc...).
-* ...	
+* Keyboard [Navigation](navigation.md) has been revamped to be more reliability and ensure TUI apps built with Terminal.Gui are accessible. 
 
 ## New and Improved Built-in Views
 
@@ -44,6 +44,7 @@ The entire library has been reviewed and simplified. As a result, the API is mor
 * *[MenuBar](~/api/Terminal.Gui.MenuBar.yml)* - COMING SOON! New implementation based on `Bar`
 * *[ContextMenu](~/api/Terminal.Gui.ContextMenu.yml)* - COMING SOON! New implementation based on `Bar`
 * *[FileDialog](~/api/Terminal.Gui.FileDialog.yml)* - The new, modern file dialog includes icons (in TUI!) for files/folders, search, and a `TreeView`. 
+* [ColorPicker](~/api/Terminal.Gui/ColorPicker.yml)* - Fully supports TrueColor with the ability to choose a color using HSV, RGB, or HSL as well as W3C standard color names.
 
 ## Configuration Manager