summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
Diffstat (limited to 'scene')
-rw-r--r--scene/gui/code_edit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/code_edit.h b/scene/gui/code_edit.h
index 55fc5aa2ae..fe4b8d4809 100644
--- a/scene/gui/code_edit.h
+++ b/scene/gui/code_edit.h
@@ -108,7 +108,7 @@ private:
/* Line numbers */
int line_number_gutter = -1;
- int line_number_digits = 0;
+ int line_number_digits = 1;
String line_number_padding = " ";
Color line_number_color = Color(1, 1, 1);
void _line_number_draw_callback(int p_line, int p_gutter, const Rect2 &p_region);