[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN][RE] I have the problem in Scintilla Editor control.

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-01-08 10:26:21 CET

tdkim wrote:

> I tested a build >= 2340... 2375(new version)
> (Set the codepage for the Scintilla edit control before using it.)
> but there are same problem too.
> the source code in SciEdit.cpp
> Call(SCI_SETCODEPAGE, codepage);
> the codepage value is proper.( the value is 949 in korean)
> but Scintilla edit control is not worked correctly.

You seem to be able to compile TSVN yourself, so I need your help here
(honestly: I'm lost).

- first, set a breakpoint in CSciEdit::GetText() and step through (F11)
into the CString methods which do the conversions from CStringA to
CString (there's a MultibyteToWideChar() API call in there). Check if
that works as expected.
- In CSciEdit::Init() add the following lines right after the call to
set the codepage in the scintilla control:
        CPINFOEX cpex;
        GetCPInfoEx(CP_THREAD_ACP, 0, &cpex);
Then again set a breakpoint there. Compare the values of 'codepage' and
cpex.CodePage - do they match?
- maybe a screenshot of the commit dialog?


  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Jan 8 10:26:51 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.