mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:37:45 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -31,18 +31,18 @@ public:
|
|||
bool operator!=(Cell const& other) const { return code_point != other.code_point || attribute != other.attribute; }
|
||||
};
|
||||
|
||||
const Attribute& attribute_at(size_t index) const { return m_cells[index].attribute; }
|
||||
Attribute const& attribute_at(size_t index) const { return m_cells[index].attribute; }
|
||||
Attribute& attribute_at(size_t index) { return m_cells[index].attribute; }
|
||||
|
||||
Cell& cell_at(size_t index) { return m_cells[index]; }
|
||||
const Cell& cell_at(size_t index) const { return m_cells[index]; }
|
||||
Cell const& cell_at(size_t index) const { return m_cells[index]; }
|
||||
|
||||
void clear(const Attribute& attribute = Attribute())
|
||||
void clear(Attribute const& attribute = Attribute())
|
||||
{
|
||||
m_terminated_at.clear();
|
||||
clear_range(0, m_cells.size() - 1, attribute);
|
||||
}
|
||||
void clear_range(size_t first_column, size_t last_column, const Attribute& attribute = Attribute());
|
||||
void clear_range(size_t first_column, size_t last_column, Attribute const& attribute = Attribute());
|
||||
bool has_only_one_background_color() const;
|
||||
|
||||
bool is_empty() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue