mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
Notes:
sideshowbarker
2024-07-17 16:21:09 +09:00
Author: https://github.com/IdanHo
Commit: 086969277e
Pull-request: https://github.com/SerenityOS/serenity/pull/12321
Reviewed-by: https://github.com/BertalanD
Reviewed-by: https://github.com/bgianfo ✅
1665 changed files with 8479 additions and 8479 deletions
|
@ -18,10 +18,10 @@ class DiffViewer final : public GUI::AbstractScrollableWidget {
|
|||
public:
|
||||
virtual ~DiffViewer() override = default;
|
||||
|
||||
void set_content(const String& original, const String& diff);
|
||||
void set_content(String const& original, String const& diff);
|
||||
|
||||
private:
|
||||
DiffViewer(const String& original, const String& diff);
|
||||
DiffViewer(String const& original, String const& diff);
|
||||
DiffViewer();
|
||||
|
||||
void setup_properties();
|
||||
|
@ -43,9 +43,9 @@ private:
|
|||
Missing,
|
||||
};
|
||||
|
||||
void draw_line(GUI::Painter&, const String& line, size_t y_offset, LinePosition, LineType);
|
||||
void draw_line(GUI::Painter&, String const& line, size_t y_offset, LinePosition, LineType);
|
||||
|
||||
static Vector<String> split_to_lines(const String& text);
|
||||
static Vector<String> split_to_lines(String const& text);
|
||||
|
||||
static Gfx::Color red_background();
|
||||
static Gfx::Color green_background();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue