Branch: refs/heads/document-messages Author: Nick Treleaven nick.treleaven@btinternet.com Committer: Nick Treleaven nick.treleaven@btinternet.com Date: Wed, 04 Jan 2012 16:09:49 Commit: 39ff492e4b47e1ab2120a16339536ada555fc28c https://github.com/geany/geany/commit/39ff492e4b47e1ab2120a16339536ada555fc2...
Log Message: ----------- Show D struct constructor calltips also
Modified Paths: -------------- src/editor.c
Modified: src/editor.c 3 files changed, 2 insertions(+), 1 deletions(-) =================================================================== @@ -1828,7 +1828,8 @@ static gchar *find_calltip(const gchar *word, GeanyFiletype *ft)
tag = TM_TAG(tags->pdata[0]);
- if (tag->type == tm_tag_class_t && FILETYPE_ID(ft) == GEANY_FILETYPES_D) + if (ft->id == GEANY_FILETYPES_D && + (tag->type == tm_tag_class_t || tag->type == tm_tag_struct_t)) { /* user typed e.g. 'new Classname(' so lookup D constructor Classname::this() */ tags = tm_workspace_find_scoped("this", tag->name,
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).