Skip to content

Commit

Permalink
Added comment about updating to latest Terminal.Gui
Browse files Browse the repository at this point in the history
  • Loading branch information
tznind committed Oct 3, 2022
1 parent bebdd00 commit 1827c77
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Tools/rdmp/CommandLine/Gui/ConsoleGuiSqlEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -397,11 +397,18 @@ public SqlTextView()

}

// These are renamed in 1.8.2 of Terminal.Gui. But we cannot upgrade because of this issue:
// https://github.com/HicServices/RDMP/pull/1448 . Do not upgrade until you can test the
// Sql Editor performs correctly in the version you are updating to. Everything works great
// in 1.7.2 so lets stick with that for now

// protected override void SetNormalColor()
protected override void ColorNormal()
{
Driver.SetAttribute(_white);
}

// protected override void SetNormalColor(List<System.Rune> line, int idx)
protected override void ColorNormal(List<System.Rune> line, int idx)
{
Driver.SetAttribute(IsKeyword(line, idx) ? _blue : _white);
Expand Down

0 comments on commit 1827c77

Please sign in to comment.