Hi all,

My English isn't perfect and I have no knowledge of C++. However, I
regularly edit your source code and re-compile SciTe in order to get
the best out of this wonderful text editor. All improvements were
suggested by a Russian developer mimir. The improvements eliminate
some of your errors and enhance the SciTe functionality. I truly hope
to see the corrections below in the 1.69 version.

------------------------------------------------
1. Fixed SciTe freezing when command.input is used. Before the fix,
the StdIn function launched from a script would wait for the data and
freeze Scite, if no text selection was made. Example
(replace_TEST.vbs):

'-------------------------------------------------------------------------
'~ command.47.*=wscript "$(SciteDefaultHome)\tools\replace_TEST.vbs"
'~ command.input.47.*=$(CurrentSelection)
'~ command.mode.47.*=subsystem:windows,replaceselection:auto,savebefore:no
'--------------------------------------
text = WScript.StdIn.ReadAll
WScript.Echo text
WScript.StdOut.Write text

'Test String: ABCD АБВГД
'-------------------------------------------------------------------------

(The decision is to specify the end of a stream)

------------------------------------------------
2. Fixed error with text output (in UTF-8 only!) initiated by
command.input and $(CurrentSelection). It was not possible to use an
external script to process the text containing Cyrillic symbols. See
the example above.

(text_output.codepage = current_code.page)

------------------------------------------------
3. Now each programming language can have its own abbreviations file!!!
For example:
abbrev.$(file.patterns.web)=$(SciteDefaultHome)\abbrev\html.abbrev
abbrev.$(file.patterns.php)=$(SciteDefaultHome)\abbrev\php.abbrev 

(Why wasn't it in the first version SciTE? I do not understand :-/

------------------------------------------------
4. The autocomplete function now gets the templates both from the
edited text and the corresponding .api file!

------------------------------------------------
5. The SQL folding is improved.
A new parameter fold.only.begin (for SQL) has been added. It declares
that folding should begin only after "begin".
E.g. in SyBase SQL a construction of type "if then -> end if" requires 
fold.only.begin=0
while in Firebird SQL a construction of type "if thet begin -> end" requires 
fold.only.begin=1

(the best way is to use "fold.sql.only.begin" - amendment Neil Hodgson)

=================================================
Correct source code available
<http://scite.ruteam.ru/scite/sborki/scite-ru-board>
<http://scite.ruteam.ru/engine/upfiles/mozers/SciTE_167_3Ru_src.rar>
[75kB]

------------------------------------------------
Should you decide to implement them,
please mention the author of the above code - Russian developer mimir.
<http://forum.ru-board.com/profile.cgi?action=show&member=mimir>

-- 
Best regards,
mozers
<http://scite.ruteam.ru>
_________________________________________________
* OS: Windows XP 5.1.2600 Service Pack 2 *


_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to