refactor: remove extra semicolons
This commit is contained in:
parent
aad20f6576
commit
13a6aa2fbd
|
@ -1568,7 +1568,7 @@ private:
|
||||||
static bool is_valid(Buffer& buffer, BufferCoord c)
|
static bool is_valid(Buffer& buffer, BufferCoord c)
|
||||||
{
|
{
|
||||||
return c.line >= 0 and c.column >= 0 and c.line < buffer.line_count() and c.column <= buffer[c.line].length();
|
return c.line >= 0 and c.column >= 0 and c.line < buffer.line_count() and c.column <= buffer[c.line].length();
|
||||||
};
|
}
|
||||||
|
|
||||||
static bool is_fully_selected(const SelectionList& sels, const InclusiveBufferRange& range)
|
static bool is_fully_selected(const SelectionList& sels, const InclusiveBufferRange& range)
|
||||||
{
|
{
|
||||||
|
@ -1576,7 +1576,7 @@ private:
|
||||||
if (it == sels.end())
|
if (it == sels.end())
|
||||||
return true;
|
return true;
|
||||||
return it->min() > range.last or (it->min() <= range.first and it->max() >= range.last);
|
return it->min() > range.last or (it->min() <= range.first and it->max() >= range.last);
|
||||||
};
|
}
|
||||||
|
|
||||||
void do_highlight(HighlightContext context, DisplayBuffer& display_buffer, BufferRange) override
|
void do_highlight(HighlightContext context, DisplayBuffer& display_buffer, BufferRange) override
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user