added shading to the Code Editor
This commit is contained in:
		@@ -83,6 +83,7 @@ static void drawCode(Code* code, bool withCursor)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		if(code->cursor.selection && pointer >= selection.start && pointer < selection.end)
 | 
							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);
 | 
								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);
 | 
							code->tic->api.draw_char(code->tic, symbol, x, y, *colorPointer);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user