Author: sasugaanija
Date: Tue Jan  8 09:54:00 2008
New Revision: 5119

Modified:
  trunk/emacs/uim-candidate.el

Log:
* emacs/uim-candidate.el
 - (uim-show-candidate): Disable inline candidates display mode
   while the window scrolls horizontally.



Modified: trunk/emacs/uim-candidate.el
==============================================================================
--- trunk/emacs/uim-candidate.el        (original)
+++ trunk/emacs/uim-candidate.el        Tue Jan  8 09:54:00 2008
@@ -552,11 +552,10 @@
    (if (>= (max (+ uim-max-candlabel 6)
                 (+ (string-width uim-candidate-page-label) 2))
            (window-width))
-       (progn
-         (setq display-inline nil)
-         (uim-debug "disable inline: window is too thin")
-         ))
+       (setq display-inline nil))

+    (if (/= (window-hscroll) 0)
+       (setq display-inline nil))

    (if display-inline
        (uim-make-candlist (cdr candidate)))

Reply via email to