Skip to content

Commit

Permalink
Update for cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnlaan committed Jun 26, 2024
1 parent 4422aaf commit 48b05ce
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Binary file modified Files/isscint.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion Projects/Src/CompScintEdit.pas
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ procedure TCompScintEdit.SetKeyMappingType(
if FKeyMappingType <> Value then begin
FKeyMappingType := Value;
Call(SCI_RESETALLCMDKEYS, Ord(FKeyMappingType = kmtVSCode), 0);
Call(SCI_SETMOUSEVSCODE, Ord(FKeyMappingType = kmtVSCode), 0);
Call(SCI_SETMOUSEMAPPING, Ord(FKeyMappingType = kmtVSCode), 0);
UpdateComplexCommands;
end;
end;
Expand Down
8 changes: 5 additions & 3 deletions Projects/Src/IsscintInt.pas
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ interface
SCI_AUTOGSETSTYLE = 2807;
SCI_LINETAB = 2808;
SCI_LINEBACKTAB = 2809;
SCI_SETMOUSEVSCODE = 2810;
SCI_GETMOUSEVSCODE = 2811;
SC_MOUSEMAPPING_DEFAULT = 0;
SC_MOUSEMAPPING_VSCODE_WINDOWS = 1;
SCI_SETMOUSEMAPPING = 2810;
SCI_GETMOUSEMAPPING = 2811;
SC_CMDKEYS_DEFAULT = 0;
SC_CMDKEYS_ALTERNATE = 1;
SC_CMDKEYS_VSCODE_WINDOWS = 1;
SCI_RESETALLCMDKEYS = 2812;

implementation
Expand Down

0 comments on commit 48b05ce

Please sign in to comment.