Skip to content

v1.1.0 - Native-like TextField

Choose a tag to compare

@nanofuxion nanofuxion released this 18 Dec 14:15
· 51 commits to master since this release

Breaking Changes

  • Removed Native Text Input: The useNativeInput option in TextFieldOptions has been removed along with the RAYM3_ENABLE_NATIVE_TEXT_INPUT CMake option.

What's New

The TextField component now provides full native-like text editing behavior without requiring platform-specific backends:

  • Keyboard Navigation: Arrow keys, Cmd+Left/Right (line start/end), Alt+Left/Right (word-by-word)
  • Text Selection: Shift+Arrow keys, Shift+Cmd/Alt modifiers, double-click word select, Cmd+A select all
  • Clipboard: Cmd+C copy, Cmd+X cut, Cmd+V paste
  • Undo/Redo: Cmd+Z/Cmd+Shift+Z with key repeat support
  • Cursor: Proper blinking, visibility on empty fields, 16px height matching text
  • Text Insertion: Correctly inserts characters in the middle of existing text

This simplifies cross-platform deployment and removes the Cocoa framework dependency on macOS.