*****************************************************************
***               HighLight AkelPad plugin v5.0               ***
*****************************************************************

2010 Shengalts Aleksander aka Instructor (Shengalts@mail.ru)


*** Description ***

Syntax highlighting.


*** Functions ***

HighLight::Main
Main function for start and stop plugin.


*** External call ***

Call("HighLight::Main", 1, "EXTENSION")
  Parameters:
    1
      Set manual highlighting.
    "EXTENSION"
      Extension. For example: "html".

Call("HighLight::Main", 2, "#RRGGBB", "#RRGGBB", CASE, FONTSTYLE, ID)
  Parameters:
    2
      Mark selected text.
    "#RRGGBB"
      Text color, ignored if "0".
    "#RRGGBB"
      Background color, ignored if "0".
    CASE (one of the following):
      0  case insensitive.
      1  case sensitive (default).
    FONTSTYLE (one of the following):
      0  ignored (default).
      1  normal.
      2  bold.
      3  italic.
      4  bold italic.
    ID
      Mark ID (default is 1).
  Example:
    Call("HighLight::Main", 2, "#000000", "#9BFF9B", 1, 0, 1)

Call("HighLight::Main", 3, ID)
  Parameters:
    3
      Unmark text.
    ID
      Mark ID (default is 0). If zero, remove all marks.

Call("HighLight::Main", 4)
  Parameters:
    4
      Update cache.
