⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 runstyles.h

📁 porting scintilla to qt
💻 H
字号:
/** @file RunStyles.h ** Data structure used to store sparse styles. **/// Copyright 1998-2007 by Neil Hodgson <neilh@scintilla.org>// The License.txt file describes the conditions under which this software may be distributed./// Styling buffer using one element for each run rather than using/// a filled buffer.#ifndef _runstyles_h_#define _runstyles_h_#ifdef SCI_NAMESPACEnamespace Scintilla {#endifclass RunStyles {public:	Partitioning *starts;	SplitVector<int> *styles;	int RunFromPosition(int position);	int SplitRun(int position);	void RemoveRun(int run);	void RemoveRunIfEmpty(int run);	void RemoveRunIfSameAsPrevious(int run);public:	RunStyles();	~RunStyles();	int Length() const;	int ValueAt(int position) const;	int FindNextChange(int position, int end);	int StartRun(int position);	int EndRun(int position);	// Returns true if some values may have changed	bool FillRange(int &position, int value, int &fillLength);	void SetValueAt(int position, int value);	void InsertSpace(int position, int insertLength);	void DeleteAll();	void DeleteRange(int position, int deleteLength);};#ifdef SCI_NAMESPACE}#endif#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -