Package: scite
Version: 1.71-1
Severity: minor


After a "find", the window is moved to make sure the cursor position is
within the window.    That's OK, normally, but sometimes it can leave
you with an almost-invisible selection region.

Specifically, if the text is wide and the viewport is shifted far right,
then you can get into trouble.    Since the cursor is at the end of the search
region, the smallest possible viewport move leaves you with the cursor
at the very left edge of the window and 99% of the selection region off
the viewport to the left.

A better choice would be to make the minimal viewport move that puts the entire
selection region in the viewport (if the selection region is not too large).

The problem (after a "find"):

                  [------------------]
                  | viewport         |
                  |                  |
  (selection region*)                |
                  |                  |
                  [------------------]

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages scite depends on:
ii  libatk1.0-0              1.20.0-1        The ATK accessibility toolkit
ii  libc6                    2.7-3           GNU C Library: Shared libraries
ii  libcairo2                1.4.10-1+lenny2 The Cairo 2D vector graphics libra
ii  libfontconfig1           2.4.2-1.2       generic font configuration library
ii  libgcc1                  1:4.2.2-4       GCC support library
ii  libglib2.0-0             2.14.3-1        The GLib library of C routines
ii  libgtk2.0-0              2.12.1-1        The GTK+ graphical user interface 
ii  libpango1.0-0            1.18.3-1        Layout and rendering of internatio
ii  libstdc++6               4.2.2-4         The GNU Standard C++ Library v3
ii  libx11-6                 2:1.0.3-7       X11 client-side library
ii  libxcursor1              1:1.1.9-1       X cursor management library
ii  libxext6                 1:1.0.3-2       X11 miscellaneous extension librar
ii  libxfixes3               1:4.0.3-2       X11 miscellaneous 'fixes' extensio
ii  libxi6                   2:1.1.3-1       X11 Input extension library
ii  libxinerama1             1:1.0.2-1       X11 Xinerama extension library
ii  libxrandr2               2:1.2.2-1       X11 RandR extension library
ii  libxrender1              1:0.9.4-1       X Rendering Extension client libra

scite recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to