From c3bea5fd4b39152c5d6cd94fef0655d5351efa85 Mon Sep 17 00:00:00 2001 From: "BADIM-PC\\Vadim" Date: Fri, 17 Nov 2017 19:47:53 +0300 Subject: [PATCH] added shading to the Code Editor --- src/code.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/code.c b/src/code.c index aeb31b8..d6d3298 100644 --- a/src/code.c +++ b/src/code.c @@ -83,6 +83,7 @@ static void drawCode(Code* code, bool withCursor) if(code->cursor.selection && pointer >= selection.start && pointer < selection.end) code->tic->api.rect(code->tic, x-1, y-1, TIC_FONT_WIDTH+1, TIC_FONT_HEIGHT+1, getConfig()->theme.code.select); + else code->tic->api.draw_char(code->tic, symbol, x+1, y+1, 0); code->tic->api.draw_char(code->tic, symbol, x, y, *colorPointer);