diff --git a/src/gui/BufferPane.cc b/src/gui/BufferPane.cc index 868b63c..58e3865 100644 --- a/src/gui/BufferPane.cc +++ b/src/gui/BufferPane.cc @@ -377,22 +377,6 @@ int BufferPane::character_width(uint32_t character) } } -void BufferPane::draw_buffer_character(int screen_column, int screen_row, uint32_t character) -{ - if (character < 0x20u) - { - m_window->gl()->draw_character(win_x(col_x(screen_column)), win_y(row_y(screen_row)), - '^', *m_window->font(), 1.0, 1.0, 1.0, 1.0); - m_window->gl()->draw_character(win_x(col_x(screen_column + 1)), win_y(row_y(screen_row)), - (character - 0x20u + 'A'), *m_window->font(), 1.0, 1.0, 1.0, 1.0); - } - else - { - m_window->gl()->draw_character(win_x(col_x(screen_column)), win_y(row_y(screen_row)), - character, *m_window->font(), 1.0, 1.0, 1.0, 1.0); - } -} - void BufferPane::draw_cursor(int x, int y, int i, int columns) { if (m_command_mode && (!m_focused)) diff --git a/src/gui/BufferPane.h b/src/gui/BufferPane.h index 955fc02..5f50bdf 100644 --- a/src/gui/BufferPane.h +++ b/src/gui/BufferPane.h @@ -45,7 +45,6 @@ protected: int draw_buffer_line(int screen_row, const Buffer::Iterator & start_of_line); void draw_character(uint32_t character, int screen_row, int screen_column); int character_width(uint32_t character); - void draw_buffer_character(int screen_column, int screen_row, uint32_t character); void draw_cursor(int x, int y, int i, int columns); int calculate_rows_in_cursor_line(const Buffer::Iterator & start_of_line); int calculate_rows_in_line_with_iterator_offset(const Buffer::Iterator & start_of_line, const Buffer::Iterator & reference, int * iterator_row_offset);