                   True-Template (c) Alexander Nazarenko
                                1.19
                  ķ
                   ᠭ  ᭮ 室 ⥪⮢ 
                    True-Cpp.Dll (c) Andrey Tretjakov  
                       㡫   ᮣ      
                  ͼ

     This  software  uses  syntax  coloring/regexp  codes  by  Cail Lomecb
<ruiv@uic.nnov.ru>, http://www.uic.nnov.ru/~ruiv/

             প ᮪饭  
                  権 몮 ணࠬ஢
                         ஥ ।
           䠩  FAR (C) 1996-2000 Eugene Roshal,
                   Copyright (C) 2000-2002 FAR Group

      (  ।祭  FAR manager, 1.70 beta 4   )

             Ŀ
                        1. 祭               
             

       ।祭  প ᮪饭  
権  몮  ணࠬ஢    "⥫㠫" 㯮, 
  ୮  ।  Multi  Edit.        ᯮ짮 
   ணࠬ⠬    ண      ᯮ㥬  ࠣ⮢
⥪.

     ⥪饩 ᨨ ॠ:

 -  ⥫㠫  (Smart indent)
    ⪠    "Enter"   ப, ᮢ饩    ᠭ 
    䠩   䨣樨  ਢ    ⮬,      ⮤  
    㪠  ᫮  ⠡権 (।  ) / ᠬ ப 㤥
    ᬥ饭  㪠 .
 -    (Immediate indent)
    ⠥  筮  Smart  indent,      ॡ  "Enter",
    ࠡ뢠   㪠 ப.    ᪮.
 -  饭  (Template expand)
      ᫮  ,  ⢮  :)   䠩 *.c,
    *.h,  *.cpp  (    ப)  i,  ஡   ⮢
     (窠 ⬥砥  ).

    if ( . )
    {
    }

       "祭" ,   "clas " ࠧ 誮
 ᮬ    㤥 ஥ ᠭ   :

    class TMyClass   Class name ͻ
    {                TMyClass           
      public:        [ OK ]  [ ⬥ ] 
        TMyClass(); ͼ
        ~TMyClass();
      private:
    }

    ஬ ⠪ "ࠤ樮" ᯮ짮     ᯮ짮
 ᮧ  ᮢ, ࠡ뢠 ⮫쪮  ।񭭮
⨯ 䠩   ।񭭮 樨  ப.

 -  몮 প
      ࠢ  㯠    ⥬⮢   ஢  
    ⨯  䠩  (   䠩).   (  㦭)  ᨬ
    ࠢ  C/C++, Pascal, HTML  ..

 -  ਭ㤨⥫쭠 ᬥ  ࠢ 㯠  ⥬⮢
     맮    ।     
     ࠢ 㯠  ⥬⮢    ᢮ ࠡ  ⮣
    䠩.

    ਬ砭:

 -   ⠭  ,   । ⮨ auto indent.
 -   ࠭ ࠡ    ࠭  ᨬ  Tab,     ஡
     .

             Ŀ
                    2.  ⠢  ⠫     
             

    true-tpl.dll      - ⢥ 
    true-tpl-eng.lng  -  ᮮ饭 (English)
    true-tpl-rus.lng  -  ᮮ饭 (᪨)
    true-tpl.txt      -  ⥪
    Hrc\True-Tpl.Hrc  -  ᪨   Colorer
    true-tpl.ini      - ᭮ 䠩 ᠭ ࠢ 㯠  ⥬⮢
    Ini\true-*.ini    - 砥 䠩 ᠭ
    Source\*.*        - 室 ⥪ ( 㦭 - )

      ⠫஢   ?     ᪠뢠 :->
 ⠫  "C:\Program Files\Far\Plugins\Editor\TrueTPL"   
㣮  ⠫  ,  ᪮   ᮤন  १
FAR.  ࠡ :)
    !!! ਬ ஥ 뭥ᥭ  ⤥ ⠫  
砩 ४ ࠡ ஥   .   ࢮ
⠭ ६ "ini\true-tpl.ini"  ୥ ⠫ .

             Ŀ
              3.  ᠭ ࠢ 㯠  ⥬⮢ 
             

        ᠬ  ᥫ  ⮬    ᨭ⠪  䠩 䨣樨
筮   "祭".   ᫨   ᫮   "ॣ୮   ࠦ"   
"  ᪮"    祣    ,     
 ࠧ.
       䠩  䨣樨    (true-tpl.ini)  ⨬ ⠪ ⨯
ᠭ: ᠭ 몠 (Language), 㯠 (Indent), ⥬ (Expand),
 (Comment),  ᪮ (Bracket)  祭 (Include).
   宦 ᨭ⠪:

    <Tag value0 [subtag1=value1] [subtag2=value2] ... [subtagN=valueN]>

    Tag    ::= Language|Indent|Expand|Comment|Bracket|
               Exec|Compiler|Include
    Subtag ::= 
    Value  ::= "ப"

 -    㠫   .
 -      ॣ஭ᨬ.
 -     易⥫.
 -  ᫨ Value  ᮤন ஡,   窨   .
 -  ⨬  ᯮ짮 ஡  襭 ⠡쭮.  ਬ
    樨 <Expand e To=else>  <  Expand    "e"      To  = "else"  >
    ࠢ.
 -   ப Value   ॢ  128  ᨬ (஬ To=  
    Expand - ⠬ 1024). ,   ६.
 -   㣨 樨  㣫 ᪮      
    ᯮ짮      ७ ਥ,     ४
    ⮣     -  ⮣,        ⠪    ᨭ
    ਥ  ᫥祩 ᨨ.
 -   㦥  䠩 䨣樨  ""  ᨬ  ᨭ 䠩
    ४頥.  ᯮ짮  ᮧ 襪,  . .

     ᬮ  ஡.

    <Language "᪠" ignoreCase=0|1 Desc="ᠭ" Tab=n Compiler="">
    

            稭   ᠭ   ஥         
ணࠬ஢.          䠩  䨣樨.   
<Indent...>  <Expand...>  ࢮ <Language...>  .

    "᪠"    - ᯨ᮪ ᮪ 䠩, ࠧ ",". ⨬ ,  
                  FAR. ਬ: "*.[ch]pp,*.[ch]"
    ignoreCase -    ॣ஧ᨬ.   㬮砭 - 0, 
                   ॣ஧ᨬ.
    Desc       - ᠭ 몠.   ᯮ.
    Tab        -  ⠡樨.
    Compiler   -   㬮砭. .  ᠭ  <Exec> 
                 <Compiler>.    ४   㪠 㣮
                 祭   <Exec>.

    <Indent "r" Line=n Next=n OpenBr="r" closeBr="r" Imm="c" Start=n>
    

        뢠  ࠢ  㯠    ⭮ ப ⥪.
ᠭ   ॣ묨 ࠦﬨ (Regular Expression). ⠪
ॣᯮ ᠭ  . 5,   ணࠬ⮢ 筮 ᪠,   
ॠ  ᭮  Colorer  (c)  ᪨,  ruiv@uic.nnov.ru   
ᠭ    ᮮ⢥饬 㠫.
     <Indent...> ࠡ뢠  ⨨ Enter   ப.

    "r"        - ୮ ࠦ (regexp), 뢠饥 ப.
    Line       -     ⥪饩  ப  ⠡.  ᫨ ࠬ
                 饭,  ப  ᤢ.   ⥫
                  ⥫.   뢠  Relative  
                 ।饩 ப, ᫨ Relative  .
    Next       -     ᫥饩  ப.  ᫨ ࠬ 饭, 
                         樮.       
                 ⥫  ⥫.  뢠   ⥪饩
                 ப.
    Relative   - 뢠 ୠ ᪮  (Open Bracket).  ਬ
                 "{"  "begin".     㪠  ⮣  ࠬ  㤥
                 ந  ᮮ⢥饩 ( ⮬ ) ப
                   㤥 ⠭  .
    Imm        - ਧ  ⮣,    㦭      "Enter",  
                 ࠡ뢠   ᨬ  "c".  ࠧ㬥,  
                  ᨬ - ᫥    ப   ॣᯥ.
                 ᫨   ⠪,     ࠡ⠥.
    Start      - ७      "Enter"   ।饩 ப,
                   ஬ ࠦ  ( <Indent "r" ...>) 
                 ᫥.   ७ ⨭   த 
                  祬  ਣ :)

    <Bracket "r1" Match="r2" Line=n Shift=n Next=n Start="r"
                             ImmOpen="c" ImmClose="c">
    

      뢠    ᪮   ४⭮ ࠡ 
