diff options
| -rw-r--r-- | call/ScintillaCall.cxx | 4 | ||||
| -rw-r--r-- | doc/ScintillaHistory.html | 3 | ||||
| -rw-r--r-- | include/Scintilla.iface | 2 | ||||
| -rw-r--r-- | include/ScintillaCall.h | 2 | 
4 files changed, 7 insertions, 4 deletions
| diff --git a/call/ScintillaCall.cxx b/call/ScintillaCall.cxx index c363fc283..4fe782af5 100644 --- a/call/ScintillaCall.cxx +++ b/call/ScintillaCall.cxx @@ -3256,8 +3256,8 @@ std::string ScintillaCall::DescribeKeyWordSets() {  	return CallReturnString(Message::DescribeKeyWordSets, 0);  } -int ScintillaCall::LineEndTypesSupported() { -	return static_cast<int>(Call(Message::GetLineEndTypesSupported)); +LineEndType ScintillaCall::LineEndTypesSupported() { +	return static_cast<Scintilla::LineEndType>(Call(Message::GetLineEndTypesSupported));  }  int ScintillaCall::AllocateSubStyles(int styleBase, int numberStyles) { diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index fcc3cc463..09afbe849 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -586,6 +586,9 @@  	only update and notify dwell end when needed.  	<a href="https://sourceforge.net/p/scintilla/bugs/2288/">Bug #2288</a>.  	</li> +	<li> +	GetLineEndTypesSupported returns LineEndType, not int. +	</li>      </ul>      <h3>         <a href="https://www.scintilla.org/scintilla513.zip">Release 5.1.3</a> diff --git a/include/Scintilla.iface b/include/Scintilla.iface index d5577417d..7ce5e2408 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -3127,7 +3127,7 @@ fun int DescribeKeyWordSets=4017(, stringresult descriptions)  # Bit set of LineEndType enumertion for which line ends beyond the standard  # LF, CR, and CRLF are supported by the lexer. -get int GetLineEndTypesSupported=4018(,) +get LineEndType GetLineEndTypesSupported=4018(,)  # Allocate a set of sub styles for a particular base style, returning start of range  fun int AllocateSubStyles=4020(int styleBase, int numberStyles) diff --git a/include/ScintillaCall.h b/include/ScintillaCall.h index a5a46ed69..d16f2aff0 100644 --- a/include/ScintillaCall.h +++ b/include/ScintillaCall.h @@ -854,7 +854,7 @@ public:  	std::string DescribeProperty(const char *name);  	int DescribeKeyWordSets(char *descriptions);  	std::string DescribeKeyWordSets(); -	int LineEndTypesSupported(); +	Scintilla::LineEndType LineEndTypesSupported();  	int AllocateSubStyles(int styleBase, int numberStyles);  	int SubStylesStart(int styleBase);  	int SubStylesLength(int styleBase); | 
