"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/PositionCache.h" between
scintilla445.tgz and scintilla446.tgz

About: Scintilla is a source code editing component (used for e.g. by SciTE).

PositionCache.h  (scintilla445.tgz):PositionCache.h  (scintilla446.tgz)
skipping to change at line 190 skipping to change at line 190
class PositionCacheEntry { class PositionCacheEntry {
unsigned int styleNumber:8; unsigned int styleNumber:8;
unsigned int len:8; unsigned int len:8;
unsigned int clock:16; unsigned int clock:16;
std::unique_ptr<XYPOSITION []> positions; std::unique_ptr<XYPOSITION []> positions;
public: public:
PositionCacheEntry() noexcept; PositionCacheEntry() noexcept;
// Copy constructor not currently used, but needed for being element in s td::vector. // Copy constructor not currently used, but needed for being element in s td::vector.
PositionCacheEntry(const PositionCacheEntry &); PositionCacheEntry(const PositionCacheEntry &);
PositionCacheEntry(PositionCacheEntry &&) noexcept = default;
// Deleted so PositionCacheEntry objects can not be assigned. // Deleted so PositionCacheEntry objects can not be assigned.
PositionCacheEntry(PositionCacheEntry &&) = delete;
void operator=(const PositionCacheEntry &) = delete; void operator=(const PositionCacheEntry &) = delete;
void operator=(PositionCacheEntry &&) = delete; void operator=(PositionCacheEntry &&) = delete;
~PositionCacheEntry(); ~PositionCacheEntry();
void Set(unsigned int styleNumber_, const char *s_, unsigned int len_, co nst XYPOSITION *positions_, unsigned int clock_); void Set(unsigned int styleNumber_, const char *s_, unsigned int len_, co nst XYPOSITION *positions_, unsigned int clock_);
void Clear() noexcept; void Clear() noexcept;
bool Retrieve(unsigned int styleNumber_, const char *s_, unsigned int len _, XYPOSITION *positions_) const noexcept; bool Retrieve(unsigned int styleNumber_, const char *s_, unsigned int len _, XYPOSITION *positions_) const noexcept;
static unsigned int Hash(unsigned int styleNumber_, const char *s, unsign ed int len_) noexcept; static unsigned int Hash(unsigned int styleNumber_, const char *s, unsign ed int len_) noexcept;
bool NewerThan(const PositionCacheEntry &other) const noexcept; bool NewerThan(const PositionCacheEntry &other) const noexcept;
void ResetClock() noexcept; void ResetClock() noexcept;
}; };
 End of changes. 2 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)