Kaydet (Commit) 1268cbc3 authored tarafından Enrico Tröger's avatar Enrico Tröger

Enabled auto completion of constructs for filetype JavaScript.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1190 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 43d8e7ec
......@@ -14,6 +14,8 @@
Updated copyright information.
* data/filetype_extensions.conf, src/filetypes.c:
jsp is a Java extension.
* src/sci_cb.c:
Enabled auto completion of constructs for filetype JavaScript.
2007-01-14 Nick Treleaven <nick.treleaven@btinternet.com>
......
......@@ -903,13 +903,14 @@ void sci_cb_auto_forif(gint idx, gint pos)
lexer = SSM(sci, SCI_GETLEXER, 0, 0);
style = SSM(sci, SCI_GETSTYLEAT, pos - 2, 0);
// only for C, C++, D, Ferite, Java, Perl and PHP
// only for C, C++, D, Ferite, Java, JavaScript, Perl and PHP
if (doc_list[idx].file_type->id != GEANY_FILETYPES_PHP &&
doc_list[idx].file_type->id != GEANY_FILETYPES_C &&
doc_list[idx].file_type->id != GEANY_FILETYPES_D &&
doc_list[idx].file_type->id != GEANY_FILETYPES_CPP &&
doc_list[idx].file_type->id != GEANY_FILETYPES_PERL &&
doc_list[idx].file_type->id != GEANY_FILETYPES_JAVA &&
doc_list[idx].file_type->id != GEANY_FILETYPES_JS &&
doc_list[idx].file_type->id != GEANY_FILETYPES_FERITE)
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment