1
Fork 0
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:
Andreas Kling 2019-03-07 20:05:05 +01:00
parent f13c62f225
commit 9867fe1025
3 changed files with 52 additions and 7 deletions

View file

@ -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; }