Merge pull request #41641 from skyace65/TextEdit

Document scroll horizontal and scroll vertical in text edit
This commit is contained in:
Rémi Verschelde 2020-09-01 19:50:44 +02:00 committed by GitHub
commit e143488d06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.