Remove unused function
This commit is contained in:
parent
a5563949e5
commit
d0439c2d70
3 changed files with 0 additions and 11 deletions
|
|
@ -120,14 +120,6 @@ void CodeEditor::updateExtraSelections()
|
|||
setExtraSelections(extraSelections);
|
||||
}
|
||||
|
||||
void CodeEditor::drawGutterErrorMarker(QPainter &painter, int top)
|
||||
{
|
||||
int s = fontMetrics().height() - 8;
|
||||
painter.setBrush(QBrush(Qt::red));
|
||||
painter.drawEllipse(4, top + 4, s, s);
|
||||
|
||||
}
|
||||
|
||||
bool CodeEditor::lineHasError(int blockNumber) const
|
||||
{
|
||||
return errorLines.count(blockNumber) > 0;
|
||||
|
|
|
|||
|
|
@ -49,8 +49,6 @@ private:
|
|||
bool lineHasError(int blockNumber) const;
|
||||
void updateExtraSelections();
|
||||
bool indentSelection(bool indent);
|
||||
void drawGutterErrorMarker(QPainter &painter, int top);
|
||||
|
||||
void insertIndentation(QTextCursor &cursor);
|
||||
void removeIndentation(QTextCursor &cursor);
|
||||
void makeSelection(QTextCursor &cursor, int first_pos, int end_block);
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ private:
|
|||
QPaintEvent *event;
|
||||
QFontMetrics fontMetrics;
|
||||
|
||||
// Loop state
|
||||
struct LoopState {
|
||||
CodeEditor *editor;
|
||||
QTextBlock block;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue