Author Topic: Left/right arrow should move cursor in text-entry fields (Github #357)  (Read 882 times)

0 Members and 3 Guests are viewing this topic.

Offline Silken Healer

  • Posts: 258
    • View Profile
I am unable to use the left and right arrow in the level name field to go back. I wanted to edit a level name without deleting the entire name and retyping it.
« Last Edit: August 31, 2024, 11:32:40 pm by Simon »

Offline Forestidia86

  • Posts: 732
  • inactive
    • View Profile
I agree that this should be possible.
This is issue #357 on github.

Offline Silken Healer

  • Posts: 258
    • View Profile
Ah thanks. That GitHub issue is 6 years old so it's probably still a good idea that I bumped it.

Online namida

  • Administrator
  • Posts: 12514
    • View Profile
    • NeoLemmix Website
This seems like a very important feature. Even command-line terminals generally allow this.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

Offline Simon

  • Administrator
  • Posts: 3994
    • View Profile
    • Lix
Yeah, all of the following are long-missing features. Implementing all of these is considerable work. But it will be better to just start implementing some of them than having none at all.

Cursor-left to move leftward by one character.
Cursor-right to move rightward by one character.
Home to jump to the beginning.
End to jump to the end.
Ctrl+Left to move leftward to the next beginning of a word.
Ctrl+Right to move rightward to the next end of a word.

Click into the text to make the cursor jump there.

Add support for text selections in the first place.
Click and drag across text to mark the dragged-across section.
Hold shift and move the cursor to mark the moved-across section.

-- Simon

Online namida

  • Administrator
  • Posts: 12514
    • View Profile
    • NeoLemmix Website
The jumping to positions should be simple to do all of, once one of them is done. Highlighting etc is a bit trickier and more forgivable to not have.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)