Re: ctlSQLBox ClientEncoding problem on Display?

From: "Hiroshi Saito" <saito(at)inetrt(dot)skcapi(dot)co(dot)jp>
To: "Andreas Pflug" <Andreas(dot)Pflug(at)web(dot)de>
Cc: <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: ctlSQLBox ClientEncoding problem on Display?
Date: 2003-06-14 00:43:24
Message-ID: 032801c3320d$f6e65640$1f324d80@w2k
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Andreas.

Oh. Thank you very much.
Understanding is difficult if it is not you. !!

It may not be able to explain well.

ScreenShot of the reference is a UNICODE version.
http://cre-ent.skcapi.co.jp/~saito/pgadmin/lib/pgadmin3_unicode_debug1.jpg
Query-Window moves with the same routine.
http://cre-ent.skcapi.co.jp/~saito/pgadmin/lib/pgadmin3_unicode_debug2.jpg
Input is tried.
http://cre-ent.skcapi.co.jp/~saito/pgadmin/lib/pgadmin3_unicode_debug3.jpg

http://cre-ent.skcapi.co.jp/~saito/pgadmin/lib/pgadmin3_unicode_debug4.jpg
Action after that is interesting.
http://cre-ent.skcapi.co.jp/~saito/pgadmin/lib/pgadmin3_unicode_debug5.jpg

Control is delivered from here.

----stc.cpp------
// Replace the contents of the document with the argument text.
void wxStyledTextCtrl::SetText(const wxString& text) {
SendMsg(2181, 0, (long)(const char*)wx2stc(text));
}

----scintilla/include/Scintilla.h-----
#define SCI_GETOVERTYPE 2187

----scintilla/src/Editor.cxx--------
sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam)
if (recordingMacro)
NotifyMacroRecord(iMessage, wParam, lParam);

switch (iMessage) {
case SCI_GETOVERTYPE:
return inOverstrike ? 1 : 0;

<><><><>(The starting point that this is a movement)
void Editor::LayoutLine(int line, Surface *surface, ViewStyle &vstyle,
LineLayout *ll, int width) {
<><><><>

I am very tired. (x_x)
You are to spend a good holiday, too.

With kindest regards,
Hiroshi-Saito

----- Original Message -----
From: "Andreas Pflug" <Andreas(dot)Pflug(at)web(dot)de>
To: "Hiroshi Saito" <saito(at)inetrt(dot)skcapi(dot)co(dot)jp>
Sent: Saturday, June 14, 2003 4:22 AM
Subject: Re: [pgadmin-hackers] ctlSQLBox ClientEncoding problem on Display?

> Hiroshi Saito wrote:
>
> >Hi Andreas.
> >
> >I continue it, and try Debug to solve a problem.
> >But, it wasn't easy....
> >
> >The place to cause a problem seems to be in something of
> >scintilla/src/Editor.cxx..
> >An indication position at the time of Wide-Character seems to be moved
> >double.
> >
> >
> >
> Hiroshi,
>
> please tell me the position, maybe I can see something.
> Regards,
> Andreas
>

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Jean-Michel POURE 2003-06-14 09:44:22 Re: [pgadmin-hackers-owner@postgresql.org: Denied post to pgadmin-hackers]
Previous Message Hiroshi Saito 2003-06-13 18:35:58 Re: ctlSQLBox ClientEncoding problem on Display?