Mods / Text Input Enhancements

Tags: #QoL
Author: Genhis
Side: Client
Created: Jul 10th at 4:57 PM
Last modified: Aug 6th at 8:28 AM
Downloads: 982
Follow Unfollow 76

Latest release (for Vintage Story 1.20.10 - 1.20.12, outdated):
TextInputEnhancements_0.2.1.zip  1-click install


Deprecated: This mod was integrated into the base game in 1.21.0-rc.3 (https://github.com/anegostudios/vsapi/pull/50)

Text Input Enhancements

This mod improves text manipulation in input fields and makes them behave like a text editor.

Features

  • Text selection with mouse and keyboard.
  • Shortcuts to delete whole words (Ctrl+Backspace, Ctrl+Delete).
  • Copy (Ctrl+C), cut (Ctrl+X) and paste (Ctrl+V) shortcuts.
  • Improved word detection for cursor movement (Ctrl+Left arrow, Ctrl+Right arrow).

Mod Version For Game version Downloads Released Changelog Download 1-click mod install*
0.2.1
1.20.10 - 1.20.12
380 Aug 4th at 8:33 AM TextInputEnhancements_0.2.1.zip 1-click install

Fixed

  • Text shortcuts worked when Alt key was pressed. (#1)
0.2.0
1.20.10 - 1.20.12
249 Jul 23rd at 5:31 PM TextInputEnhancements_0.2.0.zip 1-click install

Added

  • Word selection with double-click.
0.1.0
1.20.10 - 1.20.12
354 Jul 10th at 4:59 PM TextInputEnhancements_0.1.0.zip 1-click install

Added

  • Text selection with mouse and keyboard.
  • Shortcuts to delete whole words (Ctrl+Backspace, Ctrl+Delete).
  • Copy (Ctrl+C), cut (Ctrl+X) and paste (Ctrl+V) shortcuts.

Changed

  • Improved word detection for cursor movement (Ctrl+Left arrow, Ctrl+Right arrow).

18 Comments (oldest first | newest first)

💬 Genhis , Aug 8th at 7:07 AM

wildforester It's hard to think of and test every key / selection combination, so sometimes things get through. I opened a PR with the fix: https://github.com/anegostudios/vsapi/pull/53. Thanks for reporting it!

💬 wildforester, Aug 8th at 12:13 AM (modified Aug 8th at 12:15 AM)

Should've found this before the mod was PR'd into the game. But one thing that I've found doesn't work is doing ctrl+A and pressing the left arrow key to get to the start of a sentence in chat.

 

(I see there's ctrl+left arrow which does the same as this. But for ppl like me who've always done it this way, I wouldn't know what to do)

💬 Brady_The, Aug 5th at 5:24 PM

Congratulations on the inclusion into the vanilla game!

💬 wildforester, Aug 5th at 5:15 PM

This mod is being pr'd into the game. See the latest 1.21 announcements 

💬 animatiV, Aug 5th at 5:13 PM

AzuliBluespots And it's already in the new update 1.21.0-rc.3 :D

💬 AzuliBluespots, Aug 5th at 12:02 PM

Impressive, should've been vanilla.

💬 opaliris, Aug 4th at 6:43 PM

FINALLY. Thank you so much for making this.

💬 Ovadex, Aug 1st at 1:53 AM

This is great. Just wish I could copy text from a book without editing it.

💬 Phantom72, Jul 15th at 5:52 AM

Genhis - Sorry, no go :) Just used the coal in hand on a "Labeled Chest".

💬 ptrk, Jul 14th at 7:53 PM

FINALLY. I cannot stand that this doesn't exist in vanilla

💬 Genhis , Jul 13th at 5:19 AM

Jimbo7 Thanks for the report. Can you be more specific? How do I create/edit a crate label? Is the crash reproducible?

💬 Phantom72, Jul 12th at 9:52 PM

Hello & thanks for the mod!
Happened when I alt-entered whilst editing a crate label. First edit on blank label - initially added "Mining/Adventure Items", went back to after the "/", hit alt-enter for a new line, and crash.

Crash Report
Running on 64 bit Windows 10.0.22000.0 with 65309 MB RAM
Game Version: v1.20.12 (Stable)
13/07/2025 9:46:27 am: Critical error occurred in the following mod: textinputenhancements@0.1.0
Loaded Mods: chargedjump@1.0.4, freelook@1.0.1, instantpickup@1.0.3, game@1.20.12, commonlib@2.6.1, extrainfo@1.9.9, improvedhandbookrecipes@1.1.3, itempickupnotifier@1.7.0, recipeselector@1.0.1, simplefootstepsredux@1.0.3, spawnhighlight@1.2.0, statushudcont@3.2.7, stepupadvanced@1.0.7, temporalstormtimer@1.1.1, textinputenhancements@0.1.0, creative@1.20.12, survival@1.20.12, playercorpse@1.11.1, xinvtweaks@1.8.0
System.ArgumentOutOfRangeException: Index and length must refer to a location within the string. (Parameter 'length')
at System.String.ThrowSubstringArgumentOutOfRange(Int32 startIndex, Int32 length)
at System.String.Substring(Int32 startIndex, Int32 length)
at Vintagestory.API.Client.GuiElementEditableTextBase.OnKeyEnter() in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Text\GuiElementEditableTextBase.cs:line 537
at Vintagestory.API.Client.GuiElementEditableTextBase.OnKeyDown(ICoreClientAPI api, KeyEvent args) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Text\GuiElementEditableTextBase.cs:line 432
at TextInputEnhancements.Gui.Enhancements.OnKeyDownInternal(ICoreClientAPI api, KeyEvent e, Action`2 baseFunc) in C:\Programming\C#\VintageStoryMods\TextInputEnhancements\Gui\Enhancements.cs:line 106
at TextInputEnhancements.Gui.GuiElementEnhancedTextArea.OnKeyDown(ICoreClientAPI api, KeyEvent args) in C:\Programming\C#\VintageStoryMods\TextInputEnhancements\Gui\GuiElementEnhancedTextArea.cs:line 25
at Vintagestory.API.Client.GuiComposer.OnKeyDown(KeyEvent args, Boolean haveFocus) in VintagestoryApi\Client\UI\GuiComposer.cs:line 581
at Vintagestory.API.Client.GuiDialog.OnKeyDown(KeyEvent args) in VintagestoryApi\Client\UI\Dialog\GuiDialog.cs:line 435
at Vintagestory.Client.NoObf.GuiManager.OnKeyDown(KeyEvent args) in VintagestoryLib\Client\Systems\Gui\GuiManager.cs:line 333
at Vintagestory.Client.NoObf.ClientMain.OnKeyDown(KeyEvent args) in VintagestoryLib\Client\ClientMain.cs:line 1795
at Vintagestory.Client.NoObf.ClientPlatformWindows.game_KeyDown(KeyboardKeyEventArgs e) in VintagestoryLib\Client\ClientPlatform\Input.cs:line 230
at OpenTK.Windowing.Desktop.NativeWindow.KeyCallback(Window* window, Keys key, Int32 scancode, InputAction action, KeyModifiers mods)
--- End of stack trace from previous location ---
at OpenTK.Windowing.Desktop.NativeWindow.RethrowCallbackExceptionsIfNeeded()
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 334
at Vintagestory.Client.ClientProgram.<>c__DisplayClass10_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 130
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93




💬 DanaCraluminum, Jul 10th at 7:48 PM

Criminally underrated mod

💬 cowdragons, Jul 10th at 7:20 PM

YESSSS THANK YOU!!!

💬 eerino, Jul 10th at 7:12 PM

This is a gift from the heavens! Hope it works with my 70+ other mods óᯅò

💬 Genhis , Jul 10th at 6:27 PM

DanaCraluminum Yes, Ctrl+A works. You can only copy text from places you can interact with and write into, so not from the handbook.

💬 DanaCraluminum, Jul 10th at 5:53 PM

Is there Ctrl + A to select all text? Can you copy text from such places as handbook yet?

💬 BeaThePANcake, Jul 10th at 5:53 PM

THANK YOU, i've been looking for this for so so long!

 (edit comment delete)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом