ScriptDocument
This class is not replicated. Its interface does not cross the network boundary.
This class is not creatable. Instances of this class cannot be created with Instance.new.
Memory category | Instances |
---|
Member index 18
Removed member index 1
History | Member | |
---|---|---|
532 | GetNumLines(): int |
History 31
- 543 Add CloseAsync
- 541 Add ViewportChanged
- 541 Add GetViewport
- 540 Add RequestSetSelectionAsync
- 540 Add ForceSetSelectionAsync
- 538 Add HasSelectedText
- 538 Add GetSelectionStart
- 538 Add GetSelectionEnd
- 538 Add GetSelectedText
- 536 Change Parameters of GetText from (startLine: int = -1234567, startCharacter: int = -1234567, endLine: int = -1234567, endCharacter: int = -1234567) to (startLine: int? = nil, startCharacter: int? = nil, endLine: int? = nil, endCharacter: int? = nil)
- 536 Change Parameters of GetLine from (lineIndex: int = -1234567) to (lineIndex: int? = nil)
- 534 Add SelectionChanged
- 534 Add GetSelection
- 533 Change Parameters of EditTextAsync from (newText: string, startLine: int, startCharacter: int, endLine: int = -1, endCharacter: int = -1) to (newText: string, startLine: int, startCharacter: int, endLine: int, endCharacter: int)
- 532 Change Security of IsCommandBar from RobloxScriptSecurity to PluginSecurity
- 532 Change Parameters of GetText from () to (startLine: int = -1234567, startCharacter: int = -1234567, endLine: int = -1234567, endCharacter: int = -1234567)
- 532 Change Security of GetText from RobloxScriptSecurity to PluginSecurity
- 532 Change Security of GetScript from RobloxScriptSecurity to PluginSecurity
- 532 Remove GetNumLines
- 532 Add GetLineCount
- 532 Add GetLine
- 532 Change Security of EditTextAsync from RobloxScriptSecurity to PluginSecurity
- 531 Add IsCommandBar
- 531 Add GetInternalUri
- 531 Change ReturnType of EditTextAsync from bool to Tuple
- 531 Change Parameters of EditTextAsync from (newText: string, startLine: int, startCharacter: int, endLine: int, endCharacter: int) to (newText: string, startLine: int, startCharacter: int, endLine: int = -1, endCharacter: int = -1)
- 530 Add EditTextAsync
- 528 Add GetText
- 528 Add GetScript
- 528 Add GetNumLines
- 528 Add ScriptDocument
Members 18
CloseAsync
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Tuple |
This function yields. It will block the calling thread until completion.
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
History 1
- 543 Add CloseAsync
EditTextAsync
Parameters (5) | ||
---|---|---|
newText | string | |
startLine | int | |
startCharacter | int | |
endLine | int | |
endCharacter | int | |
Returns (1) | ||
Tuple |
This function yields. It will block the calling thread until completion.
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
History 5
- 533 Change Parameters of EditTextAsync from (newText: string, startLine: int, startCharacter: int, endLine: int = -1, endCharacter: int = -1) to (newText: string, startLine: int, startCharacter: int, endLine: int, endCharacter: int)
- 532 Change Security of EditTextAsync from RobloxScriptSecurity to PluginSecurity
- 531 Change ReturnType of EditTextAsync from bool to Tuple
- 531 Change Parameters of EditTextAsync from (newText: string, startLine: int, startCharacter: int, endLine: int, endCharacter: int) to (newText: string, startLine: int, startCharacter: int, endLine: int = -1, endCharacter: int = -1)
- 530 Add EditTextAsync
ForceSetSelectionAsync
Parameters (4) | Default | |
---|---|---|
cursorLine | int | |
cursorCharacter | int | |
anchorLine | int? | nil |
anchorCharacter | int? | nil |
Returns (1) | ||
Tuple |
This function yields. It will block the calling thread until completion.
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
History 1
GetInternalUri
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
string |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
- 531 Add GetInternalUri
GetLine
Parameters (1) | Default | |
---|---|---|
lineIndex | int? | nil |
Returns (1) | ||
string |
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
GetLineCount
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
int |
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
History 1
- 532 Add GetLineCount
GetScript
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
LuaSourceContainer |
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
GetSelectedText
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
string |
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
History 1
- 538 Add GetSelectedText
GetSelection
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Tuple |
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
History 1
- 534 Add GetSelection
GetSelectionEnd
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Tuple |
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
History 1
- 538 Add GetSelectionEnd
GetSelectionStart
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Tuple |
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
History 1
- 538 Add GetSelectionStart
GetText
Parameters (4) | Default | |
---|---|---|
startLine | int? | nil |
startCharacter | int? | nil |
endLine | int? | nil |
endCharacter | int? | nil |
Returns (1) | ||
string |
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
History 4
- 536 Change Parameters of GetText from (startLine: int = -1234567, startCharacter: int = -1234567, endLine: int = -1234567, endCharacter: int = -1234567) to (startLine: int? = nil, startCharacter: int? = nil, endLine: int? = nil, endCharacter: int? = nil)
- 532 Change Parameters of GetText from () to (startLine: int = -1234567, startCharacter: int = -1234567, endLine: int = -1234567, endCharacter: int = -1234567)
- 532 Change Security of GetText from RobloxScriptSecurity to PluginSecurity
- 528 Add GetText
GetViewport
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Tuple |
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
History 1
- 541 Add GetViewport
HasSelectedText
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
bool |
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
History 1
- 538 Add HasSelectedText
IsCommandBar
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
bool |
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 532 Change Security of IsCommandBar from RobloxScriptSecurity to PluginSecurity
- 531 Add IsCommandBar
RequestSetSelectionAsync
Parameters (4) | Default | |
---|---|---|
cursorLine | int | |
cursorCharacter | int | |
anchorLine | int? | nil |
anchorCharacter | int? | nil |
Returns (1) | ||
Tuple |
This function yields. It will block the calling thread until completion.
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
History 1
SelectionChanged
Parameters (4) | |
---|---|
positionLine | int64 |
positionCharacter | int64 |
anchorLine | int64 |
anchorCharacter | int64 |
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
History 1
- 534 Add SelectionChanged
ViewportChanged
Parameters (2) | |
---|---|
startLine | int64 |
endLine | int64 |
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
History 1
- 541 Add ViewportChanged
Removed members 1
GetNumLines
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
int |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 532 Remove GetNumLines
- 528 Add GetNumLines