From 60d937354790ac025ba0caef17a3ca7c81244492 Mon Sep 17 00:00:00 2001 From: Rémi Verschelde Date: Sun, 24 Jul 2016 17:11:32 +0200 Subject: Fix non-visible col number in text editor The issue itself cannot be fully fixed due to the changes in 864c0e8, but this solution makes the bug less likely to happen (it would only happen with > 5 digits for line or column, and/or a much bigger font. Could be further refined by taking the configured font into account... Fixed #5890. --- tools/editor/code_editor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/editor/code_editor.h') diff --git a/tools/editor/code_editor.h b/tools/editor/code_editor.h index 7983c46f7..88d882bd3 100644 --- a/tools/editor/code_editor.h +++ b/tools/editor/code_editor.h @@ -196,7 +196,8 @@ class CodeTextEditor : public VBoxContainer { TextEdit *text_editor; FindReplaceBar *find_replace_bar; - Label *line_col; + Label *line_nb; + Label *col_nb; Label *info; Timer *idle; Timer *code_complete_timer; -- cgit v1.2.3-70-g09d2