mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 04:37:44 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -54,7 +54,7 @@ public:
|
|||
explicit HexDocumentFile(NonnullRefPtr<Core::File> file);
|
||||
virtual ~HexDocumentFile() = default;
|
||||
|
||||
HexDocumentFile(const HexDocumentFile&) = delete;
|
||||
HexDocumentFile(HexDocumentFile const&) = delete;
|
||||
|
||||
void set_file(NonnullRefPtr<Core::File> file);
|
||||
NonnullRefPtr<Core::File> file() const;
|
||||
|
|
|
@ -570,11 +570,11 @@ void HexEditor::paint_event(GUI::PaintEvent& event)
|
|||
if (byte_position >= m_document->size())
|
||||
return;
|
||||
|
||||
const bool edited_flag = m_document->get(byte_position).modified;
|
||||
bool const edited_flag = m_document->get(byte_position).modified;
|
||||
|
||||
const bool selection_inbetween_start_end = byte_position >= m_selection_start && byte_position < m_selection_end;
|
||||
const bool selection_inbetween_end_start = byte_position >= m_selection_end && byte_position < m_selection_start;
|
||||
const bool highlight_flag = selection_inbetween_start_end || selection_inbetween_end_start;
|
||||
bool const selection_inbetween_start_end = byte_position >= m_selection_start && byte_position < m_selection_end;
|
||||
bool const selection_inbetween_end_start = byte_position >= m_selection_end && byte_position < m_selection_start;
|
||||
bool const highlight_flag = selection_inbetween_start_end || selection_inbetween_end_start;
|
||||
|
||||
Gfx::IntRect hex_display_rect {
|
||||
frame_thickness() + offset_margin_width() + static_cast<int>(j) * cell_width() + 2 * m_padding,
|
||||
|
|
|
@ -25,7 +25,7 @@ public:
|
|||
Value
|
||||
};
|
||||
|
||||
explicit SearchResultsModel(const Vector<Match>&& matches)
|
||||
explicit SearchResultsModel(Vector<Match> const&& matches)
|
||||
: m_matches(move(matches))
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue