Garry's Mod Wiki

Panel:GetSelectedTextRange

Description

Returns the currently selected range of text.

This function will only work on RichText and TextEntry panels and their derivatives.

Returns

1 number start
The start of the range. If no text is selected it may be 0 and/or equal to the end range.
2 number endrange
The end of the range. If no text is selected it may be 0 and/or equal to the start range.

Page Links


Special Pages


Wikis

?

Render Time: 34ms

DB GetPage 4
Generate Html 7
SaveChanges (1) 8
Render Body 0
Render Sidebar 12