묨 㯠.       ⥣ <Indent...>, ᠭ
.  ᭮ ⫨稥 ᯮ짮    
⠭ ࠢ 㯠 ⭮⥫쭮  ᪮ (Indent Relative)
 ⮬  ୮.   , ਬ,  ⠢  "else"
 ᮮ⢥騩   "if"  ⮬ ᪮ "{"  "}"  C/C++.

    "r1"  "r1"-  ࠦ (regexp), 뢠饥 ᮮ⢥⢥
                 뢠  뢠 ᪮.
    Line       -   뢠饩 ᪮    ⠡.  ᫨ ࠬ
                 饭,  ப  ᤢ.   ⥫
                  ⥫.   뢠  Relative  
                 ।饩 ப, ᫨ Relative  .
    Shift      -  ᫥饩  ᪮ ப. ᫨ ࠬ 饭,
                  ਭ ࠢ .    ⥫
                  ⥫. 뢠  뢠饩 ᪮.
    Next       -  ᫥饩  뢠饩 ᪮ ப.
    ImmOpen    - 祭 <Indent Imm...>  뢠饩 ᪮.
    ImmClose   - 祭 <Indent Imm...>  뢠饩 ᪮.
    Start      - 祭 <Indent Start...>  뢠饩 ᪮.

    <Expand "ப|墮" Key="key" At="" To="ப">
    

        뢠  "⥬"    ᮪饭   権
몮 ணࠬ஢.  <Expand...>   Key= ࠡ뢠 
⨨ ஡.   ⥪饩 ப । ந     
ࢮ ஡쭮 ᨬ  砫 ப,  ⥬  ஢ 稥
࠭祭  ⠪  ࠧ  ᫮  ᯨ᪥ Expand'   宦 -
   㦭 ⥪.     Key=   "ப|墮" 
  ⮩ ப.
     <Expand...>    Key=   ⠪ ࠡ뢠  ⨨
㪠  Key= .  ⠪ ᠭ . .   ⮬ ஢ઠ
ࠧ  ந  "ப|墮"   ⮩ ப.
    ஬ ⠪ "ࠤ樮" ᯮ짮     ᯮ짮
 ᮧ  ᮢ, ࠡ뢠 ⮫쪮  ।񭭮
⨯ 䠩   ।񭭮 樨   ப.    ⮬      
஦ "" १,   ஢  㦭 .
ਬ  ࠡ뢠 ⨥ F1    ।஢  䠩  C/C++
맮 ⠭⭮ 䠩   ..

    "ப"   - 쭠 ப-ࠧ  ࠡ뢠 .
    "墮"    -  易⥫ "墮" ப-ࠧ. ਬ
                  㪠 <Expand "|">  ࠡ⠥   -
                  ࠧ: "", "", "墮", "墮"  "墮".
                  "|"     ࠧ.
    Key        - ୠ⨢  ࠡ뢠 .    ⮬
                 ,   ஬ ࠭    
                 FAR ("Home", "CtrlF1"  ..).
    At         -   室 ࠧ  ࠡ뢠 . -
                  祭 (  窠,   ):
                   "AnyWhere" -  ஢ 
                   "Start"    - ᫨ ࠧ  砫 ப
                   "Middle"   - ᫨ ࠧ  ப
                   "End"      - ᫨ ࠧ   ப
                   "Blank"    - ᫨ ப   ࠧ ( 㬮砭)
    To         - ⢥ ⥪ . ࠡ뢠 ᫥騥 ࠢ-
                 騥 ᨬ:
                   \~           -  (ᬮ )
                   \"           - 窠 (")
                   \\           - ⭠  (\)
                   \p           -   ᫥ 믮 
                   \n           - Enter
                   \r           - Enter ( ⮬ Smart Indent)
                   \t           - Tab
                   \b           - BackSpace
                   \^           - ५ 
                   \v           - ५ 
                   \<           - ५ 
                   \>           - ५ ࠢ
                   \(           - Ctrl+५ 
                   \)           - Ctrl+५ ࠢ
                   \[           - Home
                   \]           - End
                   \['ப'] - =[0-9] ⠢ ࠬ (. ).
                   \?'ப'   -    ࠬ.
                   \!<ᨬ>   - ࠡ <ᨬ>,  ⨥ 
                                   ⮬ ய⠭.
                   \{key}       - ந쭠 . ⠪ ⠪ 
                                     Key="key".
                  㣮 ᨬ ࠡ뢠  '\!<ᨬ>'.

    樨  \0  -  \9  ࠡ뢠  ᫥騬  ࠧ.  ࢮ
