Safe line vs Unsafe line unclear label (#3366)

Although line 6 is safe, line 7, that actually is what the paragraph talking about, is unsafe and line 8 is safe.
The way it was before, it was in reverse order, making it confusing which is safe and which is not. So I changed the order to be as the picture.
To further assure it is clear, I added the line numbers in parentheses.
The parentheses could be excessive verbosity, but the order importance stands. I believe it was confusing before.
Alternatively, the picture could be changed, having the safe line first. Then it's clearer as the unsafe line it's the only one different and the order would be also correct; 2 safe lines, one unsafe for last. Specifying the lines would not be needed then.
This commit is contained in:
Frederick Kramer Dal Pra
2020-04-12 13:58:40 +02:00
committed by Hugo Locurcio
parent 5775584c09
commit efa4e6ef5f
@@ -201,9 +201,9 @@ Godot will ensure the type works and if so, the line number will turn
green at the left of the script editor.
.. figure:: ./img/typed_gdscript_safe_unsafe_line.png
:alt: Safe vs Unsafe Line
:alt: Unsafe vs Safe Line
Safe vs Unsafe Line
Unsafe line (line 7) vs Safe Lines (line 6 and 8)
.. note::