[autocomplete] 36/143: SearchEngine's concept of "whole word" is more accurate now. Tool tips displayed for FunctionCompletions provide more information now, if available. Shell code completion - beginning of using local man pages for function descriptions. Added start of JUnit test for SearchEngine.java.

Benjamin Mesing ben at alioth.debian.org
Sat Oct 19 12:53:13 UTC 2013


This is an automated email from the git hooks/post-receive script.

ben pushed a commit to branch master
in repository autocomplete.

commit 1188de99afe363a08886a3e6dad2afe09bdb6366
Author: bobbylight <robert at fifesoft.com>
Date:   Tue May 11 01:37:55 2010 +0000

    SearchEngine's concept of "whole word" is more accurate now.
    Tool tips displayed for FunctionCompletions provide more information now, if available.
    Shell code completion - beginning of using local man pages for function descriptions.
    Added start of JUnit test for SearchEngine.java.
---
 src/org/fife/ui/autocomplete/FunctionCompletion.java |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/org/fife/ui/autocomplete/FunctionCompletion.java b/src/org/fife/ui/autocomplete/FunctionCompletion.java
index 421ac27..24f1414 100644
--- a/src/org/fife/ui/autocomplete/FunctionCompletion.java
+++ b/src/org/fife/ui/autocomplete/FunctionCompletion.java
@@ -218,7 +218,11 @@ public class FunctionCompletion extends VariableCompletion
 	 *         none.
 	 */
 	public String getToolTipText() {
-		return getDefinitionString();
+		String text = getSummary();
+		if (text==null) {
+			text = getDefinitionString();
+		}
+		return text;
 	}
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/autocomplete.git



More information about the pkg-java-commits mailing list