8AleX8
Advanced Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору gera serg Цитата: Это фаил С++ API (ты о нём писал). Цитата: Где настраивается Complete Word? | Если правильно подключить API то Complete Word работает по Ctrl+Space. Другими словами описанный тобой фичер работает только для язйков для которых ты подключил API (Фаил содержащий список функций с аргументами ) from http://www.scintilla.org/SciTEDoc.html api.filepattern | Loads a set of API files for a particular language. If there is more than one API file then the file names are separated by ';'. API files contain a sorted list of identifiers and function prototypes, one per line. The "Complete Identifier" command looks at the characters before the caret and displayed the subset of the API file starting with that string. When an opening brace is typed, the file is searched for the text preceding the caret and if a function prototype is found then it is displayed as a calltip. For example, the setting api.*.c=w.api could be used with a w.api file containing fclose(FILE* fileClose) FILE fopen(const char* szFileName, const char* szMode) fpos_t fread(void* buf, size_t size, size_t count, FILE* file) fseek(FILE* file, long lnOffset, int nOrigin) to provide autocompletion and calltips for some of the C file functions. It is best to use the full path to the API file as otherwise the current directory is used. See the Creating API files section for ways to create API files. autocomplete.choose.single When set to 1 and an autocompletion list is invoked and there is only one element in that list then that element is automatically chosen. This means that the matched element is inserted and the list is not displayed. autocomplete.lexer.ignorecase autocomplete.*.ignorecase When set to 1 the API file is searched in a case insensitive way to find elements for autocompletion lists. Otherwise matches only occur if case also matches. The * form is used if there is no lexer specific setting. autocomplete.lexer.start.characters autocomplete.*.start.characters If this setting is not empty, typing any of the characters will cause autocompletion to start. For example, if autocomplete.python.start.characters=. and the API file for Python contains "string.rjust" and "string.replace" then typing "string." will cause the autocompletion to display both identifiers. The * form is used if there is no lexer specific setting. | complete.lexer.fillups | autocomplete.*.fillups If this setting is not empty, typing any of the characters will cause autocompletion to complete. For example, if autocomplete.python.fillups=( and the API file for Python contains "string.replace" then typing "string.r(" will cause "string.replace(" to be inserted. The * form is used if there is no lexer specific setting. autocompleteword.automatic If this setting is 1 then when typing a word, if only one word in the document starts with that string then an autocompletion list is displayed with that word so it can be chosen by pressing Tab. | tip.lexer.ignorecase | calltip.*.ignorecase When set to 1 the API file is searched in a case insensitive way to find the function which will have its signature displayed as a calltip. The * form is use if there is no lexer specific setting. | tip.lexer.word.characters | calltip.*.word.characters To determine the identifier to look up for calltips, a search is performed allowing the characters in this set to be included in the identifier. While the same setting can be used as for word.characters, sometimes additional characters may be allowed. For example, in Python, '.' is not normally considered part of a word when selecting text, but it is good to allow "string.replace" to show a calltip so calltip.python.word.characters=._$(chars.alpha) would be a reasonable setting. The * form is used if there is no lexer specific setting. | tip.lexer.end.definition | calltip.*.end.definition API files may contain explanatory text after each function definition. To display the explanation on a second line, set this property to the character used at the end of the definition part. For most languages, this is ')'. The * form is used if there is no lexer specific setting. | calltip.back | Sets the colour used for the background of any calltips. The default is white. |
| Всего записей: 1813 | Зарегистр. 11-12-2001 | Отправлено: 18:25 20-05-2003 | Исправлено: 8AleX8, 18:26 20-05-2003 |
|