mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +00:00
GTextEditor: Add a ruler column that always shows the line numbers.
This commit is contained in:
parent
f13c62f225
commit
9867fe1025
3 changed files with 52 additions and 7 deletions
|
@ -40,7 +40,7 @@ public:
|
|||
void draw_glyph(const Point&, char, Color);
|
||||
|
||||
const Font& font() const { return *m_font; }
|
||||
void set_font(Font& font) { m_font = &font; }
|
||||
void set_font(const Font& font) { m_font = &font; }
|
||||
|
||||
enum class DrawOp { Copy, Xor };
|
||||
void set_draw_op(DrawOp op) { m_draw_op = op; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue