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

ben pushed a commit to branch master
in repository autocomplete.

commit 56ffdb0d4e1b19f10e254306299b6127908a2865
Author: bobbylight <[email protected]>
Date:   Fri Jul 30 13:27:40 2010 +0000

    Fixing positioning of FocusableTip on multi-monitor setups.
---
 .../ui/autocomplete/ParameterizedCompletionDescriptionToolTip.java |    1 -
 src/org/fife/ui/autocomplete/Util.java                             |    4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/src/org/fife/ui/autocomplete/ParameterizedCompletionDescriptionToolTip.java 
b/src/org/fife/ui/autocomplete/ParameterizedCompletionDescriptionToolTip.java
index d49f8ab..8a5e1b5 100644
--- 
a/src/org/fife/ui/autocomplete/ParameterizedCompletionDescriptionToolTip.java
+++ 
b/src/org/fife/ui/autocomplete/ParameterizedCompletionDescriptionToolTip.java
@@ -346,7 +346,6 @@ class ParameterizedCompletionDescriptionToolTip {
                // the rectangle "r" is in, and use that one (just pick 
top-left corner
                // as the defining point).
                Rectangle screenBounds = Util.getScreenBoundsForPoint(r.x, r.y);
-System.out.println(screenBounds);
                //Dimension screenSize = tooltip.getToolkit().getScreenSize();
 
                // Try putting our stuff "above" the caret first.
diff --git a/src/org/fife/ui/autocomplete/Util.java 
b/src/org/fife/ui/autocomplete/Util.java
index 92e2f3e..a59e885 100644
--- a/src/org/fife/ui/autocomplete/Util.java
+++ b/src/org/fife/ui/autocomplete/Util.java
@@ -159,8 +159,8 @@ class Util {
         * specified point.  This is useful for setups with multiple monitors,
         * to ensure that popup windows are positioned properly.
         *
-        * @param x The x-coordinate.
-        * @param y The y-coordinate.
+        * @param x The x-coordinate, in screen coordinates.
+        * @param y The y-coordinate, in screen coordinates.
         * @return The bounds of the monitor that contains the specified point.
         */
        public static Rectangle getScreenBoundsForPoint(int x, int y) {

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

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to