Fixes#2421. With fixes to the focus in text editors, this changed the
active control reported back through Delphi and we were then testing the
wrong control for availability.
Fixes#2395. The popup menus in the project window would sometimes
be obscured because they would pop below the height of the window. This
PR changes the menu to pop up instead in those situations.
CI needs to build the model compiler from an alternate path because the
production build from npm can have files not in the development build.
This was causing CI errors such as:
kmlmc.wxs(170) : error LGHT0103 : The system cannot find the file
'C:\...\node_modules\.bin\node.ps1'.
Fixes#2402. This adds a menu to switch models in the web debugger.
It is likely that most users will have only a single model loaded but
we need this to complete the circle. It also gives a little more
visibility in the model debugging process to validate that you are
testing the expected model.
Fixes#2394. The show help checkbox was not working on
the Distribution tab of Project. Also tidies up, slightly,
the relevant js code with a new constant.
unit test for structure sizes. This validates that the Pascal and C++
structure definitions are identical in size for each platform that they
are compiled for (x86 and x64).
Note that this uncovered an existing discrepancy in FILE_KEYBOARD. ;-)
Just refactoring minor bits and pieces on this PR. Esp: removed the
unnecessary interrogation of TSF (yay!) and cached the debug flag so it
isn't checked on every single keystroke.
Fixes#364.
Hotkeys in Windows are currently implemented using RegisterHotkey.
However RegisterHotkey does not distinguish between left and right
modifier keys, which means that they override some keyboards' RAlt
combinations.
This feature reimplements hotkey support in the low level keyboard hook,
and adds a feature flag / debug flag Flag_UseRegisterHotkey to return
to the RegisterHotkey model if that is so needed.
I have made minimal refactoring changes to this code, although there
are certainly functions here which could be improved.
I have flagged a couple of potential improvements with TODO.