Forum > Debugger

Visual Studio keymap (for debugger and compiller)

<< < (5/5)

skalogryz:
There are changes available: https://github.com/skalogryz/Lazarus/tree/keybordschemas

The branch introduces loading of the custom keyboard schemas.

I did put the description here: https://github.com/skalogryz/Lazarus/wiki/keybordschemas#Keyboard_Schema_Files

Now, it's possible to extend pre-defined schemas without changing the code and distribute them with Lazarus. (i didn't update any installers though)


--- Quote from: Martin_fr on June 19, 2022, 11:23:14 am ---I don't know what the dialog uses.

--- End quote ---
it's based of KeyAndShiftStateToKeyString (at LCLProc) (KeyCodeStrings array)
and there's a corresponding TextToShortCut() function to convert text to a code

and it's obviously fixed to a certain keyboard layout.

AlexTP:

--- Quote ---I did put the description here: https://github.com/skalogryz/Lazarus/wiki/keybordschemas#Keyboard_Schema_Files
--- End quote ---
It should be put to Lazarus Wiki.
Should I do it?

PascalDragon:

--- Quote from: AlexTP on June 20, 2022, 10:41:47 am ---
--- Quote ---I did put the description here: https://github.com/skalogryz/Lazarus/wiki/keybordschemas#Keyboard_Schema_Files
--- End quote ---
It should be put to Lazarus Wiki.
Should I do it?

--- End quote ---

Why would you want to add this if the corresponding isn't yet part of Lazarus' main?

skalogryz:
a couple of commits:
https://github.com/skalogryz/Lazarus/commit/c5f80390b08a47fce8af7b6ebb39757167e3c5ed (human readable export)

https://github.com/skalogryz/Lazarus/commit/99f54ec041414ae3050938ecc2d79193bc14c18e (file dialog filters)

The major change is;
- export is now generates human-readable file
- import supports human-readable values, yet the original "decimals" values are supported (backwards compatible)
- the entire list of shortcuts is exported (for "Export" feature), no matter if the key has an assigned  value or not

As a result, this should make the list of shortcuts be easily readable and editable.

--- Code: XML  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---    <Item30 Name="Close">      <KeyA Key1="F4" Shift1="Ctrl" Key2="" Shift2=""/>      <KeyB Key1="W" Shift1="Ctrl" Key2="" Shift2=""/>    </Item30>

skalogryz:
conflict resolving commit
https://github.com/fpc/Lazarus/commit/5f05ba32d10d75dce044a9fb30a2203e62f7d05e

Navigation

[0] Message Index

[*] Previous page

Go to full version