Missing API Documentation
This API Class does not have any or complete API documentation. Please add API documentation if possible.
The ScriptEditorService class inherits from Instance.
Methods
DeregisterAutocompleteCallback(name: string): null
| Name | Type |
|---|---|
| name | string |
- Security: PluginSecurity.
- Thread safety: unsafe
DeregisterScriptAnalysisCallback(name: string): null
| Name | Type |
|---|---|
| name | string |
- Security: PluginSecurity.
- Thread safety: unsafe
EditSourceAsyncWithRanges(script: LuaSourceContainer, newText: string, startLine: int, startCharacter: int, endLine: int, endCharacter: int): Tuple
| Name | Type |
|---|---|
| script | LuaSourceContainer |
| newText | string |
| startLine | int |
| startCharacter | int |
| endLine | int |
| endCharacter | int |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
FindScriptDocument(script: LuaSourceContainer): ScriptDocument
| Name | Type |
|---|---|
| script | LuaSourceContainer |
- Security: PluginSecurity.
- Thread safety: unsafe
ForceReloadSource(uri: string, newsrc: string): null
| Name | Type |
|---|---|
| uri | string |
| newsrc | string |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
GetEditorSource(script: LuaSourceContainer): string
| Name | Type |
|---|---|
| script | LuaSourceContainer |
- Security: PluginSecurity.
- Thread safety: unsafe
GetScriptDocuments(): Instances
- Security: PluginSecurity.
- Thread safety: unsafe
IsAutocompleteCallbackRegistered(name: string): bool
| Name | Type |
|---|---|
| name | string |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
IsScriptAnalysisCallbackRegistered(name: string): bool
| Name | Type |
|---|---|
| name | string |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
OpenScriptDocumentAsync(script: LuaSourceContainer, options: Dictionary = nil): Tuple
| Name | Type | Default |
|---|---|---|
| script | LuaSourceContainer | |
| options | Dictionary | nil |
- Security: PluginSecurity.
- Thread safety: unsafe
RegisterAutocompleteCallback(name: string, priority: int, callbackFunction: Function): null
| Name | Type |
|---|---|
| name | string |
| priority | int |
| callbackFunction | Function |
- Security: PluginSecurity.
- Thread safety: unsafe
RegisterScriptAnalysisCallback(name: string, priority: int, callbackFunction: Function): null
| Name | Type |
|---|---|
| name | string |
| priority | int |
| callbackFunction | Function |
- Security: PluginSecurity.
- Thread safety: unsafe
StripComments(code: string): string
| Name | Type |
|---|---|
| code | string |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
UpdateSourceAsync(script: LuaSourceContainer, callback: Function): null
| Name | Type |
|---|---|
| script | LuaSourceContainer |
| callback | Function |
- Security: PluginSecurity.
- Thread safety: unsafe
Events
TextDocumentDidChange(document: ScriptDocument, changesArray: Variant)
| Name | Type |
|---|---|
| document | ScriptDocument |
| changesArray | Variant |
- Security: PluginSecurity.
- Thread safety: unsafe
TextDocumentDidClose(oldDocument: ScriptDocument)
| Name | Type |
|---|---|
| oldDocument | ScriptDocument |
- Security: PluginSecurity.
- Thread safety: unsafe
TextDocumentDidOpen(newDocument: ScriptDocument)
| Name | Type |
|---|---|
| newDocument | ScriptDocument |
- Security: PluginSecurity.
- Thread safety: unsafe