# Editor.LineEdit.HasSelectedText

```csharp
bool HasSelectedText { get; set; }
```

Whether the user has any text selected within this text entry.

Declared in [Editor.LineEdit](/api/Editor.LineEdit).
Assembly: `Sandbox.Tools`.
