1
Programming / Text editing Patch
« on: March 13, 2011, 01:02:12 am »
Hello,
I don't know if text-editing capabilities is a desired feature to OpenXcom, but, I've attached a patch for adding text editing capabilities to all text-editing dialogues.
Text editing now supports standard editing/navigation keys such as LEFT, RIGHT, HOME, END and DELETE.
There is one visual/graphical glitch: The font width for the end of string symbol "*" [asterisk] is not the same as the space font. Thus there is a little wiggling when the cursor moves from right from the end of the string.
In XCOM font-table is there any space-like font character that has the same width that the "*" symbol ?
Patch against 12-Mar-2011 git
I don't know if text-editing capabilities is a desired feature to OpenXcom, but, I've attached a patch for adding text editing capabilities to all text-editing dialogues.
Text editing now supports standard editing/navigation keys such as LEFT, RIGHT, HOME, END and DELETE.
There is one visual/graphical glitch: The font width for the end of string symbol "*" [asterisk] is not the same as the space font. Thus there is a little wiggling when the cursor moves from right from the end of the string.
In XCOM font-table is there any space-like font character that has the same width that the "*" symbol ?
Patch against 12-Mar-2011 git