[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kate] kate/plugins/pate/src/plugins/gid: Add some help text for our actions.
From:       Shaheed Haque <srhaque () theiet ! org>
Date:       2012-12-01 0:48:14
Message-ID: 20121201004814.DEA5CA60C4 () git ! kde ! org
[Download RAW message or body]

Git commit 4dd3d7de2f684fcdf27028bafdc022183e33610d by Shaheed Haque.
Committed on 01/12/2012 at 01:47.
Pushed by shaheed into branch 'master'.

Add some help text for our actions.

M  +7    -0    kate/plugins/pate/src/plugins/gid/gid.py

http://commits.kde.org/kate/4dd3d7de2f684fcdf27028bafdc022183e33610d

diff --git a/kate/plugins/pate/src/plugins/gid/gid.py b/kate/plugins/pate/src/plugins/gid/gid.py
index cee474e..b25e32f 100644
--- a/kate/plugins/pate/src/plugins/gid/gid.py
+++ b/kate/plugins/pate/src/plugins/gid/gid.py
@@ -655,6 +655,7 @@ def wordAtCursor(document, view):
 
 @kate.action("Browse Tokens", shortcut = "Alt+1", menu = "&Gid")
 def show():
+    """Browse the tokens in the ID file."""
     # Make all our config is initialised.
     ConfigWidget().apply()
     global idDatabase
@@ -670,6 +671,9 @@ def show():
 
 @kate.action("Lookup Current Token", shortcut = "Alt+2", menu = "&Gid", icon = "edit-find")
 def lookup():
+    """Lookup the currently selected token.
+    Find the token, filter the results.
+    """
     global searchBar
     if show():
         if kate.activeView().selection():
@@ -684,6 +688,9 @@ def lookup():
 
 @kate.action("Go to Definition", shortcut = "Alt+3", menu = "&Gid", icon = "go-jump-definition")
 def gotoDefinition():
+    """Go to the definition of the currently selected token.
+    Find the token, search for definitions using etags, jump to the definition.
+    """
     global searchBar
     definitionIndex = lookup()
     if definitionIndex:
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic