diff options
| author | nyamatongwe <unknown> | 2005-08-30 11:07:33 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2005-08-30 11:07:33 +0000 | 
| commit | 4f8c51ef2e37f152640afa8565716435b256172c (patch) | |
| tree | 1f359ea0977818f6efbafb8d5c5d2fbfa7bdd473 /src/ScintillaBase.cxx | |
| parent | 203b397eb52cbdd7355e00006adb489780378307 (diff) | |
| download | scintilla-mirror-4f8c51ef2e37f152640afa8565716435b256172c.tar.gz | |
Added StyleBitsNeeded property and implemented to return 5 for all lexers
except HTML, XML, ... (7) and Ruby (6).
Diffstat (limited to 'src/ScintillaBase.cxx')
| -rw-r--r-- | src/ScintillaBase.cxx | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index b650d19c5..9c88af0d6 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -689,7 +689,6 @@ sptr_t ScintillaBase::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lPara  	case SCI_GETPROPERTYINT:  		return props.GetInt(reinterpret_cast<const char *>(wParam), lParam); -  	case SCI_SETKEYWORDS:  		if (wParam < numWordLists) {  			keyWordLists[wParam]->Clear(); @@ -701,6 +700,8 @@ sptr_t ScintillaBase::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lPara  		SetLexerLanguage(reinterpret_cast<const char *>(lParam));  		break; +	case SCI_GETSTYLEBITSNEEDED: +		return lexCurrent ? lexCurrent->GetStyleBitsNeeded() : 5;  #endif  	default: | 
