Renderer: setGhostText not respecting Padding
- Dominant language
- JavaScript
- Stars
- 27.1k
- Forks
- 5.3k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
When the editor has padding and you use `editor.setGhostText()` the ghost text renders at the left margin, rather than at the padded location.

### Expected Behavior
Ghost text should flow in the same space as the editor text and in this case respect the padding set on the editor.
### Current Behavior
see image
### Reproduction Steps
see image
* Open Kitchen Sink (in Markdown mode)
* `editor.renderer.setPadding(100)`
* `editor.setGhostText("Some long text that will wrap across multiple lines")`
### Possible Solution
_No response_
### Additional Information/Context
_No response_
### Ace Version / Browser / OS / Keyboard layout
1.41 (latest online version)
Contributor guide
Assessment
This issue has not been assessed yet.