text-editor: fix Clicking warning doesn't center around line
text-editor: fix Clicking warning doesn't center around line

(cherry picked from commit 6b55ec2ca9a805bc2ae72038d2eaa24242cb4fea)

ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot