diff options
| author | nyamatongwe <unknown> | 2000-07-22 14:03:39 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2000-07-22 14:03:39 +0000 | 
| commit | 15ccb113fada55a7f17efa2d9713395bdbb677c6 (patch) | |
| tree | 68fe2d7b772d79b47c7146a68e0e94a1e9ac0e98 /src/DocumentAccessor.cxx | |
| parent | 51cb131f76eb58bf26ae426139a5352ee6f9142f (diff) | |
| download | scintilla-mirror-15ccb113fada55a7f17efa2d9713395bdbb677c6.tar.gz | |
Changed key codes to not overlap printing keys.
Mved the #ifs around DBCS support to avoid warnings on GTK+.
Diffstat (limited to 'src/DocumentAccessor.cxx')
| -rw-r--r-- | src/DocumentAccessor.cxx | 13 | 
1 files changed, 7 insertions, 6 deletions
diff --git a/src/DocumentAccessor.cxx b/src/DocumentAccessor.cxx index d3811b77c..6828e37c3 100644 --- a/src/DocumentAccessor.cxx +++ b/src/DocumentAccessor.cxx @@ -21,21 +21,22 @@  DocumentAccessor::~DocumentAccessor() {  } +#if PLAT_WIN   bool DocumentAccessor::InternalIsLeadByte(char ch) { -#if PLAT_GTK -	// TODO: support DBCS under GTK+ -	return false; -#elif PLAT_WIN   	if (SC_CP_UTF8 == codePage)  		// For lexing, all characters >= 0x80 are treated the  		// same so none is considered a lead byte.  		return false;	  	else  		return IsDBCSLeadByteEx(codePage, ch); -#elif PLAT_WX  +} +#else +// PLAT_GTK or PLAT_WX +// TODO: support DBCS under GTK+ and WX +bool DocumentAccessor::InternalIsLeadByte(char) {  	return false; -#endif   } +#endif   void DocumentAccessor::Fill(int position) {  	if (lenDoc == -1)  | 
