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

Re: [TSVN] New release soon? (was Re: [TSVN] Problem with build.bat?)

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-01-07 22:18:36 CET

Fernando P. Nájera Cano wrote:

>>Another thing to consider: we now use the Scintilla edit control
>>instead of the standard windows edit control (which, let's be
>>honest, sucks for entering longer log messages). I'm not sure if
>>that will work reliably for non-ascii languages, especially
>>languages which have special chars like chinese. Someone out there
>>who uses such an OS care to try a nightly build and test?
>
>
> I use Spanish OS and it seems to work with our acutes and our beloved
> ń (&ntilde; - more at
> http://spanish.about.com/cs/historyofspanish/f/tilde_origins.htm ).
> Tested with almost-HEAD :). I have tested commit and show-log windows.

Did you enter a commit log message, commited the change and then
verified the commit in the log dialog?

> Can you tell us in which ways is Scintilla better than windows edit
> control in TSVN? I want to know what features I'm missing :)

Of course: Scintilla is a full text editor, while the windows edit
control (wec) was designed for entering small texts only. So for
example, Ctrl-A doesn't select all text in a wec automatically (I had to
write a workaround to get that feature). Also, try Ctrl-Left/Right - a
text editor moves the cursor one word backwards, wec doesn't. The same
applies to Ctrl-Delete (deletes the next word), Ctrl-Backspace, ...

I had planned to use the Scintilla control much sooner, but since we
already had the wec extended to have a spell checker, I first had to
implement the same for Scintilla. (Ctrl-Tab gives you now a list of
alternatives/corrections to the word under the cursor, of course only if
you installed the spell checker dictionaries as mentioned in the docs).

Other nice things about Scintilla: many, many features implemented which
we can make use of one day in TSVN. Such as Infotips.
Also, I already implemented some autocompletion (the paths and filenames
shown in the filelist at the bottom of the commit dialog are used for
autocompletion in the log message box).

The wec isn't really extendable, e.g. you can't override OnPaint(),
there's almost no mechanism to interfere with that control. Scintilla on
the other hand can be extended very easily. So that will be a benefit
for the future.

Stefan

-- 
        ___
   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 Fri Jan 7 22:19:07 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.