diff options
| author | nyamatongwe <devnull@localhost> | 2008-02-08 03:38:52 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2008-02-08 03:38:52 +0000 | 
| commit | 732fff88bab61562bd9d395a8f92a58cf52cfcf4 (patch) | |
| tree | 6f9e614edc867611eb925f039d868fc3ce53ed28 /src/LexMatlab.cxx | |
| parent | f7c81fb3c17f6b09d6d90b07de2ace6eaa46847f (diff) | |
| download | scintilla-mirror-732fff88bab61562bd9d395a8f92a58cf52cfcf4.tar.gz | |
Recognize != operator from Octave instead of entering command mode.
Diffstat (limited to 'src/LexMatlab.cxx')
| -rw-r--r-- | src/LexMatlab.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/LexMatlab.cxx b/src/LexMatlab.cxx index 9652a6f60..4e467bd2f 100644 --- a/src/LexMatlab.cxx +++ b/src/LexMatlab.cxx @@ -128,7 +128,7 @@ static void ColouriseMatlabOctaveDoc(  		if (sc.state == SCE_MATLAB_DEFAULT) {  			if (IsCommentChar(sc.ch)) {  				sc.SetState(SCE_MATLAB_COMMENT); -			} else if (sc.ch == '!') { +			} else if (sc.ch == '!' && sc.chNext != '=' ) {  				sc.SetState(SCE_MATLAB_COMMAND);  			} else if (sc.ch == '\'') {  				if (transpose) { | 
