summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-09-01 19:50:44 +0200
committerGitHub <noreply@github.com>2020-09-01 19:50:44 +0200
commite143488d0656801a8422e9a48b309ea7e999a58f (patch)
tree65aa0535db8e7a7b02fcde68d86ef8b904920bd7
parent9be18addb1c63189b3b5a88e4ff013079f69f420 (diff)
parenteb8fe8b0843cacf06656101d9b081da68050ccd6 (diff)
Merge pull request #41641 from skyace65/TextEdit
Document scroll horizontal and scroll vertical in text edit
-rw-r--r--doc/classes/TextEdit.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml
index d4abac15c0..ccc99dc8e3 100644
--- a/doc/classes/TextEdit.xml
+++ b/doc/classes/TextEdit.xml
@@ -404,10 +404,10 @@
If [code]true[/code], read-only mode is enabled. Existing text cannot be modified and new text cannot be added.
</member>
<member name="scroll_horizontal" type="int" setter="set_h_scroll" getter="get_h_scroll" default="0">
- The current horizontal scroll value.
+ If there is a horizontal scrollbar this determines the current horizontal scroll value in pixels.
</member>
<member name="scroll_vertical" type="float" setter="set_v_scroll" getter="get_v_scroll" default="0.0">
- The current vertical scroll value.
+ If there is a vertical scrollbar this determines the current vertical scroll value in line numbers, starting at 0 for the top line.
</member>
<member name="selecting_enabled" type="bool" setter="set_selecting_enabled" getter="is_selecting_enabled" default="true">
If [code]true[/code], text can be selected.