MattFiler / OpenCAGE

A modding toolkit for Alien: Isolation that gives access to scripting, assets, configurations, and behaviour trees.
http://opencage.co.uk
MIT License
274 stars 13 forks source link

Select all and auto-fill by first letters written don't work properly when editing a textbox related to parameters #173

Open Const1702 opened 1 year ago

Const1702 commented 1 year ago

Noticed two problems that occured somewhere after version around 0.9.3.62 (Staging).

1. Ctrl+A doesn't perform the select all function like it used to If you open the "Add Parameter" or "Edit entity pin link" window and go to a textbox related to parameters (Ex: "Param name", "Parameter on this entity") and try to select all with Ctrl+A it doesn't do anything. Same problem when right clicking and clicking "Select all" from the context menu. The only way to do it is by manually dragging your mouse through every word. If you try to do the same in the "Connects in to entity" textbox this problem doesn't happen at all. This may be, because you made some changes on the parameters.

2. Typing the first letters and then pressing arrow down/up doesn't auto-fill by user-input like it used to Normally when you click on an empty parameter textbox and press arrow down/up it will auto-fill it by alphabetical order like it is supposed to. Let's say we have a door and we want to add the "lock_on_reset" parameter. One way is to manually type it in the "Add Parameter" window. Another way was to type in let's say "loc" then arrow down and it will automatically auto-fill "lock_door", finally I could press the arrow button down again multiple times to get to the parameter I want starting with "loc" in this case "lock_on_reset", but this stopped working. Now the first letters are ignored when pressing the arrow down/up keys and it just puts the first param that starts with the letter A (treats the textbox as empty and starts with the alphabetical order, ignores the first 2-3 letters typed by the user that hint what the param should start with). This is slowing things down, because if there are 20 entities that require the same params starting with let's say the letter R we either have to manually type in the param or hold down the arrow down key and wait for it to go thru the alphabet until it reaches the letter R.

! These two problems don't occur for the "Connects in to entity" textbox where you select the entity. Only in the parameter related textboxes.

OpenCAGE version: 0.9.3.64

MattFiler commented 1 year ago

Nice catch, this'd be due to the changes in #167

ghramsey commented 1 year ago

I think I have a related issue:

When editing speechscript from the drop down box typing the event name. "A1_M1301_MAR_0930" for example does not make it go to the item in the list, but copying the text and pasting then clicking the dropdown box makes it go to that item. If this is a separate issue I'll make a new ticket but it seems at least in part related to this auto fill issue.