SuccessChanges

Summary

  1. [lldb][gui] truncate long lines/names if needed (details)
  2. [lldb][gui] use syntax highlighting also in gui mode (details)
  3. [lldb][gui] use names for color pairs, instead of magic numbers (details)
Commit fc0e8fb7874a73277b221e3f940b749cdd0a99d7 by l.lunak
[lldb][gui] truncate long lines/names if needed

Without this, sources with long lines or variable names may overwrite
panel frames, or even overrun to the following line. There's currently
no way to scroll left/right in the views, so that should be added
to handle these cases.
This commit includes fixing constness of some Window functions,
and also makes PutCStringTruncated() consistent with the added
printf-like variant to take the padding as the first argument (can't
add it after the format to the printf-like function).

Differential Revision: https://reviews.llvm.org/D85123
The file was addedlldb/test/API/commands/gui/viewlarge/TestGuiViewLarge.py
The file was addedlldb/test/API/commands/gui/viewlarge/main.c
The file was addedlldb/test/API/commands/gui/viewlarge/Makefile
The file was modifiedlldb/source/Core/IOHandlerCursesGUI.cpp (diff)
Commit 14406ca01fd3f401742b0f78f3780f62f3934468 by l.lunak
[lldb][gui] use syntax highlighting also in gui mode

Use the same functionality as the non-gui mode, the colors just
need translating to curses colors.

Differential Revision: https://reviews.llvm.org/D85145
The file was modifiedlldb/source/Core/IOHandlerCursesGUI.cpp (diff)
Commit 4a8e4b5c744791da629ec4a282acdf536f4471dd by l.lunak
[lldb][gui] use names for color pairs, instead of magic numbers

Differential Revision: https://reviews.llvm.org/D85286
The file was modifiedlldb/source/Core/IOHandlerCursesGUI.cpp (diff)