diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/LexForth.cxx | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/src/LexForth.cxx b/src/LexForth.cxx index 45d8903e8..e52543fa5 100644 --- a/src/LexForth.cxx +++ b/src/LexForth.cxx @@ -94,6 +94,8 @@ static void ColouriseForthDoc(unsigned int startPos, int length, int initStyle,  			if (sc.state == SCE_FORTH_NUMBER) {  				if (IsASpaceChar(sc.ch)) {  					sc.SetState(SCE_FORTH_DEFAULT); +				} else if (!IsANumChar(sc.ch)) { +					sc.ChangeState(SCE_FORTH_IDENTIFIER);  				}  			}  		}else if (sc.state == SCE_FORTH_STRING) { | 