宦 ࠧ稢      \?  ப .
  ᫥  宦    ࠧ稢,  ⠢ ࠭
 祭.
      \'ப'  ᢠ  祭  ࠬ   㪠
஬.  ᯮ짮 ஦,  뢠  ⮬,  ᫨  宦
ࠬ  -  ࢮ,    'ப' 㤥   ।஢  
,    ᫨    ࢮ,      㤥  믮  ᢠ
ࠬ.
    ᫨ ப 稭  \~,   짮⥫ 㤥 । 롮 
,  㭪 ண  稭  \~  뢠  :

    ப[=ᠭ]

    ᫥ 롮   "ப" ࠡ뢠 ⠪,  ᫨   뫠
     ஡.  ਬ   C/C++  筮
롮  switch  struct  ࠧ "s"    ᫥騬
ࠧ:

  <Expand "st|ruct" To="struct \p\n{\n}">
  <Expand "sw|itch" To="switch ( \p )\n{\n}\^\rcase :">
  <Expand "s"       To="\~switch=switch () {...}\~struct=struct {...}">

    !      ࠡ⪥         ᭠砫   
  ࠧ    ᫥饩  ᫥⥫쭮:  "Blank",  "Middle",
"Start",  "End".  ⥬  ந     ᯨ᪥ ᮢ 室饩
ப, 뢠 祭  At=...  ᫥騬 ࠢ:

    Ŀ
          At="Blank"At="Middle"At="Start"At="End"At="AnyWhere"
    Ĵ
    Blank     +                     +        +         +      
    Ĵ
    Middle               +                             +      
    Ĵ
    Start                           +                  +      
    Ĵ
    End                                      +         +      
    

      宦  ࢮ  室饣  ࠧ  ४頥. 
 "᫮"   ࠧ ॠ    ࠧ 
ࠧ ⥪. ਬ:

  <Expand "r|eturn" At=End   To="return \p;">
  <Expand "r|eturn" At=Start To="return \];">

        ࠧ   砫 ப  㤥  ᥡ  祬
    ⮩ ப.

    <Comment "regexp">
    

      뢠 ⪨ ⥪    饭 ࠡ .
 室  ⮣,  ⮡       ࠡ뢠  
