Skip to content

Commit

Permalink
fix the failures in xt\sci-autogen.t -- either add to IGNORED, or fix…
Browse files Browse the repository at this point in the history
… a couple %AUTOGEN errors [skip ci]
  • Loading branch information
pryrt committed May 27, 2023
1 parent 2b059c3 commit 0233be6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Win32/Mechanize/NotepadPlusPlus/Editor.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@ These commands require at least Scintilla v5.2, found in Notepad++ v8.4 and newe
=cut

$autogen{SCI_COPYALLOWLINE} = {
$autogen{SCI_REPLACERECTANGULAR} = {
subProto => 'replaceRectangular(text)',
sciProto => 'SCI_REPLACERECTANGULAR(position length, const char *text)',
};
Expand Down Expand Up @@ -6621,7 +6621,7 @@ This command requires at least Scintilla v5.2, found in Notepad++ v8.4 and newer
=cut

$autogen{SCI_GRABFOCUS} = {
$autogen{SCI_SUPPORTSFEATURE} = {
subProto => 'scintillaSupportsFeature(feature) => bool',
sciProto => 'SCI_SUPPORTSFEATURE(int feature) => bool',
};
Expand Down
3 changes: 3 additions & 0 deletions lib/Win32/Mechanize/NotepadPlusPlus/Editor/Messages.pm
Original file line number Diff line number Diff line change
Expand Up @@ -905,6 +905,9 @@ our %SCIMSG = (
'SCI_ZOOMIN' => 2333,
'SCI_ZOOMOUT' => 2334,
'WM_USER' => 1024,

'SCI_GETCARETLINELAYER' => 2764, # [npp8.4]
'SCI_SETCARETLINELAYER' => 2765, # [npp8.4]
);

=item %SC_ACCESSIBILITY
Expand Down
3 changes: 3 additions & 0 deletions xt/sci-autogen.t
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ my @man = qw'
SCI_ADDTEXT
SCI_ADDSTYLEDTEXT
SCI_FINDTEXT
SCI_FINDTEXTFULL
SCI_GETPROPERTYINT
SCI_GETSTYLEDTEXT
SCI_GETSTYLEDTEXTFULL
SCI_GETTEXTRANGE
SCI_GETTEXTRANGEFULL
SCI_GETTARGETTEXT
SCI_PROPERTYNAMES
SCI_GETLINE
Expand Down

0 comments on commit 0233be6

Please sign in to comment.