Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 35 lines (30 sloc) 1.12 KB
* Copyright (C) 2009, Alexander Stigsen,
* This software is licensed under the Open Company License as described
* in the file license.txt, which you should have received as part of this
* distribution. The terms are also available at
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
#ifndef __STYLER_H__
#define __STYLER_H__
class StyleRun;
// Abstract base class for stylers
class Styler {
virtual ~Styler() {};
virtual void Style(StyleRun& sr) = 0;
virtual void Clear() {}
virtual void Invalidate() {}
virtual void Insert(unsigned int WXUNUSED(pos), unsigned int WXUNUSED(length)) {}
virtual void Delete(unsigned int WXUNUSED(start_pos), unsigned int WXUNUSED(end_pos)) {}
virtual void ApplyDiff(const std::vector<cxChange>& WXUNUSED(changes)) {
virtual bool OnIdle() { return false; }
#endif // __STYLER_H__
Jump to Line
Something went wrong with that request. Please try again.