home *** CD-ROM | disk | FTP | other *** search
/ 73.234.73.94.ip.orionnet.ru / 73.234.73.94.ip.orionnet.ru.tar / 73.234.73.94.ip.orionnet.ru / Far30b3000.x86.20121208.msi / BrackEng.hlf < prev    next >
Text File  |  2012-12-08  |  7KB  |  163 lines

  1. .Language=English,English
  2. .PluginContents=Brackets matching
  3.  
  4. @Contents
  5. $ #Brackets matching#
  6.   This plugin allows you to:
  7.  
  8.   - find a matching bracket;
  9.   - select the text between brackets.
  10.  
  11.   The plugin can work in three cases:
  12.  
  13.   #1. Common '()', '{}', '[]', '<>', '┬½┬╗' and quotation marks#
  14.      This is a simple case - when the cursor is on a bracket, it is
  15.      positioned to the matching bracket. For quotation marks it is
  16.      also necessary to specify the scanning direction - forward or
  17.      backward.
  18.  
  19.   #2. Uncommon '()', '{}', '[]', '<>' and '┬½┬╗'#
  20.      This case is when the cursor stands on the next character after
  21.      the bracket. The plugin also positions the cursor to the
  22.      matching bracket. Handling of this case can be disabled in the
  23.      configuration dialog.
  24.  
  25.   #3. Double brackets#
  26.      This case allows to handle, for example, block comments from
  27.      the C/C++ language: '/*' and '*/'. The cursor will be positioned
  28.      to the respective character of the matching bracket.
  29.  
  30.  
  31.   ~Configure~@Config@
  32.   ~Search/select~@Find@
  33.   ~Search for quotation marks~@Direct@
  34.   ~╨ÿ╤ü╨┐╨╛╨╗╤î╨╖╨╛╨▓╨░╨╜╨╕╨╡ ╨┐╨╗╨░╨│╨╕╨╜╨░ ╨▓ ╨╝╨░╨║╤Ç╨╛╤ü╨░╤à~@MacroCallPlugin@
  35.  
  36.  
  37. @Find
  38. $ #Brackets matching - Search/select#
  39.  
  40.   #Search#     - if the matching bracket is found successfully, the
  41.                cursor will be positioned to the bracket.
  42.  
  43.   #Select#     - if the matching bracket is found successfully, the
  44.                cursor will be positioned to the bracket and the text
  45.                between the brackets (including the brackets
  46.                themselves) will be selected.
  47.  
  48.   ~Contents~@Contents@
  49.   ~Configure~@Config@
  50.  
  51. @Direct
  52. $ #Brackets matching - Search for quotation marks#
  53.   If the matching brackets or quotation marks are the same characters,
  54. the plugin needs to know the direction of file scanning:
  55.  
  56.   #Forward#    - search for the matching character from the current
  57.                cursor position to the end of the text.
  58.  
  59.   #Backward#   - search for the matching symbol from the current
  60.                cursor position to the beginning of the text.
  61.  
  62.  
  63.   ~Contents~@Contents@
  64.   ~Configure~@Config@
  65.  
  66. @Config
  67. $ #Brackets matching - Configure#
  68.   If you don't like the default settings of the plugin, you can configure
  69. it.
  70.  
  71.   #>Rules#
  72.   The rules control the behavior of the plugin in specific situations:
  73.  
  74.    #Ignore brackets#      If this option is enabled, the plugin does
  75.    #in quotation marks#   not locate the brackets that are embraced
  76.                         in quotation marks: #'#{#'#.
  77.                         The quotation mark characters are also
  78.                         configurable.
  79.  
  80.    #Do not jump when#     If this option is disabled, the plugin
  81.    #after a bracket#      searches for the matching bracket also
  82.                         when the cursor is on the next character
  83.                         after the bracket. If the option is
  84.                         enabled, the plugin performs the search
  85.                         only if the cursor is precisely at the
  86.                         bracket.
  87.  
  88.    #Priority of double#   If this option is enabled, the plugin
  89.    #brackets#             first uses the rules for single brackets
  90.                         (for example, if the cursor is at the
  91.                         first character of '#<%#', the plugin
  92.                         tries to locate '#>#' as the matching
  93.                         bracket). When the option is disabled,
  94.                         the plugin tries to locate '#%>#' in
  95.                         this situation.
  96.  
  97.    #Go to bracket#        When selecting a block between brackets,
  98.    #when selecting#       set cursor to the found bracket.
  99.  
  100.    #Beep if matched#      Beep after successful search.
  101.  
  102.  
  103.   #>Definitions#
  104.   This section allows to change some basic constants of the plugin:
  105.  
  106.    #Single brackets#      Definition of single brackets.
  107.                         Contains a sequence of two-character pairs.
  108.                         The first character is the opening bracket,
  109.                         the second - the closing bracket. There
  110.                         can be at most 10 pairs. The first and second
  111.                         characters can be the same (for example,
  112.                         #""# or #''#).
  113.  
  114.    #Double brackets#      Definition of double brackets.
  115.                         Contains a sequence of four-character groups.
  116.                         The first two characters are the opening
  117.                         bracket, the second - the closing bracket.
  118.                         There can be at most 10 groups.
  119.  
  120.    #Quotation marks#      Quotation mark characters for the rule
  121.                         "Ignore brackets in quotation marks".
  122.                         Contains a sequence of two-character pairs.
  123.                         The first character is the opening quotation
  124.                         mark, the second - the closing mark. There
  125.                         can be at most 10 pairs. Note: the quotation
  126.                         marks are not used directly for bracket
  127.                         matching.
  128.  
  129.  
  130.   ~Contents~@Contents@
  131.  
  132. @MacroCallPlugin
  133. $ #╨ÿ╤ü╨┐╨╛╨╗╤î╨╖╨╛╨▓╨░╨╜╨╕╨╡ ╨┐╨╗╨░╨│╨╕╨╜╨░ ╨▓ ╨╝╨░╨║╤Ç╨╛╤ü╨░╤à#
  134.     ^<wrap>╨ƒ╨╗╨░╨│╨╕╨╜ ╨╝╨╛╨╢╨╜╨╛ ╨▓╤ï╨╖╤ï╨▓╨░╤é╤î ╨╕╨╖ ╨╝╨░╨║╤Ç╨╛╤ü╨╛╨▓, ╨╕╤ü╨┐╨╛╨╗╤î╨╖╤â╤Å ╨╝╨░╨║╤Ç╨╛╤ä╤â╨╜╨║╤å╨╕╤Ä callplugin.
  135.     ^<wrap>╨ñ╨╛╤Ç╨╝╨░╤é ╨▓╤ï╨╖╨╛╨▓╨░:
  136.  
  137.        #callplugin("B66C436D-E657-419C-86D3-6834B9ACF3D2",<╨ƒ╨░╤Ç╨░╨╝╨╡╤é╤Ç>)#
  138.  
  139.     ^<wrap>╨╖╨┤╨╡╤ü╤î:
  140.        #B66C436D-E657-419C-86D3-6834B9ACF3D2#
  141.           ╨╕╨┤╨╡╨╜╤é╨╕╤ä╨╕╨║╨░╤é╨╛╤Ç ╨┐╨╗╨░╨│╨╕╨╜╨░
  142.  
  143.        #<╨ƒ╨░╤Ç╨░╨╝╨╡╤é╤Ç>#
  144.           ^<wrap>╤ç╨╕╤ü╨╗╨╛╨▓╨╛╨╡ ╨╖╨╜╨░╤ç╨╡╨╜╨╕╨╡, ╨╛╨▒╨╛╨╖╨╜╨░╤ç╨░╤Ä╤ë╨╡╨╡ ╨┤╨╡╨╣╤ü╤é╨▓╨╕╨╡:
  145.  
  146.           0 - ╨╕╤ü╨║╨░╤é╤î ╨┐╨░╤Ç╨╜╤â╤Ä ╤ü╨║╨╛╨▒╨║╤â ╨▓╨┐╨╡╤Ç╨╡╨┤
  147.           1 - ╨╕╤ü╨║╨░╤é╤î ╨┐╨░╤Ç╨╜╤â╤Ä ╤ü╨║╨╛╨▒╨║╤â ╨╜╨░╨╖╨░╨┤
  148.           2 - ╨▓╤ï╨┤╨╡╨╗╨╕╤é╤î ╨▒╨╗╨╛╨║ ╨╝╨╡╨╢╨┤╤â ╨┐╨░╤Ç╨╜╤ï╨╝╨╕ ╤ü╨║╨╛╨▒╨║╨░╨╝╨╕ ╨▓╨┐╨╡╤Ç╨╡╨┤
  149.           3 - ╨▓╤ï╨┤╨╡╨╗╨╕╤é╤î ╨▒╨╗╨╛╨║ ╨╝╨╡╨╢╨┤╤â ╨┐╨░╤Ç╨╜╤ï╨╝╨╕ ╤ü╨║╨╛╨▒╨║╨░╨╝╨╕ ╨╜╨░╨╖╨░╨┤
  150.           4 - ╨┐╨╛╨║╨░╨╖╨░╤é╤î ╨┤╨╕╨░╨╗╨╛╨│ ╨║╨╛╨╜╤ä╨╕╨│╤â╤Ç╨░╤å╨╕╨╕
  151.  
  152.           ^<wrap>╨ò╤ü╨╗╨╕ <╨ƒ╨░╤Ç╨░╨╝╨╡╤é╤Ç> ╨╜╨╡ ╤ç╨╕╤ü╨╗╨╛ - ╨┐╨╗╨░╨│╨╕╨╜ ╨╖╨░╨▓╨╡╤Ç╤ê╨░╨╡╤é ╤ü╨▓╨╛╤Ä ╤Ç╨░╨▒╨╛╤é╤â.
  153.           ^<wrap>╨ò╤ü╨╗╨╕ <╨ƒ╨░╤Ç╨░╨╝╨╡╤é╤Ç> ╨▓╨╜╨╡ ╤â╨║╨░╨╖╨░╨╜╨╜╨╛╨│╨╛ ╨▓╤ï╤ê╨╡ ╨┤╨╕╨░╨┐╨░╨╖╨╛╨╜╨░ - ╨┐╨╗╨░╨│╨╕╨╜ ╨╖╨░╨▓╨╡╤Ç╤ê╨░╨╡╤é ╤ü╨▓╨╛╤Ä ╤Ç╨░╨▒╨╛╤é╤â.
  154.           ^<wrap>╨ò╤ü╨╗╨╕ <╨ƒ╨░╤Ç╨░╨╝╨╡╤é╤Ç> ╨╜╨╡ ╤â╨║╨░╨╖╨░╨╜, ╤é╨╛ ╨▒╤â╨┤╨╡╤é ╨▓╤ï╨▓╨╡╨┤╨╡╨╜╨╛ ╨╝╨╡╨╜╤Ä ╨┤╨╡╨╣╤ü╤é╨▓╨╕╨╣.
  155.  
  156.           ^<wrap>╨á╨░╨╖╨╗╨╕╤ç╨╕╨╡ ╨╝╨╡╨╢╨┤╤â "╨▓╨┐╨╡╤Ç╨╡╨┤" ╨╕ "╨╜╨░╨╖╨░╨┤" ╨░╨║╤é╤â╨░╨╗╤î╨╜╨╛ ╤é╨╛╨╗╤î╨║╨╛ ╨┤╨╗╤Å ╨║╨░╨▓╤ï╤ç╨╡╨║.
  157.  
  158.     ^<wrap>╨¥╨░╨┐╤Ç╨╕╨╝╨╡╤Ç, ╨╕╤ü╨║╨░╤é╤î ╨┐╨░╤Ç╨╜╤â╤Ä ╤ü╨║╨╛╨▒╨║╤â ╨╜╨░╨╖╨░╨┤:
  159.  
  160.        callplugin("B66C436D-E657-419C-86D3-6834B9ACF3D2",1)
  161.  
  162.   ~╨í╨╛╨┤╨╡╤Ç╨╢╨░╨╜╨╕╨╡~@Contents@
  163.