diff --git a/Files/isscint.dll b/Files/isscint.dll index c2479b052..32966094a 100644 Binary files a/Files/isscint.dll and b/Files/isscint.dll differ diff --git a/Projects/Src/CompScintEdit.pas b/Projects/Src/CompScintEdit.pas index 94d4778c9..2b3818f38 100644 --- a/Projects/Src/CompScintEdit.pas +++ b/Projects/Src/CompScintEdit.pas @@ -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; diff --git a/Projects/Src/IsscintInt.pas b/Projects/Src/IsscintInt.pas index 7f67a1a6c..a997a559d 100644 --- a/Projects/Src/IsscintInt.pas +++ b/Projects/Src/IsscintInt.pas @@ -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