Skip to content

Commit 91ab4a7

Browse files
committed
Update Scintilla to v5.5.7
1 parent 2347611 commit 91ab4a7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+6033
-4919
lines changed

src/scintilla/.hg_archival.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repo: bdf8c3ef2fb01ea24578e726337888e706d10b92
2-
node: 944510e552c73fb3df41af45f452420fc9193ede
2+
node: e2e6e7769dc1712dcc4af0a74778d5523711e666
33
branch: default
4-
latesttag: rel-5-5-5
4+
latesttag: rel-5-5-7
55
latesttagdistance: 1
66
changessincelatesttag: 1

src/scintilla/.hgtags

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,3 +214,5 @@ c171b756efc76359f0795ca0a1bfb7eb16d4c04b rel-5-4-3
214214
7bc37e9e9de31baf3725e083ee1b937e54856856 rel-5-5-3
215215
56bc6f0e611a5f46529ff4d2f47ddb1b922d743e rel-5-5-4
216216
5cb9af9b3103ffa3c8c4e3c15887191486de260f rel-5-5-5
217+
68ddcf0a91ee2763cfc148925917bf609b355948 rel-5-5-6
218+
ba0e2f317940a65f8f16325cbe4234fd75a6d47b rel-5-5-7

src/scintilla/call/ScintillaCall.cxx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,6 +1115,14 @@ int ScintillaCall::AutoCGetStyle() {
11151115
return static_cast<int>(Call(Message::AutoCGetStyle));
11161116
}
11171117

1118+
void ScintillaCall::AutoCSetImageScale(int scalePercent) {
1119+
Call(Message::AutoCSetImageScale, scalePercent);
1120+
}
1121+
1122+
int ScintillaCall::AutoCGetImageScale() {
1123+
return static_cast<int>(Call(Message::AutoCGetImageScale));
1124+
}
1125+
11181126
void ScintillaCall::SetIndent(int indentSize) {
11191127
Call(Message::SetIndent, indentSize);
11201128
}
@@ -1367,6 +1375,10 @@ void ScintillaCall::LineScroll(Position columns, Line lines) {
13671375
Call(Message::LineScroll, columns, lines);
13681376
}
13691377

1378+
void ScintillaCall::ScrollVertical(Line docLine, Line subLine) {
1379+
Call(Message::ScrollVertical, docLine, subLine);
1380+
}
1381+
13701382
void ScintillaCall::ScrollCaret() {
13711383
Call(Message::ScrollCaret);
13721384
}
@@ -2819,8 +2831,8 @@ int ScintillaCall::ExtraDescent() {
28192831
return static_cast<int>(Call(Message::GetExtraDescent));
28202832
}
28212833

2822-
int ScintillaCall::MarkerSymbolDefined(int markerNumber) {
2823-
return static_cast<int>(Call(Message::MarkerSymbolDefined, markerNumber));
2834+
MarkerSymbol ScintillaCall::MarkerSymbolDefined(int markerNumber) {
2835+
return static_cast<Scintilla::MarkerSymbol>(Call(Message::MarkerSymbolDefined, markerNumber));
28242836
}
28252837

28262838
void ScintillaCall::MarginSetText(Line line, const char *text) {

src/scintilla/cocoa/Scintilla/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>5.5.5</string>
18+
<string>5.5.7</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSHumanReadableCopyright</key>

src/scintilla/cocoa/Scintilla/Scintilla.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@
586586
CLANG_WARN_UNREACHABLE_CODE = YES;
587587
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
588588
COPY_PHASE_STRIP = NO;
589-
CURRENT_PROJECT_VERSION = 5.5.5;
589+
CURRENT_PROJECT_VERSION = 5.5.7;
590590
DEAD_CODE_STRIPPING = YES;
591591
DEBUG_INFORMATION_FORMAT = dwarf;
592592
ENABLE_STRICT_OBJC_MSGSEND = YES;
@@ -650,7 +650,7 @@
650650
CLANG_WARN_UNREACHABLE_CODE = YES;
651651
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
652652
COPY_PHASE_STRIP = NO;
653-
CURRENT_PROJECT_VERSION = 5.5.5;
653+
CURRENT_PROJECT_VERSION = 5.5.7;
654654
DEAD_CODE_STRIPPING = YES;
655655
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
656656
ENABLE_NS_ASSERTIONS = NO;
@@ -682,7 +682,7 @@
682682
CODE_SIGN_IDENTITY = "-";
683683
CODE_SIGN_STYLE = Manual;
684684
COMBINE_HIDPI_IMAGES = YES;
685-
CURRENT_PROJECT_VERSION = 5.5.5;
685+
CURRENT_PROJECT_VERSION = 5.5.7;
686686
DEAD_CODE_STRIPPING = YES;
687687
DEFINES_MODULE = YES;
688688
DEVELOPMENT_TEAM = "";
@@ -717,7 +717,7 @@
717717
CODE_SIGN_IDENTITY = "-";
718718
CODE_SIGN_STYLE = Manual;
719719
COMBINE_HIDPI_IMAGES = YES;
720-
CURRENT_PROJECT_VERSION = 5.5.5;
720+
CURRENT_PROJECT_VERSION = 5.5.7;
721721
DEAD_CODE_STRIPPING = YES;
722722
DEFINES_MODULE = YES;
723723
DEVELOPMENT_TEAM = "";

src/scintilla/cocoa/ScintillaCocoa.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1951,6 +1951,7 @@ - (void) pasteboard: (NSPasteboard *) pasteboard item: (NSPasteboardItem *) item
19511951
* Modifies the vertical scroll position to make the current top line show up as such.
19521952
*/
19531953
void ScintillaCocoa::SetVerticalScrollPos() {
1954+
Editor::SetVerticalScrollPos();
19541955
NSScrollView *scrollView = ScrollContainer();
19551956
if (scrollView) {
19561957
NSClipView *clipView = scrollView.contentView;

0 commit comments

Comments
 (0)