Skip to content

Commit

Permalink
Update to Scintilla 5.2.4. dll not yet signed and ScintInt todo.
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnlaan committed Jun 13, 2024
1 parent 5eddfb7 commit b0f2173
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion Components/ScintEdit.pas
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ function TScintEdit.GetRawSelText: TScintRawString;
Len: Integer;
S: TScintRawString;
begin
Len := Call(SCI_GETSELTEXT, 0, 0) - 1;
Len := Call(SCI_GETSELTEXT, 0, 0);
if Len > 0 then begin
InitRawString(S, Len);
Call(SCI_GETSELTEXT, 0, LPARAM(PAnsiChar(@S[1])));
Expand Down
Binary file modified Files/isscint.dll
Binary file not shown.
7 changes: 0 additions & 7 deletions Projects/Src/CompScintEdit.pas
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,6 @@ procedure TCompScintEdit.CreateWnd;
properties."
-5.0.1: Review using SCI_INDICSETSTROKEWIDTH for high DPI support on
INDIC_SQUIGGLE.
-5.1.5: Handle breaking change: "When calling SCI_GETTEXT, SCI_GETSELTEXT,
and SCI_GETCURLINE with a NULL buffer argument to discover the length
that should be allocated, do not include the terminating NUL in the
returned value. The value returned is 1 less than previous versions
of Scintilla. Applications should allocate a buffer 1 more than this
to accommodate the NUL. The wParam (length) argument to SCI_GETTEXT
and SCI_GETCURLINE also omits the NUL."
-5.3.0: "Stop including STYLE_CALLTIP when calculating line height. Allows a
large font to be used for calltips without affecting text display."
Allows cleanup of our STYLE_AUTOCOMPLETION patch.
Expand Down

0 comments on commit b0f2173

Please sign in to comment.