From 74a34523f9c17cdca12143d31a578d8565b1922d Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 20 Apr 2018 09:17:16 +1000 Subject: Backport: Feature [feature-requests:#1215]. const in AutoComplete. Backport of changeset 6712:3a277aadcf2a. --- src/AutoComplete.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/AutoComplete.h') diff --git a/src/AutoComplete.h b/src/AutoComplete.h index ed14f1776..6440c13d4 100644 --- a/src/AutoComplete.h +++ b/src/AutoComplete.h @@ -45,7 +45,7 @@ public: ~AutoComplete(); /// Is the auto completion list displayed? - bool Active() const; + bool Active() const noexcept; /// Display the auto completion list positioned to be near a character position void Start(Window &parent, int ctrlID, Sci::Position position, Point location, @@ -53,19 +53,19 @@ public: /// The stop chars are characters which, when typed, cause the auto completion list to disappear void SetStopChars(const char *stopChars_); - bool IsStopChar(char ch); + bool IsStopChar(char ch) const noexcept; /// The fillup chars are characters which, when typed, fill up the selected word void SetFillUpChars(const char *fillUpChars_); - bool IsFillUpChar(char ch); + bool IsFillUpChar(char ch) const noexcept; /// The separator character is used when interpreting the list in SetList void SetSeparator(char separator_); - char GetSeparator() const; + char GetSeparator() const noexcept; /// The typesep character is used for separating the word from the type void SetTypesep(char separator_); - char GetTypesep() const; + char GetTypesep() const noexcept; /// The list string contains a sequence of words separated by the separator character void SetList(const char *list); -- cgit v1.2.3