aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/AutoComplete.h
diff options
context:
space:
mode:
authorZufu Liu <unknown>2024-12-06 10:12:46 +1100
committerZufu Liu <unknown>2024-12-06 10:12:46 +1100
commit5221eff69f918085b96e51b282d44d215ff04766 (patch)
treecd541abdf0a20d1d44539cc68b43af13baad300f /src/AutoComplete.h
parent8ad8923f45f950c0bb76896459cd1e24859cb90d (diff)
downloadscintilla-mirror-5221eff69f918085b96e51b282d44d215ff04766.tar.gz
Feature [feature-requests:#1537]. Avoid truncation potential with PerformSort.
Use string_view to improve safety.
Diffstat (limited to 'src/AutoComplete.h')
-rw-r--r--src/AutoComplete.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/AutoComplete.h b/src/AutoComplete.h
index 6afdf7c3e..ce8edd1d6 100644
--- a/src/AutoComplete.h
+++ b/src/AutoComplete.h
@@ -18,7 +18,6 @@ class AutoComplete {
std::string fillUpChars;
char separator;
char typesep; // Type separator
- enum { maxItemLen=1000 };
std::vector<int> sortMatrix;
public: