diff options
author | nyamatongwe <unknown> | 2000-09-18 01:35:43 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-09-18 01:35:43 +0000 |
commit | c907b8e77d340cbb06ea48f73d159b2f26304ca1 (patch) | |
tree | 665dac08900f86b70db6f9a95fa207b437b3fbbf | |
parent | 7168489cd3f3bcbc37c089595396f643f9e31ed7 (diff) | |
download | scintilla-mirror-c907b8e77d340cbb06ea48f73d159b2f26304ca1.tar.gz |
Some "struct"s added to make compile as C as well as C++.
-rw-r--r-- | include/Scintilla.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index bc334ea09..a6247c3f6 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -441,14 +441,14 @@ struct CharacterRange { }; struct TextRange { - CharacterRange chrg; + struct CharacterRange chrg; char *lpstrText; }; struct TextToFind { - CharacterRange chrg; + struct CharacterRange chrg; char *lpstrText; - CharacterRange chrgText; + struct CharacterRange chrgText; }; #ifdef PLATFORM_H @@ -467,8 +467,8 @@ struct RangeToFormat { #endif struct NotifyHeader { - // hwndFrom is really an environment specifc window handle or pointer - // but most clients of Scintilla.h do not have this type visible. + // hwndFrom is really an environment specifc window handle or pointer + // but most clients of Scintilla.h do not have this type visible. //WindowID hwndFrom; void *hwndFrom; unsigned int idFrom; @@ -476,14 +476,14 @@ struct NotifyHeader { }; struct SCNotification { - NotifyHeader nmhdr; + struct NotifyHeader nmhdr; int position; // SCN_STYLENEEDED, SCN_MODIFIED int ch; // SCN_CHARADDED, SCN_KEY int modifiers; // SCN_KEY - int modificationType; // SCN_MODIFIED - const char *text; // SCN_MODIFIED - int length; // SCN_MODIFIED - int linesAdded; // SCN_MODIFIED + int modificationType; // SCN_MODIFIED + const char *text; // SCN_MODIFIED + int length; // SCN_MODIFIED + int linesAdded; // SCN_MODIFIED #ifdef MACRO_SUPPORT int message; // SCN_MACRORECORD int wParam; // SCN_MACRORECORD |