<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`Editor`](Editor) › [`lineCount`](Editor/lineCount)
## Editor.lineCount() method
Gets the number of lines in the document
0.11.11
**Signature:**
```typescript
abstract lineCount(): number;
```
**Returns:**
`number`