Re: Using PGAdmin with a screen reader

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: Using PGAdmin with a screen reader
Дата
Msg-id 420B7CA8.2050707@pse-consulting.de
обсуждение исходный текст
Ответ на Using PGAdmin with a screen reader  ("Torma Zsolt" <torma.zsolt@sarabi.onyf.hu>)
Список pgadmin-support
Torma Zsolt wrote:
> Hi all,
> 
> I'm a blind computer expert and i'm using a screen reader called JAWS for
> Windows (http://www.freedomscientific.com).
> 
> Almost all of the PGAdmin functions can be used with JAWS, but the window
> that contains the SQL statements isn't accessible: JAWS doesn't recognize
> the cursor (or insertion point) when I move it from character to character,
> or from line to line.
> 
> By default, JAWS can handle the standard Windows controls (edit fields, list
> boxes, etc.), but with a feature, I can reclass a non-standard control, so
> JAWS can handle the non-standard control as a standard control.
> 
> For example, I've tried to reclass the window that contains the SQL
> statement to edit field, but I still have the same problem.
> 
> A solution would be a standard edit field if possible.

Well, the advantage of pgAdmin is that it does *not* use a standard edit 
field, providing syntax highlighting.
What's in use is the Scintilla control (www.scintilla.org). According to 
your description, you should have the same problem with with the SciTE 
editor, which was meant as demonstration. Please check there, apparently 
the controls need some fixing. If it's fixed there, it has to be updated 
in the wxWidgets project, and will eventually be used in pgAdmin as 
well. Apparently you'll have to be very patient.

Alternatively, you could hack the pgAdmin sources, modifying the class 
ctlSQLBox which is currently derived from wxStyledTextCtrl (wx' name for 
Scintilla). You could change that to wxTextCtrl, but you'd have to 
implement some wxSTC methods (many just have different names, others are 
no-ops for wxTextCtrl).

Regards,
Andreas


В списке pgadmin-support по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: Using PGAdmin with a screen reader
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: Using PGAdmin with a screen reader