HF RL Explorer

stb textedit: fix out-of-bounds selection when performing undo/redo while text is selected

stb textedit: fix out-of-bounds selection when performing undo/redo while text is selected: a task in Trending-SWE1.0 (Harbor dataset). Title: stb textedit: fix out-of-bounds selection when performing undo/redo while text is selected

The task

**Title:** stb_textedit: fix out-of-bounds selection when performing undo/redo while text is selected

Part of scalingX/Trending-SWE1.0.