# Sandbox.UI.ScriptControl.AcceptCompletion

```csharp
void AcceptCompletion()
```

Replace the current completion range with the selected suggestion as an undoable edit.

Declared in [Sandbox.UI.ScriptControl](/api/Sandbox.UI.ScriptControl).
Assembly: `Sandbox.Engine`.