ப ⠭  ਥ.

    "regexp"   - ୮ ࠦ (regexp), 뢠饥  ப 
                 ன 饭 ࠡ .

    <Exec "" Title="ப" Ask=0|1 Save="⨯" CD="⨯" Jump="⨯"
     Enable="䠩" Disable="䠩" Compiler="">
    

      뢠     ⨯ 䠩.  
  ᪮쪮.   ।祭  প 맮  ஢
 譨 ⨫ ࠡ⪨ 䠩.

    ""  -  樮 ⥬. ⨬ ᫥騥 
                 (ॣ஧ᨬ):

                 :
                   =M       - 
                   =[do]N   - 
                   =[do]E   - ७
                   =[do]F   - .७
                   =[dmot]D - 
                   =[dmo]P  -  
                   ='       - "⥫㠫" 窨

                 ⥫㠫쭮 "⥫㠫" 祪 砥
                  ⮬,    ⠢  ⥪  ⮫쪮 
                 ᫮,       ஡.

                 䨪 ᮢ:
                   d - ⪮ 祭
                   m -  㪢 ᪠
                   o -    窨
                   t -  '\'  

    Ask        - ஢  । 믮.
    Save       - ࠭ । 믮 :
                   "Current" - 㥬 䠩.
                   "All"     -   䠩.
                   "None"    - 祣  ࠭.
    CD         -  ⥪騬 ⠫:
                   "Base"    - "" 䠩 (. ).
                   "File"    - 㥬 䠩.
                   "None"    -   ⠫.
    Jump       -  ࠡ뢠 ⨭ :
                   "Menu"    - ⨭   .
                   "First"   - ३    訡.
                   "Smart"   - ⨭ (Menu)    室 (First),  ᫨
                               訡 ⮫쪮  ( 㬮砭).
                   "None"    -   ࠡ뢠 (ᬮ  Ctrl-O).
    Enable     - 믮    ⮫쪮  ᫨      䠩.
                 ⨬ . 祭 ᯮ ⠪  ⢥
                 "" 䠩   CD. ᫨ ᪠ 䠩 稭-
                   "*\",  "" 䠩   ⮫쪮    ⥪饬
                 ⠫,    ⠫   䠩.  ᯮ-
                   .
    Disable    - 믮    ⮫쪮  ᫨  䠩  .
    Compiler   -     <Compiler> (. ). ।-
                  ࠢ  ⨭ 譥 ணࠬ.  ⨬
                 㪠 ᯨ᪠ 祭, ࠧ 묨.

    <Compiler "" Error="regexp" Line=n Col=n File=n>
    

      뢠 ࠢ  ⨭  譥 ணࠬ.  
   ᪮쪮.  ᯮ ᮢ⭮   <Exec>.

    ""      -  .   ','  ⨬.  ᯮ
                  뫮  ࠢ   <Exec>.
    Error      - ୮ ࠦ,  뢠饥 ப  ᮮ饭 
                 訡  ⨭ .
    Line       -  ࠦ   Error   ஬  訡筮
                 ப.
    Col        -  ࠦ   Error   ஬ 訡筮
                 ⮫.
    File       -  ࠦ   Error   䠩.  ᫨
                  㪠,  ਭ ࠢ =F.

    <Include "filename">
    

      뢠 祭  ⥫쭮 䠩 ன.  
  ࠧ ன  ࠧ 몮  ࠧ 䠩  
 뭥 騥 ன  ᪮쪨 몮   䠩.

    "filename" -  砥 䠩.  㪠 ⭮⥫쭮 
                 ⥪饩  ⠥ ⠫ .

             Ŀ
                    4.  訡  ࠡ⪨      
             

-    "Save as..."   ७ 䠩  ந ८-
    । ⨯ 䠩.   ,   :)
-    ⪠   ࠬ ⥬  ࠢ ࠡ뢠  
    祭 ࠬ.  ࠢ   .
-    ᨭ 䠩 樨   뤠  -
     ᮮ饭.  ப  .   ?
-    <Include "filename">  ஢. ⠥,  짮-
    ⥫  ࠢ 㬥 ⠪   :)
-     true-tpl.dll " " ᭥  ⮬᪮ -
     䨣樮 䠩. ६.

             Ŀ
                    5. ⠪ ॣ ࠦ      
             

    ᠭ ᨭ⠪ ॣ ࠦ  ( 㦭)  ᬮ 
㬥樨  ⥪ Colorer (c)  ᪨, ruiv@uic.nnov.ru.

    뢠 ᨬ "/"  砫   ॣᯠ  室.
    뢠  ᨬ  "^"    "$"   ⠪   室  -  
ࠧ㬥      砫      ப  ஬ <Indent
Start="r">  <Comment "r">.

             Ŀ
               6. ࠭  ⢥⢥ ஭ 
             

    ᫮  ࠭:  FREEWARE. 室 ࠭ 
 , ᬮ  ஢.  ࠡ⪠   ,  ⮦ 
:)
            ⢥⢥   ᫥⢨ 짮
  த⮬,      ஢  祣  ᮡ 譮  
㦥  뫮 :)

             Ŀ
                           7. ୮                
             

     类, 2:5085/40    -  室 ⥪ True-CPP plugin 
                                        ,  襤     
                                      室 ९᪨.

     蠫, 2:5010/45.7     -  ४ 䠩, -
                                      騩 ॠ ࠪ᪨ , 
                                      ᪫祭 .

     ,dov@sparc.spb.su -    䨪 鸞 .

     ᪨, ruiv@uic.nnov.ru -  ४ ⥪ ॣᯮ.

WBR, Alexander Nazarenko AKA /CorWin
mailto:corwinnt@mail.ru
Fidonet: 2:464/991, 2:464/991.991
