diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2011-09-25 10:14:59 +0000 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2011-09-25 10:14:59 +0000 |
commit | c161c121425a63c0f7ef1092d1a22dfdfb3926be (patch) | |
tree | 5395c1785ddfd4b008ac2e638ce0e5f3806f01f9 /scintilla/src/PositionCache.h | |
parent | 9d9ff1e3c29564e4c0893cedf9364cc20381c3b8 (diff) | |
download | notepad2-mod-c161c121425a63c0f7ef1092d1a22dfdfb3926be.zip notepad2-mod-c161c121425a63c0f7ef1092d1a22dfdfb3926be.tar.gz notepad2-mod-c161c121425a63c0f7ef1092d1a22dfdfb3926be.tar.bz2 |
update Scintilla
git-svn-id: https://notepad2-mod.googlecode.com/svn/trunk@576 28bd50df-7adb-d945-0439-6e466c6a13cc
Diffstat (limited to 'scintilla/src/PositionCache.h')
-rw-r--r-- | scintilla/src/PositionCache.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scintilla/src/PositionCache.h b/scintilla/src/PositionCache.h index 13436cb..3330a7a 100644 --- a/scintilla/src/PositionCache.h +++ b/scintilla/src/PositionCache.h @@ -41,7 +41,7 @@ public: unsigned char *styles;
int styleBitsSet;
char *indicators;
- int *positions;
+ XYPOSITION *positions;
char bracePreviousStyles[2];
// Hotspot support
@@ -103,13 +103,13 @@ class PositionCacheEntry { unsigned int styleNumber:8;
unsigned int len:8;
unsigned int clock:16;
- short *positions;
+ XYPOSITION *positions;
public:
PositionCacheEntry();
~PositionCacheEntry();
- void Set(unsigned int styleNumber_, const char *s_, unsigned int len_, int *positions_, unsigned int clock);
+ void Set(unsigned int styleNumber_, const char *s_, unsigned int len_, XYPOSITION *positions_, unsigned int clock);
void Clear();
- bool Retrieve(unsigned int styleNumber_, const char *s_, unsigned int len_, int *positions_) const;
+ bool Retrieve(unsigned int styleNumber_, const char *s_, unsigned int len_, XYPOSITION *positions_) const;
static int Hash(unsigned int styleNumber_, const char *s, unsigned int len);
bool NewerThan(const PositionCacheEntry &other) const;
void ResetClock();
@@ -155,7 +155,7 @@ public: void SetSize(size_t size_);
size_t GetSize() const { return size; }
void MeasureWidths(Surface *surface, ViewStyle &vstyle, unsigned int styleNumber,
- const char *s, unsigned int len, int *positions, Document *pdoc);
+ const char *s, unsigned int len, XYPOSITION *positions, Document *pdoc);
};
inline bool IsSpaceOrTab(int ch) {
|