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

📄 autocomplete.h

📁 porting scintilla to qt
💻 H
字号:
// Scintilla source code edit control/** @file AutoComplete.h ** Defines the auto completion list box. **/// Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org>// The License.txt file describes the conditions under which this software may be distributed.#ifndef AUTOCOMPLETE_H#define AUTOCOMPLETE_H#ifdef SCI_NAMESPACEnamespace Scintilla {#endif/** */class AutoComplete {	bool active;	char stopChars[256];	char fillUpChars[256];	char separator;	char typesep; // Type seperatorpublic:	bool ignoreCase;	bool chooseSingle;	ListBox *lb;	int posStart;	int startLen;	/// Should autocompletion be canceled if editor's currentPos <= startPos?	bool cancelAtStartPos;	bool autoHide;	bool dropRestOfWord;	AutoComplete();	~AutoComplete();	/// Is the auto completion list displayed?	bool Active();	/// Display the auto completion list positioned to be near a character position	void Start(Window &parent, int ctrlID, int position, Point location,		int startLen_, int lineHeight, bool unicodeMode);	/// The stop chars are characters which, when typed, cause the auto completion list to disappear	void SetStopChars(const char *stopChars_);	bool IsStopChar(char ch);	/// The fillup chars are characters which, when typed, fill up the selected word	void SetFillUpChars(const char *fillUpChars_);	bool IsFillUpChar(char ch);	/// The separator character is used when interpreting the list in SetList	void SetSeparator(char separator_);	char GetSeparator();	/// The typesep character is used for seperating the word from the type	void SetTypesep(char separator_);	char GetTypesep();	/// The list string contains a sequence of words separated by the separator character	void SetList(const char *list);	void Show(bool show);	void Cancel();	/// Move the current list element by delta, scrolling appropriately	void Move(int delta);	/// Select a list element that starts with word as the current element	void Select(const char *word);};#ifdef SCI_NAMESPACE}#endif#endif

⌨️ 快捷键说明

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