diff options
| -rw-r--r-- | src/AutoComplete.cxx | 10 | ||||
| -rw-r--r-- | src/AutoComplete.h | 10 | 
2 files changed, 10 insertions, 10 deletions
diff --git a/src/AutoComplete.cxx b/src/AutoComplete.cxx index 966df7d47..fc4f947a5 100644 --- a/src/AutoComplete.cxx +++ b/src/AutoComplete.cxx @@ -49,7 +49,7 @@ AutoComplete::~AutoComplete() {  	}  } -bool AutoComplete::Active() const { +bool AutoComplete::Active() const noexcept {  	return active;  } @@ -70,7 +70,7 @@ void AutoComplete::SetStopChars(const char *stopChars_) {  	stopChars = stopChars_;  } -bool AutoComplete::IsStopChar(char ch) { +bool AutoComplete::IsStopChar(char ch) const noexcept {  	return ch && (stopChars.find(ch) != std::string::npos);  } @@ -78,7 +78,7 @@ void AutoComplete::SetFillUpChars(const char *fillUpChars_) {  	fillUpChars = fillUpChars_;  } -bool AutoComplete::IsFillUpChar(char ch) { +bool AutoComplete::IsFillUpChar(char ch) const noexcept {  	return ch && (fillUpChars.find(ch) != std::string::npos);  } @@ -86,7 +86,7 @@ void AutoComplete::SetSeparator(char separator_) {  	separator = separator_;  } -char AutoComplete::GetSeparator() const { +char AutoComplete::GetSeparator() const noexcept {  	return separator;  } @@ -94,7 +94,7 @@ void AutoComplete::SetTypesep(char separator_) {  	typesep = separator_;  } -char AutoComplete::GetTypesep() const { +char AutoComplete::GetTypesep() const noexcept {  	return typesep;  } 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);  | 
