ImGuiColorTextEdit
ImGuiColorTextEdit copied to clipboard
SetCursorPosition: can specify desired cursor line location on the page
Hi,
This PR adds a new behavior to SetCursorPosition:
- SetCursorPosition(aPosition) : behaves as before
- SetCursorPosition(aPosition, 3): will change the cursor position, and then on the subsequent call to EnsureCursorIsVisible(), will make the cursor line appear as the third line on the page.