From f56dee8d22a93ee7ed443ea4e55c5960fe1e5de8 Mon Sep 17 00:00:00 2001 From: Nathan Lovato Date: Thu, 2 Jan 2020 20:26:43 +0100 Subject: [PATCH] Change phrasing of the line length gdscript guideline. --- .../scripting/gdscript/gdscript_styleguide.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/getting_started/scripting/gdscript/gdscript_styleguide.rst b/getting_started/scripting/gdscript/gdscript_styleguide.rst index 15e9eadfc..417429a35 100644 --- a/getting_started/scripting/gdscript/gdscript_styleguide.rst +++ b/getting_started/scripting/gdscript/gdscript_styleguide.rst @@ -89,9 +89,11 @@ Use one blank line inside functions to separate logical sections. Line length ~~~~~~~~~~~ -Try to keep lines under 80 characters. This ensures greater readability on small -displays and splitted editors (such as side-by-side diffs). It's OK to go over -by a few characters, but a line should never exceed 100 characters. +Keep individual lines of code under 100 characters. + +If you can, try to keep lines under 80 characters. This helps to read the code +on small displays and with two scripts opened side-by-side in an external text +editor. For example, when looking at a differential revision. One statement per line ~~~~~~~~~~~~~~~~~~~~~~