diff options
author | nyamatongwe <devnull@localhost> | 2009-05-27 02:53:32 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2009-05-27 02:53:32 +0000 |
commit | d13feca5b1389dd8846af5b77b7fb91c13d7cf4d (patch) | |
tree | 78d3afeb62b03c14a5933c43fe4a18cb0a75ee32 /src/Editor.cxx | |
parent | 665e62bc23ae04575146bb47ba5fc0d2a3003096 (diff) | |
download | scintilla-mirror-d13feca5b1389dd8846af5b77b7fb91c13d7cf4d.tar.gz |
Branded structs in Scintilla.h with Sci_ prefix and added forwarding macros
from old name to new.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index f987b89f4..d54bbe36c 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3239,7 +3239,7 @@ ColourDesired InvertedLight(ColourDesired orig) { // This is mostly copied from the Paint method but with some things omitted // such as the margin markers, line numbers, selection and caret // Should be merged back into a combined Draw method. -long Editor::FormatRange(bool draw, RangeToFormat *pfr) { +long Editor::FormatRange(bool draw, Sci_RangeToFormat *pfr) { if (!pfr) return 0; @@ -4932,7 +4932,7 @@ long Editor::FindText( ///< @c SCFIND_WORDSTART, @c SCFIND_REGEXP or @c SCFIND_POSIX. sptr_t lParam) { ///< @c TextToFind structure: The text to search for in the given range. - TextToFind *ft = reinterpret_cast<TextToFind *>(lParam); + Sci_TextToFind *ft = reinterpret_cast<Sci_TextToFind *>(lParam); int lengthFound = istrlen(ft->lpstrText); int pos = pdoc->FindText(ft->chrg.cpMin, ft->chrg.cpMax, ft->lpstrText, (wParam & SCFIND_MATCHCASE) != 0, @@ -6388,7 +6388,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { case SCI_GETTEXTRANGE: { if (lParam == 0) return 0; - TextRange *tr = reinterpret_cast<TextRange *>(lParam); + Sci_TextRange *tr = reinterpret_cast<Sci_TextRange *>(lParam); int cpMax = tr->chrg.cpMax; if (cpMax == -1) cpMax = pdoc->Length(); @@ -6406,7 +6406,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { break; case SCI_FORMATRANGE: - return FormatRange(wParam != 0, reinterpret_cast<RangeToFormat *>(lParam)); + return FormatRange(wParam != 0, reinterpret_cast<Sci_RangeToFormat *>(lParam)); case SCI_GETMARGINLEFT: return vs.leftMarginWidth; @@ -6587,7 +6587,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { case SCI_GETSTYLEDTEXT: { if (lParam == 0) return 0; - TextRange *tr = reinterpret_cast<TextRange *>(lParam); + Sci_TextRange *tr = reinterpret_cast<Sci_TextRange *>(lParam); int iPlace = 0; for (int iChar = tr->chrg.cpMin; iChar < tr->chrg.cpMax; iChar++) { tr->lpstrText[iPlace++] = pdoc->CharAt(iChar); |