mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 09:27:45 +00:00
LibGUI+HackStudio: Make gutter a first class element
Gutter -- a space left of the text, before the ruler -- is not a part of the ruler, nor should it be treated as such. This commit implements gutter handling in LibGUI::TextEditor as part of mild cleaning up of the gutter handling (breakpoint icons) in HackStudio's Editor. This commit also enables separate theming of the gutter.
This commit is contained in:
parent
920b4d730e
commit
8501617fcb
19 changed files with 103 additions and 25 deletions
|
@ -92,6 +92,8 @@ public:
|
|||
Color hover_highlight() const { return color(ColorRole::HoverHighlight); }
|
||||
Color rubber_band_fill() const { return color(ColorRole::RubberBandFill); }
|
||||
Color rubber_band_border() const { return color(ColorRole::RubberBandBorder); }
|
||||
Color gutter() const { return color(ColorRole::Gutter); }
|
||||
Color gutter_border() const { return color(ColorRole::Gutter); }
|
||||
Color ruler() const { return color(ColorRole::Ruler); }
|
||||
Color ruler_border() const { return color(ColorRole::RulerBorder); }
|
||||
Color ruler_active_text() const { return color(ColorRole::RulerActiveText); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue