diff options
| -rw-r--r-- | doc/ScintillaHistory.html | 3 | ||||
| -rw-r--r-- | lexers/LexProgress.cxx | 4 | 
2 files changed, 5 insertions, 2 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index f1f0a514f..758877d9c 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -515,7 +515,8 @@  	<a href="http://sourceforge.net/p/scintilla/bugs/1799/">Bug #1799</a>.<br />  	</li>  	<li> -	The Progress lexer supports single-line comments, abbreviated keywords and +	The Progress lexer supports hexadecimal numeric literals, +	single-line comments, abbreviated keywords and  	extends nested comments to unlimited levels.  	</li>  	<li> diff --git a/lexers/LexProgress.cxx b/lexers/LexProgress.cxx index 88fed1452..88a840341 100644 --- a/lexers/LexProgress.cxx +++ b/lexers/LexProgress.cxx @@ -121,7 +121,9 @@ static void Colourise4glDoc(Sci_PositionU startPos, Sci_Position length, int ini  				sc.SetState(SCE_4GL_DEFAULT | mask);  				break;  			case SCE_4GL_NUMBER: -				if (!(IsADigit(sc.ch))) { +				// Hex numbers (0xnnnn) are supported so accept any +				// alphanumeric character if it follows a leading digit. +				if (!(IsAlphaNumeric(sc.ch))) {  					sc.SetState(SCE_4GL_DEFAULT | mask);  				}  				break;  | 
