Re: Parentheses

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Raymond O'Donnell" <rod(at)iol(dot)ie>, <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Parentheses
Date: 2006-10-30 09:45:21
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E40176D999@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

> -----Original Message-----
> From: pgadmin-support-owner(at)postgresql(dot)org
> [mailto:pgadmin-support-owner(at)postgresql(dot)org] On Behalf Of
> Raymond O'Donnell
> Sent: 29 October 2006 22:50
> To: pgadmin-support(at)postgresql(dot)org
> Subject: [pgadmin-support] Parentheses
>
> Hi Dave,
>
> Hope this doesn't push your blood pressure any further, but here's a
> small funny I found using Beta 3 (16 October, rev: 5475:5496) - maybe
> it's already been noted and fixed? -

Hi Ray,

No problems with the blood pressure now - it looks like I fixed the
difficult bugs!!

> (i) In the SQL query editor, enter an empty pair of parentheses: ().
> (ii) The matching mechanism kicks in, and highlights them with blue;
> at the same time the cursor jumps one space further to the right,
> leaving the parenthese and the empty space all highlighted in blue.
> (iii) Try moving the cursor to the left using left-arrow: the first
> keypress moves it over the empty space, while the second one moves it
> over both parentheses together!
> (iv) Just moving the cursor around with the arrow keys, one might
> think it impossible to place it inside the parentheses......but place
> it immediately to the right of the closing one and begin typing, and
> the text appears correctly between the parentheses.

Unfortunately this is a quirk of the way the text control redraws
itself. There's not really much we can do about that I'm afraid. On the
plus side, as you've found it's only a drawing issue - cursor control
etc is exactly as it should be.

Regards, Dave.

In response to

  • Parentheses at 2006-10-29 22:50:27 from Raymond O'Donnell

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2006-10-30 09:56:44 Re: pgAdmin beta4 - accelerator troubles
Previous Message Harald Armin Massa 2006-10-30 09:36:36 Re: pgAdmin beta4 - accelerator troubles