[all-commits] [llvm/llvm-project] 11b6d2: [lldb][gui] draw highlight for selected line even ...

Luboš Luňák via All-commits all-commits at lists.llvm.org
Sun Apr 3 08:52:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 11b6d2f9cdd5840efddce368d5f9e30f059859eb
      https://github.com/llvm/llvm-project/commit/11b6d2f9cdd5840efddce368d5f9e30f059859eb
  Author: Luboš Luňák <l.lunak at centrum.cz>
  Date:   2022-04-03 (Sun, 03 Apr 2022)

  Changed paths:
    M lldb/source/Core/IOHandlerCursesGUI.cpp

  Log Message:
  -----------
  [lldb][gui] draw highlight for selected line even if empty


  Commit: 5c540c751c0210ba7a04f901fbbb6840777c9ef2
      https://github.com/llvm/llvm-project/commit/5c540c751c0210ba7a04f901fbbb6840777c9ef2
  Author: Luboš Luňák <l.lunak at centrum.cz>
  Date:   2022-04-03 (Sun, 03 Apr 2022)

  Changed paths:
    M lldb/source/Core/IOHandlerCursesGUI.cpp

  Log Message:
  -----------
  [lldb][gui] fix background of syntax-highlighted non-selected PC line

It is the PC line, selected or not, that gets the blue-background
highlight. Without this, a keyword like 'bool' got black background
if the line wasn't selected.
And the blue-background highlight is handled by OutputColoredStringTruncated(),
so no point in setting it explicitly in the calling code.


  Commit: 5e79a00178c22dc00d2e5cf73b7b639d44e3f73d
      https://github.com/llvm/llvm-project/commit/5e79a00178c22dc00d2e5cf73b7b639d44e3f73d
  Author: Luboš Luňák <l.lunak at centrum.cz>
  Date:   2022-04-03 (Sun, 03 Apr 2022)

  Changed paths:
    M lldb/source/Core/IOHandlerCursesGUI.cpp

  Log Message:
  -----------
  [lldb][gui] use symbolic names rather than hardcoded values


  Commit: baebf2389657d0abb91861b7d277b7104f928d2b
      https://github.com/llvm/llvm-project/commit/baebf2389657d0abb91861b7d277b7104f928d2b
  Author: Luboš Luňák <l.lunak at centrum.cz>
  Date:   2022-04-03 (Sun, 03 Apr 2022)

  Changed paths:
    M lldb/source/Core/IOHandlerCursesGUI.cpp

  Log Message:
  -----------
  [lldb][gui] underline the current token

Just like the non-gui listing already does.


Compare: https://github.com/llvm/llvm-project/compare/e5121be9104e...baebf2389657


More information about the All-commits mailing list