Coder plugin (1)

Discuss and announce AkelPad plugins
  • Author
  • Message
Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

Исправлено: список CodeFold не обновлялся после обновления кэша.

Fixed: CodeFold list didn't updated after cache updating.


Coder plugin v1.4

Offline
Posts: 767
Joined: Mon Sep 28, 2009 10:03 am
Location: Minsk, Belarus

Post by se7h »

просьба: сделать возможность выбора круглых узлов, а также цвета их заливки для лучшей наглядности
Image

Offline
Posts: 767
Joined: Mon Sep 28, 2009 10:03 am
Location: Minsk, Belarus

Post by se7h »

в html.coder нужно добавить расширения xhtml, xhtm и xht
пускай они встречаются нечасто, но всё же

Offline
Posts: 3217
Joined: Wed Nov 29, 2006 1:19 pm
Location: Киев, Русь
Contact:

Post by VladSh »

Предлагаю в файле js.coder изменить строчку для MessageBox:

Code: Select all

AkelPad.MessageBox($[AkelPad.GetEditWnd()], $[Text], "$[Caption]", $[0] /*MB_OK*/);
т.к. чаще всего она используется для отладки - экономится время.
Last edited by VladSh on Fri Jul 09, 2010 4:25 pm, edited 3 times in total.

Offline
Posts: 98
Joined: Thu Jul 03, 2008 7:23 pm

Post by Tony »

Предлагаю в AutoComplete для "Complete words from HighLight base" сделать ещё поле, в котором будет вводится список, для каких расширений файлов это применять. Просто для PHP есть смысл этим пользоваться, а для HTML нету.

Offline
Posts: 3217
Joined: Wed Nov 29, 2006 1:19 pm
Location: Киев, Русь
Contact:

Post by VladSh »

Коллеги, никто не помнит, как эта штука работает :?
Instructor (10.02.2010 10:14 pm) wrote:Добавлено: быстрый переход по указанным позициям в блоке текста.

AutoComplete plugin v2.7
Какие комбинации клавиш?

И, если можно, в документацию (Coder-Rus.txt) полное описание этого!

А ещё это:
Abbreviations and blocks:
$~abbr abbreviation.
$[] set caret to this position. Can be multiple (hot spots).
$[text] select text. Can be multiple (hot spots).
$$ symbol $.
$\] escape symbol ]. Can be used in $[text] block: $[One [1$\].
${VAR} variable name that has been set in "Variables:" section.
$; comment line.
$# comment line.
и это.

Offline
Posts: 3217
Joined: Wed Nov 29, 2006 1:19 pm
Location: Киев, Русь
Contact:

Post by VladSh »

Code: Select all

; mnu (VladSh)
; http://akelpad.sourceforge.net/forum/viewtopic.php?p=7983#p7983
; Version of 2012.08.21
;----------------------------------------------;
;           Coder plugin syntax file           ;
;----------------------------------------------;

;Colors
; Color need to be in #RRGGBB format.
; If color equal to zero, then color ignored.
;
;Font styles
; 0  ignored.
; 1  normal.
; 2  bold.
; 3  italic.
; 4  bold italic.
;
;For comfort file viewing/editing set tab size to 8 or higher.


Files:
;==========
;File types
;==========
*.mnu


;----------------------------------------------;
;                  HighLight                   ;
;----------------------------------------------;

;Flags (sum of the members)
;     1  case sensitive.
;     2  word is a composition of characters ("Words:" section only). Example: "0123456789" - highlight words that contain only digits.
;     4  quote end required ("Quotes:" section only).
;     8  quote start string is ignored and last meet delimiter used as quote start ("Quotes:" section only).
;    16  quote end string is ignored and first meet delimiter used as quote end ("Quotes:" section only).
;    32  don't highlight quote start ("Quotes:" section only).
;    64  don't highlight quote end ("Quotes:" section only).
;   128  don't catch and don't highlight quote start ("Quotes:" section only).
;   256  don't catch and don't highlight quote end ("Quotes:" section only).
;   512  quote start, delimiter or word located at line start.
;  1024  quote end, delimiter or word located at line end.
;  2048  quote start is surrounded with delimiters ("Quotes:" section only).
;  4096  quote end is surrounded with delimiters ("Quotes:" section only).
;  8192  quote doesn't contain delimiters ("Quotes:" section only).
; 16384  only quote start string is catched ("Quotes:" section only).


Font:
;=================================================================
;FontStyle             FontSize              FaceName
;=================================================================
${HighLight_FontStyle} ${HighLight_FontSize} ${HighLight_FaceName}


Colors:
;=============================================================================================================================================================================================================================================================================================================================================================================================================================
;BasicTextColor             BasicBkColor              SelTextColor              SelBkColor              LineTextColor              LineBkColor              LineBorderColor              AltTextColor              AltBkColor              AltBorderColor              ColumnColor              MarkerColor              CaretColor              UrlColor              ActiveUrlColor              VisitUrlColor
;=============================================================================================================================================================================================================================================================================================================================================================================================================================
${HighLight_BasicTextColor} ${HighLight_BasicBkColor} ${HighLight_SelTextColor} ${HighLight_SelBkColor} ${HighLight_LineTextColor} ${HighLight_LineBkColor} ${HighLight_LineBorderColor} ${HighLight_AltTextColor} ${HighLight_AltBkColor} ${HighLight_AltBorderColor} ${HighLight_ColumnColor} ${HighLight_MarkerColor} ${HighLight_CaretColor} ${HighLight_UrlColor} ${HighLight_ActiveUrlColor} ${HighLight_VisitUrlColor}


BkImage:
;==================================================
;BkImageFile              BkImageAlpha
;==================================================
${HighLight_BkImageFile}  ${HighLight_BkImageAlpha}


AutoMark:
;====================================================================================================================
;AutoMarkFlags             AutoMarkFontStyle              AutoMarkTextColor              AutoMarkBkColor
;====================================================================================================================
${HighLight_AutoMarkFlags} ${HighLight_AutoMarkFontStyle} ${HighLight_AutoMarkTextColor} ${HighLight_AutoMarkBkColor}


Quotes:
;======================================================================
;Flags  Font    Color   Color   Quote   Quote   Escape  Quote   Quote
;       style   text    bkgrnd  start   end     char    include exclude
;======================================================================
;5=1+4
5	1	${COMM}		0	"#"	""	""	""	""
5	1	${COMM}	0	";"	""	""	""	""
5	1	${STR}	0	"`" "`" "" "" ""


QuotesRE:
;==========================================================================
;Flags  Pattern         \BackRef=(FontStyle,ColorText,ColorBk) \BackRef=...
;==========================================================================


Delimiters:
;======================================
;Flags	Font	 Color	Color	Char(s)
;		 style	text	 bkgrnd
;======================================
1	0	0	0	" "
1	0	0	0	"	"
1	0	0	0	(
1	0	0	0	)
1	0	${DEL2} 	0	{
1	0	${DEL2} 	0	}


Words:
;===================================
;Flags	Font	 Color	Color	Word
;		 style	text	 bkgrnd
;===================================
1	0	${OP}	0	Call
1	0	${OP}	0	Command
1	0	${OP}	0	Exec
1	0	${OP}	0	Font
1	0	${OP}	0	Icon
1	0	${OP}	0	Index
1	0	${OP}	0	Insert
1	0	${OP}	0	Favourites
1	0	${OP}	0	Link
1	0	${OP}	0	Menu
1	0	${OP}	0	OpenFile
1	0	${OP}	0	Recode
1	0	${OP}	0	SaveFile
1	2	#FF00FF	0	CLEAR
1	0	#FF00FF	0	BREAK
1	0	#FF00FF	0	SEPARATOR
1	2	${TYPE}	0	EXPLORER
1	2	${TYPE}	0	FAVOURITES
1	2	${TYPE}	0	LANGUAGES
1	2	${TYPE}	0	MDIDOCUMENTS
1	2	${TYPE}	0	OPENCODEPAGES
1	2	${TYPE}	0	RECENTFILES
1	2	${TYPE}	0	SAVECODEPAGES
1	2	${TYPE}	0	SET
1	2	${TYPE}	0	UNSET


Code: Select all

; lss (VladSh)
; http://akelpad.sourceforge.net/forum/viewtopic.php?p=7983#p7983
; Version of 2012.08.21
;----------------------------------------------;
;           Coder plugin syntax file           ;
;----------------------------------------------;

;Colors
; Color need to be in #RRGGBB format.
; If color equal to zero, then color ignored.
;
;Font styles
; 0  ignored.
; 1  normal.
; 2  bold.
; 3  italic.
; 4  bold italic.
;
;For comfort file viewing/editing set tab size to 8 or higher.


Files:
;==========
;File types
;==========
*.lss


;----------------------------------------------;
;                  HighLight                   ;
;----------------------------------------------;

;Flags (sum of the members)
;     1  case sensitive.
;     2  word is a composition of characters ("Words:" section only). Example: "0123456789" - highlight words that contain only digits.
;     4  quote end required ("Quotes:" section only).
;     8  quote start string is ignored and last meet delimiter used as quote start ("Quotes:" section only).
;    16  quote end string is ignored and first meet delimiter used as quote end ("Quotes:" section only).
;    32  don't highlight quote start ("Quotes:" section only).
;    64  don't highlight quote end ("Quotes:" section only).
;   128  don't catch and don't highlight quote start ("Quotes:" section only).
;   256  don't catch and don't highlight quote end ("Quotes:" section only).
;   512  quote start, delimiter or word located at line start.
;  1024  quote end, delimiter or word located at line end.
;  2048  quote start is surrounded with delimiters ("Quotes:" section only).
;  4096  quote end is surrounded with delimiters ("Quotes:" section only).
;  8192  quote doesn't contain delimiters ("Quotes:" section only).
; 16384  only quote start string is catched ("Quotes:" section only).


Font:
;=================================================================
;FontStyle             FontSize              FaceName
;=================================================================
${HighLight_FontStyle} ${HighLight_FontSize} ${HighLight_FaceName}


Colors:
;=============================================================================================================================================================================================================================================================================================================================================================================================================================
;BasicTextColor             BasicBkColor              SelTextColor              SelBkColor              LineTextColor              LineBkColor              LineBorderColor              AltTextColor              AltBkColor              AltBorderColor              ColumnColor              MarkerColor              CaretColor              UrlColor              ActiveUrlColor              VisitUrlColor
;=============================================================================================================================================================================================================================================================================================================================================================================================================================
${HighLight_BasicTextColor} ${HighLight_BasicBkColor} ${HighLight_SelTextColor} ${HighLight_SelBkColor} ${HighLight_LineTextColor} ${HighLight_LineBkColor} ${HighLight_LineBorderColor} ${HighLight_AltTextColor} ${HighLight_AltBkColor} ${HighLight_AltBorderColor} ${HighLight_ColumnColor} ${HighLight_MarkerColor} ${HighLight_CaretColor} ${HighLight_UrlColor} ${HighLight_ActiveUrlColor} ${HighLight_VisitUrlColor}


BkImage:
;==================================================
;BkImageFile              BkImageAlpha
;==================================================
${HighLight_BkImageFile}  ${HighLight_BkImageAlpha}


AutoMark:
;====================================================================================================================
;AutoMarkFlags             AutoMarkFontStyle              AutoMarkTextColor              AutoMarkBkColor
;====================================================================================================================
${HighLight_AutoMarkFlags} ${HighLight_AutoMarkFontStyle} ${HighLight_AutoMarkTextColor} ${HighLight_AutoMarkBkColor}


Quotes:
;======================================================================
;Flags  Font    Color   Color   Quote   Quote   Escape  Quote   Quote
;       style   text    bkgrnd  start   end     char    include exclude
;======================================================================
;5=1+4
;272=16+256
;389=1+4+128+256      -  подсветка имён функций (обязательно указывать игнорируемые символы, например точка, чтобы не подсвечивались такое вхождение: "MapDocSort..Add")
;401=1+16+128+256     -  текст, начинающимся определённым символом, без его захвата, и до конца слова
;1549=1+4+8+512+1024
;2320=16+256+2048 
5     1  ${STR}   0   `"`   `"`   ""   ""   ""
1     1  ${COMM}  0   "'"   ""    ""   ""   ""
5     1  ${STR}   0   `{`   `}`   ""   ""   ""
;подсветка имён функций
389   1  ${OP}    0   " "   "("   ""   ""   ". "
;подсветка имён методов и свойств; правила:	"."	")",	"."	"(",	"."	".",	"."	",",	"."	" "
;401   1  ${OP}    0   "."   ""   ""   ""   ""
1549  2  #3399CC  0   ""   :      ""   ""   ""
;дополнительные словосочетания
1     1  ${COMM}  0 "Rem "            ""   ""   ""   ""
1     1  #FF00FF  0 `%REM`            ""   ""   ""   ""
1     1  #FF00FF  0 `%END REM`        ""   ""   ""   ""
;5     3	#FF00FF	0 `%REM`	`%END REM`	""	""	""
0     1  #FF00FF  0 `%If`             ""   ""   ""   ""
0     1  #FF00FF  0 `%End`            ""   ""   ""   ""
0     1  #FF00FF  0 "%INCLUDE"        ""   ""   ""   ""
2320  2  ${TYPE}  0 "Property Get"    ""   ""   ""   ""
2320  2  ${TYPE}  0 "Property Set"    ""   ""   ""   ""
2320  2  ${TYPE}  0 "End Class"       ""   ""   ""   "" 
2320  2  ${TYPE}  0 "End Property"    ""   ""   ""   ""
2320  2  ${TYPE}  0 "End Function"    ""   ""   ""   ""
2320  2  ${TYPE}  0 "End Sub"         ""   ""   ""   ""
2320  2  ${TYPE}  0 "End Type"        ""   ""   ""   ""
2320  0  ${IF}    0 "End If"          ""   ""   ""   ""
2320  0  ${IF}    0 "End Select"      ""   ""   ""   ""
2320  0  ${IF}    0 "End Forall"      ""   ""   ""   ""
2320  0  ${IF}    0 "End With"        ""   ""   ""   ""
2320  2  ${TYPE}  0 "Exit Property"   ""   ""   ""   ""
2320  2  ${TYPE}  0 "Exit Function"   ""   ""   ""   ""
2320  2  ${TYPE}  0 "Exit Sub"        ""   ""   ""   ""
2320  2  ${TYPE}  0 "Exit Do"         ""   ""   ""   ""
2320  2  ${TYPE}  0 "Public Const"    ""   ""   ""   ""
2320  0  ${TYPE}  0 "Private Const"   ""   ""   ""   ""
2320  2  #FF00FF  0 "Option Base"     ""   ""   ""   ""
2320  2  #FF00FF  0 "Option Declare"  ""   ""   ""   ""
2320  2  #FF00FF  0 "Option Public"   ""   ""   ""   ""
2320  0  #FF0000  0 "On Error"        ""   ""   ""   ""
272   2  #3399CC  0 "Goto "           ""   ""   ""   ""
272   2  #3399CC  0 "Resume "         ""   ""   ""   ""


QuotesRE:
;==========================================================================
;Flags  Pattern         \BackRef=(FontStyle,ColorText,ColorBk) \BackRef=...
;==========================================================================


Delimiters:
;======================================
;Flags	Font	 Color	Color	Char(s)
;		 style	text	 bkgrnd
;======================================
1     0  0        0  " "
1     0  0        0  "	"
1     0  0        0  (
1     0  0        0  )
1     0  0        0  {
1     0  0        0  }
1     0  ${DEL2}  0  .
1     0  0        0  ,
1     0  0        0  :
1     0  0        0  ;
1     0  ${DEL2}  0  =
1     0  ${DEL2}  0  +
1     0  ${DEL2}  0  %
1     0  ${DEL2}  0  &
1     0  ${DEL2}  0  !
1     0  ${DEL2}  0  #
1     0  ${DEL2}  0  $
1     0  ${DEL2}  0  @
1     0  0        0  |
1     0  ${DEL2}  0  -
1     0  ${DEL2}  0  *
1     0  ${DEL2}  0  <
1     0  ${DEL2}  0  >
1     0  ${DEL1}  0  ///
1     0  ${DEL1}  0  //


Words:
;===================================
;Flags	Font	 Color	Color	Word
;		 style	text	 bkgrnd
;===================================
;3=1+2 
3     0  ${NUM}   0 "0123456789"
;--Compilator directives--
0     2  ${OP}    0  Base
0     2  ${OP}    0  Declare
0     2  ${OP}    0  Explicit
0     2  ${OP}    0  NoCase
0     2  ${OP}    0  Option
0     1  ${OP}    0  Use
;--Base keywords--
0     0  ${OP}    0  ByRef
0     0  ${OP}    0  ByVal
0     1  ${OP}    0  Do
0     1  ${OP}    0  Each
0     1  ${OP}    0  For
0     1  ${OP}    0  Forall
0     1  ${OP}    0  Get
0     1  ${OP}    0  In
0     1  ${OP}    0  Loop
0     1  ${OP}    0  Next
0     1  ${OP}    0  On
0     1  ${OP}    0  Print
0     1  ${OP}    0  Step
0     1  ${OP}    0  To
0     1  ${OP}    0  Until
0     1  ${OP}    0  Wend
0     1  ${OP}    0  While
0     1  ${OP}    0  With
;--xxxBoxes--
0     2  #53C243  0  Inputbox
0     2  #53C243  0  MessageBox
0     2  #53C243  0  MsgBox
;--Conditional keywords--
0     1  ${IF}    0  Case
0     1  ${IF}    0  Else
0     1  ${IF}    0  ElseIf
0     1  ${IF}    0  If
0     1  ${IF}    0  Select
0     1  ${IF}    0  Then
;--Error handling keywords--
0     2  #FF0000  0  Erl
0     2  #FF0000  0  Err
0     2  #FF0000  0  Error
0     2  #FF0000  0  Error$
0     1  #FF0000  0  Lsi_info
;--Base commands--
0     1  ${OP}    0  Call
0     2  #FF0000  0  End
0     1  ${OP}    0  Eval
0     1  ${OP}    0  Evaluate
0     1  ${OP}    0  Execute
0     1  ${OP}    0  ExecuteGlobal
0     1  ${OP}    0  Exit
0     1  ${OP}    0  Go
0     2  #3399CC  0  GoSub
0     2  #3399CC  0  Return
0     1  #FF0000  0  Stop
;--Variables--
0     1  ${OP}    0  As
0     1  ${TYPE}  0  Dim
0     1  ${OP}    0  IsArray
0     1  ${OP}    0  IsElement
0     1  ${OP}    0  IsEmpty
;0     1  ${OP}    0  IsNull
0     1  ${OP}    0  IsObject
0     1  ${OP}    0  IsScalar
0     1  ${OP}    0  Let
0     1  ${OP}    0  TypeName
;--Types--
0     1  ${TYPE}  0  DataType
0     1  ${TYPE}  0  Boolean
0     1  ${TYPE}  0  Currency
0     0  ${TYPE}  0  Date
0     1  ${TYPE}  0  Double
0     1  ${TYPE}  0  Integer
0     1  ${TYPE}  0  List
0     1  ${TYPE}  0  Long
0     1  ${TYPE}  0  String
0     1  ${TYPE}  0  Variant
;--Structures--
0     2  ${TYPE}  0  Class
0     2  ${TYPE}  0  Function
0     2  ${TYPE}  0  Private
0     2  ${TYPE}  0  Property
0     2  ${TYPE}  0  Public
0     1  ${TYPE}  0  Static
0     2  ${TYPE}  0  Sub
0     2  ${TYPE}  0  Type
;--Objects--
0     1  #FF0000  0  Delete
0     1  ${OP}    0  Is
0     1  ${TYPE}  0  Me
0     1  ${OP}    0  New
0     1  ${OP}    0  Nothing
0     1  ${OP}    0  Set
;--Object String--
0     1  ${OP}    0  Asc
0     1  ${OP}    0  Chr
0     1  ${OP}    0  Hex
0     1  ${OP}    0  InStr
0     1  ${OP}    0  Format$
0     1  ${OP}    0  LCase
0     1  ${OP}    0  Left
0     1  ${OP}    0  Leftb
0     1  ${OP}    0  Len
0     1  ${OP}    0  LenB
0     1  ${OP}    0  Mid
0     1  ${OP}    0  Mid$
0     1  ${OP}    0  replace
0     1  ${OP}    0  Right
0     1  ${OP}    0  Split
0     1  ${OP}    0  StrCompare
0     1  ${OP}    0  StrConv
0     1  ${OP}    0  StrLeft
0     1  ${OP}    0  StrLeftBack
0     1  ${OP}    0  StrRight
0     1  ${OP}    0  StrRightBack
0     1  ${OP}    0  Time$
0     1  ${OP}    0  Trim
0     1  ${OP}    0  UCase
0     1  ${OP}    0  UChr
0     1  ${OP}    0  Uni
;--Object Array--
0     1  ${OP}    0  ArrayAppend
0     1  ${OP}    0  ArrayGetIndex
0     1  ${OP}    0  ArrayReplace
0     1  ${OP}    0  Erase
0     1  ${OP}    0  Implode
0     1  ${OP}    0  FullTrim
0     1  ${OP}    0  Join
0     1  ${OP}    0  Preserve
0     0  ${OP}    0  Redim
0     1  ${OP}    0  UBound
;--Date-Time--
0     1  ${OP}    0  DateValue
0     1  ${OP}    0  DateNumber
0     1  ${OP}    0  TimeNumber
0     1  ${OP}    0  Day
0     1  ${OP}    0  Hour
0     1  ${OP}    0  Minute
0     1  ${OP}    0  Month
0     1  ${OP}    0  Now
0     1  ${OP}    0  Second
0     1  ${OP}    0  Timer
0     1  ${OP}    0  Today
0     1  ${OP}    0  Weekday
0     1  ${OP}    0  Year
;--Bool--
0     1  ${OP}    0  And
0     1  ${OP}    0  False
0     1  ${OP}    0  Not
0     1  ${OP}    0  Or
0     1  ${OP}    0  True
0     1  ${OP}    0  Xor
;--Math--
0     0  ${OP}    0  Abs
0     0  ${OP}    0  AddressOf
0     1  ${OP}    0  Eqv
0     1  ${OP}    0  Imp
0     1  ${OP}    0  Mod
0     1  ${OP}    0  Randomize
0     1  ${OP}    0  Round
;--Type Converters--
0     1  ${OP}    0  CBool
0     1  ${OP}    0  CByte
0     1  ${OP}    0  CCur
0     1  ${OP}    0  CDate
0     1  ${OP}    0  CDbl
0     1  ${OP}    0  CInt
0     1  ${OP}    0  CLng
0     1  ${OP}    0  Const
0     1  ${OP}    0  CSng
0     1  ${OP}    0  CStr
0     1  ${OP}    0  CVar
0     1  ${OP}    0  Int
0     1  ${OP}    0  Str
0     1  ${OP}    0  Val
;--FS--
0     1  ${OP}    0  Append
0     1  ${OP}    0  Binary
0     1  ${OP}    0  Charset
0     1  ${OP}    0  Close
0     1  ${OP}    0  Dir
0     1  ${OP}    0  EOF
0     1  ${OP}    0  FileCopy
0     1  ${OP}    0  FileLen
0     1  ${OP}    0  FreeFile
0     1  ${OP}    0  GetFileAttr
0     1  ${OP}    0  Input
0     1  ${OP}    0  Kill
0     1  ${OP}    0  Lock
0     1  ${OP}    0  LOF
0     1  ${OP}    0  Name
0     1  ${OP}    0  Open
0     1  ${OP}    0  Output
0     1  ${OP}    0  Put
0     1  ${OP}    0  Random
0     1  ${OP}    0  Read
0     1  ${OP}    0  RmDir
0     1  ${OP}    0  Seek
0     1  ${OP}    0  SetFileAttr
0     1  ${OP}    0  Shared
0     1  ${OP}    0  Write
;--App--
0     1  ${OP}    0  ActivateApp
0     1  ${OP}    0  AppActivate
0     1  ${OP}    0  Environ
0     1  ${OP}    0  Shell
0     1  ${OP}    0  Shellid
0     1  ${OP}    0  Yield


;----------------------------------------------;
;                   CodeFold                   ;
;----------------------------------------------;

;Flags (sum of the members)
;      1  case sensitive.
;      2  force get fold name for function list from left at the fold start ("Folds:" section only).
;      4  force get fold name for function list from right at the fold start, including fold start ("Folds:" section only).
;      8  fold start located at line start ("Folds:" section only).
;     16  fold start located at line end ("Folds:" section only).
;     32  fold end located at line start ("Folds:" section only).
;     64  fold end located at line end ("Folds:" section only).
;    128  don't catch fold end ("Folds:" section) or skip end ("Skips:" section).
;    256  additional to 128 flag - more priority is given to sibling level instead of parent level ("Folds:" section only).
;    512  comment fold - fold ignore any other folds and skips inside ("Folds:" section only).
;   1024  reserved.
;   2048  deny fold - founded fold will be ignored ("Folds:" section only).
;   4096  xml fold - "<tag" and "</tag>", "<single" and "/>", "<single" and ">" ("Folds:" section only).
;   8192  don't check delimiters from left of fold start ("Folds:" section only).
;  16384  don't check delimiters from right of fold start ("Folds:" section only).
;  32768  don't check delimiters from left of fold end ("Folds:" section only).
;  65536  don't check delimiters from right of fold end ("Folds:" section only).
; 131072  deny delimiters ("Folds:" section only).
FoldPanel:
;=================================================================================================================================================================================================================================================================================================================================================================================================================================================================
;PanelFirstBkColor            PanelSecondBkColor             PanelNormalFoldColor             PanelActiveFoldColor             PanelNormalNodeOpenBkColor             PanelNormalNodeCloseBkColor             PanelActiveNodeOpenBkColor             PanelActiveNodeCloseBkColor             PanelNormalNodeOpenSignColor             PanelNormalNodeCloseSignColor             PanelActiveNodeOpenSignColor             PanelActiveNodeCloseSignColor
;=================================================================================================================================================================================================================================================================================================================================================================================================================================================================
${CodeFold_PanelFirstBkColor} ${CodeFold_PanelSecondBkColor} ${CodeFold_PanelNormalFoldColor} ${CodeFold_PanelActiveFoldColor} ${CodeFold_PanelNormalNodeOpenBkColor} ${CodeFold_PanelNormalNodeCloseBkColor} ${CodeFold_PanelActiveNodeOpenBkColor} ${CodeFold_PanelActiveNodeCloseBkColor} ${CodeFold_PanelNormalNodeOpenSignColor} ${CodeFold_PanelNormalNodeCloseSignColor} ${CodeFold_PanelActiveNodeOpenSignColor} ${CodeFold_PanelActiveNodeCloseSignColor}


FoldList:
;================================================
;ListTextColor            ListBkColor
;================================================
${CodeFold_ListTextColor} ${CodeFold_ListBkColor}


TagMark:
;============================================================================================================
;TagMarkFlags            TagMarkFontStyle             TagMarkTextColor             TagMarkBkColor
;============================================================================================================
${CodeFold_TagMarkFlags} ${CodeFold_TagMarkFontStyle} ${CodeFold_TagMarkTextColor} ${CodeFold_TagMarkBkColor}


Skips:
;=====================================
;Flags  Skip            Skip    Escape
;       start           end     char
;=====================================
1  `"`               `"`  ""
1  "'"               ""   ""
1  "Exit Function"   ""   ""
1  "Exit Sub"        ""   ""


Folds:
;=====================================================================
;Flags  Font    Color   Color   Fold        Fold            Delimiters
;       style   text    bkgrnd  start       end
;=====================================================================
;40=8+32
;512=512
0     0  0        0  "Sub"       "End Sub"       "	"
0     0  0        0  "Function"  "End Function"  "	"
40    0  0        0  "Class"     "End Class"     "	"
40    0  0        0  "For"       "Next"          "	"
40    0  0        0  "Do"        "Loop"          "	"
40    0  0        0  "With"      "End With"      "	"
512   3  #FF00FF  0  "%REM"      "%END REM"      ""


;----------------------------------------------;
;                 AutoComplete                 ;
;----------------------------------------------;

Blocks:
;======================================================================
;Abbreviations and blocks
;
; $~abbr   normal abbreviation.
; $=abbr   exact abbreviation. May contain delimiters.
; $[]      set caret to this position. Can be multiple (hot spots).
; $[text]  select text. Can be multiple (hot spots).
; $$       symbol $.
; $\]      escape symbol ]. Can be used in $[text] block: $[One [1$\] ].
; ${VAR}   variable assigned from Coder::Settings.
; $;       comment line.
;======================================================================
$~With
With $[]
${AutoComplete_Indent}$[]
End With

$~AsBool
As Boolean$[]

$~AsDbl
As Double$[]

$~AsLng
As Long$[]

$~AsInt
As Integer$[]

$~AsStr
As String$[]

$~AsVar
As Variant$[]

$~AsND
As NotesDocument

$~AsNDB
As NotesDatabase

$~AsNDC
As NotesDocumentCollection

$~Const_DBA
Const DBA_$[] = "$[]"

$~Const_IN
Const IN_$[] = "$[]"

$~Const_IT
Const IT_$[] = "$[]"

$~Const_MSGT
Const MSGT_$[] = "$[]"

$~Const_MSGP
Const MSGP_$[] = "$[]"

$~DimBool
Dim $[] As Boolean

$~DimDbl
Dim $[] As Double

$~DimLng
Dim $[] As Long

$~DimInt
Dim $[] As Integer

$~DimStr
Dim $[] As String

$~DimND
Dim nd$[] As NotesDocument

$~DimNDB
Dim ndb$[] As NotesDatabase

$~DimNDC
Dim ndc$[] As NotesDocumentCollection

$~DimNS_Set
Dim ns As New NotesSession

$~DimNUIWS_Set
Dim nuiws As New NotesUIWorkSpace

$~IsArray
IsArray($[])

$~IsElement
IsElement($[])

$~IsEmpty
IsEmpty($[])

$~IsNull
IsNull($[])

$~IsObject
IsObject($[])

$~IsScalar
IsScalar($[])

$~IsNothing
If $[] Is Nothing Then 

$~If
If $[] Then

$~If-End_If
If $[] Then
${AutoComplete_Indent}$[]
End If

$~If-Else
If $[] Then
${AutoComplete_Indent}$[]
Else
${AutoComplete_Indent}$[]
End If

$~Then
Then
${AutoComplete_Indent}$[]
End If

$~For
For i% = 0 To $[]
${AutoComplete_Indent}$[]
Next

$~For-Step
For i% = 0 To $[] Step
${AutoComplete_Indent}$[]
Next

$~DoLoop_While
Set nd = ndc.GetFirstDocument
Do
${AutoComplete_Indent}$[]
${AutoComplete_Indent}
${AutoComplete_Indent}Set nd = ndc.GetNextDocument(nd)
Loop While Not nd Is Nothing

$~Select
Select Case $[]
Case $[]:
${AutoComplete_Indent}$[]
Case Else
${AutoComplete_Indent}$[]
End Select

$~Sub
Sub $[subName]()
${AutoComplete_Indent}$[]
End Sub

$~Function
Function $[functionName]()
${AutoComplete_Indent}$[]
End Function

$~Class
Class $[className] As $[]
${AutoComplete_Indent}
${AutoComplete_Indent}Sub New()
${AutoComplete_Indent}${AutoComplete_Indent}$[]
${AutoComplete_Indent}End Sub
${AutoComplete_Indent}
End Class

$~Property_Get
Property Get $[name] 
${AutoComplete_Indent}Me.$[] = Me.$[]
End Property

$~Property_Set
Property Set $[name] 
${AutoComplete_Indent}Me.$[] = Me.$[]
End Property

$~GoSub
${AutoComplete_Indent}Exit Sub
${AutoComplete_Indent}
$[]:
${AutoComplete_Indent}
${AutoComplete_Indent}Return

$~On_Error
On Error GoTo ErrH
${AutoComplete_Indent}
${AutoComplete_Indent}
${AutoComplete_Indent}Exit Sub
${AutoComplete_Indent}
ErrH:
${AutoComplete_Indent}$[Print] Error$ & " (" & Err & "), in line " & Erl
${AutoComplete_Indent}Exit Sub

$~Exit_Function
Exit Function$[]

$~Exit_Sub
Exit Sub$[]

$~Exit_Property
Exit Property$[]

$~Exit_Do
Exit Do$[]

$~Exit_For
Exit For$[]

$~Messagebox
Messagebox "$[text]", 64, "$[Title]"

$~Description_Function
%REM
${AutoComplete_Indent}Function $[]
${AutoComplete_Indent}Description: $[]
%END REM

$~Description_Sub
%REM
${AutoComplete_Indent}Sub $[]
${AutoComplete_Indent}Description: $[]
%END REM

$~Description_Class
%REM
${AutoComplete_Indent}Class $[]
${AutoComplete_Indent}Description: $[]
%END REM

$~Description_Property
%REM
${AutoComplete_Indent}Function $[]
${AutoComplete_Indent}Description: $[]
%END REM

$~Description_Library
%REM
${AutoComplete_Indent}Library $[]
${AutoComplete_Indent}Description: $[]
%END REM

$~Description_Agent
%REM
${AutoComplete_Indent}Agent $[]
${AutoComplete_Indent}Description: $[]
%END REM

$~REM-END_REM
%REM
${AutoComplete_Indent}$[]
%END REM

$~SetNUIWS
Set nuiws$[] = New NotesUIWorkSpace

$~CreateDocument
Set nd$[] = ndb$[].CreateDocument

$~GetFirstDocument
Set nd$[] = ndc$[].GetFirstDocument

$~GetNextDocument
Set nd$[] = ndc$[].GetNextDocument

$~GetNthDocument
Set nd$[] = ndc$[].GetNthDocument($[i])

$~GetDocumentByUNID
Set nd$[] = ndb$[].GetDocumentByUNID($[unid$])

$~UnprocessedDocuments
Set ndc$[] = ndb$[].UnprocessedDocuments

$~Search
Set ndc$[] = ndb$[].Search($[formula$], $[Nothing], 0)

$~GetAllDocumentsByKey
Set ndc$[] = nv$[].GetAllDocumentsByKey($[keyArray], True)

$~GetItemValue
GetItemValue($[])

$~ReplaceItemValue
ReplaceItemValue($[])

$~Use
Use "$[]"


Code: Select all

; bbc (VladSh)
; http://akelpad.sourceforge.net/forum/viewtopic.php?p=7983#p7983
; Version of 2012.08.21
;----------------------------------------------;
;           Coder plugin syntax file           ;
;----------------------------------------------;

;Colors
; Color need to be in #RRGGBB format.
; If color equal to zero, then color ignored.
;
;Font styles
; 0  ignored.
; 1  normal.
; 2  bold.
; 3  italic.
; 4  bold italic.
;
;For comfort file viewing/editing set tab size to 8 or higher.


Files:
;==========
;File types
;==========
*.bbc


;----------------------------------------------;
;                  HighLight                   ;
;----------------------------------------------;

;Flags (sum of the members)
;     1  case sensitive.
;     2  word is a composition of characters ("Words:" section only). Example: "0123456789" - highlight words that contain only digits.
;     4  quote end required ("Quotes:" section only).
;     8  quote start string is ignored and last meet delimiter used as quote start ("Quotes:" section only).
;    16  quote end string is ignored and first meet delimiter used as quote end ("Quotes:" section only).
;    32  don't highlight quote start ("Quotes:" section only).
;    64  don't highlight quote end ("Quotes:" section only).
;   128  don't catch and don't highlight quote start ("Quotes:" section only).
;   256  don't catch and don't highlight quote end ("Quotes:" section only).
;   512  quote start, delimiter or word located at line start.
;  1024  quote end, delimiter or word located at line end.
;  2048  quote start is surrounded with delimiters ("Quotes:" section only).
;  4096  quote end is surrounded with delimiters ("Quotes:" section only).
;  8192  quote doesn't contain delimiters ("Quotes:" section only).
; 16384  only quote start string is catched ("Quotes:" section only).


Font:
;=================================================================
;FontStyle             FontSize              FaceName
;=================================================================
${HighLight_FontStyle} ${HighLight_FontSize} ${HighLight_FaceName}


Colors:
;=============================================================================================================================================================================================================================================================================================================================================================================================================================
;BasicTextColor             BasicBkColor              SelTextColor              SelBkColor              LineTextColor              LineBkColor              LineBorderColor              AltTextColor              AltBkColor              AltBorderColor              ColumnColor              MarkerColor              CaretColor              UrlColor              ActiveUrlColor              VisitUrlColor
;=============================================================================================================================================================================================================================================================================================================================================================================================================================
${HighLight_BasicTextColor} ${HighLight_BasicBkColor} ${HighLight_SelTextColor} ${HighLight_SelBkColor} ${HighLight_LineTextColor} ${HighLight_LineBkColor} ${HighLight_LineBorderColor} ${HighLight_AltTextColor} ${HighLight_AltBkColor} ${HighLight_AltBorderColor} ${HighLight_ColumnColor} ${HighLight_MarkerColor} ${HighLight_CaretColor} ${HighLight_UrlColor} ${HighLight_ActiveUrlColor} ${HighLight_VisitUrlColor}


BkImage:
;==================================================
;BkImageFile              BkImageAlpha
;==================================================
${HighLight_BkImageFile}  ${HighLight_BkImageAlpha}


AutoMark:
;====================================================================================================================
;AutoMarkFlags             AutoMarkFontStyle              AutoMarkTextColor              AutoMarkBkColor
;====================================================================================================================
${HighLight_AutoMarkFlags} ${HighLight_AutoMarkFontStyle} ${HighLight_AutoMarkTextColor} ${HighLight_AutoMarkBkColor}


Quotes:
;======================================================================
;Flags  Font    Color   Color   Quote   Quote   Escape  Quote   Quote
;       style   text    bkgrnd  start   end     char    include exclude
;======================================================================
; 5=1+4 
; 405=1+4+16+128+256
; 12420=4+128+4096+8192
5   3   ${STR}   0   `"`   `"`   "\"   ""   ""
5	3	${STR}	0	`"`	`"`           ""	""	""
5	3	${STR}	0	"'"	"'"            ""	""	""
405	0	${STR}	0	"="	""          ""	""	""
12420	0	${TAG}	0	"[/"	"b"  ""	""	""
12420	0	${TAG}	0	"["	"b"  ""	""	""
12420	0	${TAG}	0	"[/"	"u"  ""	""	""
12420	0	${TAG}	0	"["	"u"  ""	""	""
12420	0	${TAG}	0	"[/"	"i"  ""	""	""
12420	0	${TAG}	0	"["	"i"  ""	""	""
12420	0	${TAG}	0	"[/"	"color"  ""	""	""
12420	0	${TAG}	0	"["	"color"  ""	""	""
12420	0	${TAG}	0	"[/"	"size"  ""	""	""
12420	0	${TAG}	0	"["	"size"  ""	""	""
12420	0	${TAG}	0	"[/"	"quote"  ""	""	""
12420	0	${TAG}	0	"["	"quote"  ""	""	""
12420	0	${TAG}	0	"[/"	"code"  ""	""	""
12420	0	${TAG}	0	"["	"code"  ""	""	""
12420	0	${TAG}	0	"[/"	"list"  ""	""	""
12420	0	${TAG}	0	"["	"list"  ""	""	""
12420	0	${TAG}	0	"[/"	"url"  ""	""	""
12420	0	${TAG}	0	"["	"url"  ""	""	""
12420	0	${TAG}	0	"[/"	"img"  ""	""	""
12420	0	${TAG}	0	"["	"img"  ""	""	""
12420	0	${TAG}	0	"[/"	"more"  ""	""	""
12420	0	${TAG}	0	"["	"more"  ""	""	""


QuotesRE:
;==========================================================================
;Flags  Pattern         \BackRef=(FontStyle,ColorText,ColorBk) \BackRef=...
;==========================================================================


Delimiters:
;======================================
;Flags	Font	 Color	Color	Char(s)
;		 style	text	 bkgrnd
;======================================
1	0	0	0	" "
1	0	0	0	"	"
1	0	0	0	`"`
1	0	0	0	"'"
1	0	${TAG}	0	[/
1	0	${TAG}	0	/]
1	0	${TAG}	0	[
1	0	${TAG}	0	]
1	0	${DEL2}	0	=


;===================================
;Flags  Font    Color   Color   Word
;       style   text    bkgrnd
;===================================
Words:



;----------------------------------------------;
;                   CodeFold                   ;
;----------------------------------------------;

;Flags (sum of the members)
;    1  case sensitive.
;    2  force get fold name for function list from left at the fold start ("Folds:" section only).
;    4  force get fold name for function list from right at the fold start, including fold start ("Folds:" section only).
;    8  fold start located at line start ("Folds:" section only).
;   16  fold start located at line end ("Folds:" section only).
;   32  fold end located at line start ("Folds:" section only).
;   64  fold end located at line end ("Folds:" section only).
;  128  don't catch quote end ("Folds:" section only).
;  256  additional to 128 flag - more priority is given to sibling level instead of parent level ("Folds:" section only).
;  512  comment fold - fold ignore any other folds and skips inside ("Folds:" section only).
; 1024  reserved.
; 2048  deny fold - founded fold will be ignored ("Folds:" section only).
; 4096  xml fold - "<tag" and "</tag>", "<single" and "/>", "<single" and ">" ("Folds:" section only).


FoldPanel:
;=================================================================================================================================================================================================================================================================================================================================================================================================================================================================
;PanelFirstBkColor            PanelSecondBkColor             PanelNormalFoldColor             PanelActiveFoldColor             PanelNormalNodeOpenBkColor             PanelNormalNodeCloseBkColor             PanelActiveNodeOpenBkColor             PanelActiveNodeCloseBkColor             PanelNormalNodeOpenSignColor             PanelNormalNodeCloseSignColor             PanelActiveNodeOpenSignColor             PanelActiveNodeCloseSignColor
;=================================================================================================================================================================================================================================================================================================================================================================================================================================================================
${CodeFold_PanelFirstBkColor} ${CodeFold_PanelSecondBkColor} ${CodeFold_PanelNormalFoldColor} ${CodeFold_PanelActiveFoldColor} ${CodeFold_PanelNormalNodeOpenBkColor} ${CodeFold_PanelNormalNodeCloseBkColor} ${CodeFold_PanelActiveNodeOpenBkColor} ${CodeFold_PanelActiveNodeCloseBkColor} ${CodeFold_PanelNormalNodeOpenSignColor} ${CodeFold_PanelNormalNodeCloseSignColor} ${CodeFold_PanelActiveNodeOpenSignColor} ${CodeFold_PanelActiveNodeCloseSignColor}


TagMark:
;============================================================================================================
;TagMarkFlags            TagMarkFontStyle             TagMarkTextColor             TagMarkBkColor
;============================================================================================================
${CodeFold_TagMarkFlags} ${CodeFold_TagMarkFontStyle} ${CodeFold_TagMarkTextColor} ${CodeFold_TagMarkBkColor}


Skips:
;=====================================
;Flags  Skip            Skip    Escape
;       start           end     char
;=====================================


Folds:
;=====================================================================
;Flags  Font    Color   Color   Fold        Fold            Delimiters
;       style   text    bkgrnd  start       end
;=====================================================================


;----------------------------------------------;
;                 AutoComplete                 ;
;----------------------------------------------;

Blocks:
;======================================================================
;Abbreviations and blocks
;
; $~abbr   normal abbreviation.
; $=abbr   exact abbreviation. May contain delimiters.
; $[]      set caret to this position. Can be multiple (hot spots).
; $[text]  select text. Can be multiple (hot spots).
; $$       symbol $.
; $\]      escape symbol ]. Can be used in $[text] block: $[One [1$\].
; ${VAR}   variable assigned from Coder::Settings.
; $;       comment line.
;======================================================================
; Цвета
$~color-t-тёмно-коричневый
darkred

$~color-t-красный
red

$~color-t-оранжевый
orange

$~color-t-коричневый
brown

$~color-t-жёлтый
yellow

$~color-t-зелёный
green

$~color-t-оливковый
olive

$~color-t-голубой
cyan

$~color-t-синий
blue

$~color-t-тёмно-синий
darkblue

$~color-t-индиго
indigo

$~color-t-фиолетовый
violet

$~color-t-белый
white

$~color-t-чёрный
white


Code: Select all

; fb2 (VladSh)
; http://akelpad.sourceforge.net/forum/viewtopic.php?p=7983#p7983
; Version of 2012.08.21
;----------------------------------------------;
;           Coder plugin syntax file           ;
;----------------------------------------------;

;Colors
; Color need to be in #RRGGBB format.
; If color equal to zero, then color ignored.
;
;Font styles
; 0  ignored.
; 1  normal.
; 2  bold.
; 3  italic.
; 4  bold italic.
;
;For comfort file viewing/editing set tab size to 8 or higher.


Files:
;==========
;File types
;==========
*.fb2


;----------------------------------------------;
;                  HighLight                   ;
;----------------------------------------------;

;Flags (sum of the members)
;     1  case sensitive.
;     2  word is a composition of characters ("Words:" section only). Example: "0123456789" - highlight words that contain only digits.
;     4  quote end required ("Quotes:" section only).
;     8  quote start string is ignored and last meet delimiter used as quote start ("Quotes:" section only).
;    16  quote end string is ignored and first meet delimiter used as quote end ("Quotes:" section only).
;    32  don't highlight quote start ("Quotes:" section only).
;    64  don't highlight quote end ("Quotes:" section only).
;   128  don't catch and don't highlight quote start ("Quotes:" section only).
;   256  don't catch and don't highlight quote end ("Quotes:" section only).
;   512  quote start, delimiter or word located at line start.
;  1024  quote end, delimiter or word located at line end.
;  2048  quote start is surrounded with delimiters ("Quotes:" section only).
;  4096  quote end is surrounded with delimiters ("Quotes:" section only).
;  8192  quote doesn't contain delimiters ("Quotes:" section only).
; 16384  only quote start string is catched ("Quotes:" section only).


Font:
;=================================================================
;FontStyle             FontSize              FaceName
;=================================================================
${HighLight_FontStyle} ${HighLight_FontSize} ${HighLight_FaceName}


Colors:
;=============================================================================================================================================================================================================================================================================================================================================================================================================================
;BasicTextColor             BasicBkColor              SelTextColor              SelBkColor              LineTextColor              LineBkColor              LineBorderColor              AltTextColor              AltBkColor              AltBorderColor              ColumnColor              MarkerColor              CaretColor              UrlColor              ActiveUrlColor              VisitUrlColor
;=============================================================================================================================================================================================================================================================================================================================================================================================================================
${HighLight_BasicTextColor} ${HighLight_BasicBkColor} ${HighLight_SelTextColor} ${HighLight_SelBkColor} ${HighLight_LineTextColor} ${HighLight_LineBkColor} ${HighLight_LineBorderColor} ${HighLight_AltTextColor} ${HighLight_AltBkColor} ${HighLight_AltBorderColor} ${HighLight_ColumnColor} ${HighLight_MarkerColor} ${HighLight_CaretColor} ${HighLight_UrlColor} ${HighLight_ActiveUrlColor} ${HighLight_VisitUrlColor}


BkImage:
;==================================================
;BkImageFile              BkImageAlpha
;==================================================
${HighLight_BkImageFile}  ${HighLight_BkImageAlpha}


AutoMark:
;====================================================================================================================
;AutoMarkFlags             AutoMarkFontStyle              AutoMarkTextColor              AutoMarkBkColor
;====================================================================================================================
${HighLight_AutoMarkFlags} ${HighLight_AutoMarkFontStyle} ${HighLight_AutoMarkTextColor} ${HighLight_AutoMarkBkColor}


Quotes:
;======================================================================
;Flags  Font    Color   Color   Quote   Quote   Escape  Quote   Quote
;       style   text    bkgrnd  start   end     char    include exclude
;======================================================================
;5=1+4
;389=1+4+128+256
;397=1+4+8+128+256
;401=1+16+128+256
;12420=4+128+4096+8192
5	3	${STR}	0	`"`	`"`	""	""	""
5	3	${STR}	0	"'"	"'"	""	""	""
5	3	${COMM}	0	"<!--"	"-->"	""	""	""
12420	2	${OP}	0	"</"	"FictionBook"              ""	""	""
12420	2	${OP}	0	"<"	"FictionBook"              ""	""	""
12420	2	${OP}	0	"</"	"description"              ""	""	""
12420	2	${OP}	0	"<"	"description"              ""	""	""
12420	2	${OP}	0	"</"	"body"              ""	""	""
12420	2	${OP}	0	"<"	"body"              ""	""	""
12420	3	${OP}	0	"</"	"title-info"              ""	""	""
12420	3	${OP}	0	"<"	"title-info"              ""	""	""
12420	3	${OP}	0	"</"	"document-info"              ""	""	""
12420	3	${OP}	0	"<"	"document-info"              ""	""	""
12420	3	${OP}	0	"</"	"publish-info"              ""	""	""
12420	3	${OP}	0	"<"	"publish-info"              ""	""	""
12420	0	${OP}	0	"</"	"section"              ""	""	""
12420	0	${OP}	0	"<"	"section"              ""	""	""
12420	3	${OP}	0	"</"	"title"              ""	""	""
12420	3	${OP}	0	"<"	"title"              ""	""	""
12420	3	${NUM}	0	"</"	"empty-line"              ""	""	""
12420	3	${NUM}	0	"<"	"empty-line"              ""	""	""
389	0	${TAG}	0	"</"	">"	""	""	""
401	0	${TAG}	0	"<"	""	""	""	""
397	0	${ATTR}	0	""	"="	""	""	""
401	0	${STR}	0	"="	""	""	""	""


QuotesRE:
;==========================================================================
;Flags  Pattern         \BackRef=(FontStyle,ColorText,ColorBk) \BackRef=...
;==========================================================================


Delimiters:
;======================================
;Flags  Font    Color   Color   Char(s)
;       style   text    bkgrnd
;======================================
1	0	0	0	" "
1	0	0	0	"	"
1	0	0	0	`"`
1	0	${DEL1}	0	</
1	0	${DEL1}	0	/>
1	0	${DEL1}	0	<
1	0	${DEL1}	0	>
1	0	${DEL2}	0	=


Words:
;===================================
;Flags  Font    Color   Color   Word
;       style   text    bkgrnd
;===================================


;----------------------------------------------;
;                   CodeFold                   ;
;----------------------------------------------;

;Flags (sum of the members)
;      1  case sensitive.
;      2  force get fold name for function list from left at the fold start ("Folds:" section only).
;      4  force get fold name for function list from right at the fold start, including fold start ("Folds:" section only).
;      8  fold start located at line start ("Folds:" section only).
;     16  fold start located at line end ("Folds:" section only).
;     32  fold end located at line start ("Folds:" section only).
;     64  fold end located at line end ("Folds:" section only).
;    128  don't catch fold end ("Folds:" section) or skip end ("Skips:" section).
;    256  additional to 128 flag - more priority is given to sibling level instead of parent level ("Folds:" section only).
;    512  comment fold - fold ignore any other folds and skips inside ("Folds:" section only).
;   1024  reserved.
;   2048  deny fold - founded fold will be ignored ("Folds:" section only).
;   4096  xml fold - "<tag" and "</tag>", "<single" and "/>", "<single" and ">" ("Folds:" section only).
;   8192  don't check delimiters from left of fold start ("Folds:" section only).
;  16384  don't check delimiters from right of fold start ("Folds:" section only).
;  32768  don't check delimiters from left of fold end ("Folds:" section only).
;  65536  don't check delimiters from right of fold end ("Folds:" section only).
; 131072  deny delimiters ("Folds:" section only).


FoldPanel:
;==========================================================================================================================================================================================================================================================================================
Last edited by VladSh on Thu Aug 23, 2012 10:13 pm, edited 19 times in total.

Offline
Posts: 3217
Joined: Wed Nov 29, 2006 1:19 pm
Location: Киев, Русь
Contact:

Post by VladSh »

Несколько предложений.

1. Добавить к

Code: Select all

Abbreviations and blocks:
$ ...
символ перевода строки (добавлять его в конце вставляемого выражения), т.к. это иногда бывает полезно - удобнее просто делать соскок вниз с помощью стрелки Down, чем жать End, а затем Enter.


2. Сделать возможность вывода нескольких вариантов, а не отображать всё.
Допустим я набрал

Code: Select all

as
должен вывалиться список:
Boolean
Integer
Long
...
а не всё подряд.
Увеличение количества вариантов в окошке должно происходить при стирании букв с помощью Backspace.

Если это реализовать, то можно было бы как-то настроить вывод "методов" после точки.


3. Добавить возможность задавать количество вставок с помощью *N после набранной аббревиатуры (пример se7h на li). Это удобно не только для HTML, во многих языках встречается необходимость множественной вставки однотипного текста.


4. Просьба включить в документацию возможность вызова окошка вручную по команде

Code: Select all

Coder::AutoComplete::WithList

Offline
Posts: 2247
Joined: Tue Aug 07, 2007 2:03 pm
Location: Vinnitsa, Ukraine

Post by FeyFre »

Если это реализовать, то можно было бы как-то настроить вывод "методов" после точки.
В общем случае это практически не возможно, в частных - очень некачественно.
Для такое фичи нужен интерпретатор/компилятор того что редактируют. Естественно подзадача не то что не простая, а вообще отдельная. Потому этим в 99% случаев занимаются только IDE, которые для этих целей реализуют полновесный парсер языков с которыми они работают.
Так что не думаю что нам стоит это ожидать.(Разве что Инструктор выделит эту функциональность как плагин к плагину Coder, а желающие/имеющие возможность реализуют всё что требуется.)

Offline
Posts: 3217
Joined: Wed Nov 29, 2006 1:19 pm
Location: Киев, Русь
Contact:

Post by VladSh »

FeyFre
Если добавить функциональность "скрывать несоответствующие" (как я показал на примере "as"), то что-то можно было бы сделать. Но это побочная возможность.. главное - иметь возможность видеть только то, что набираешь, т.е. именно нужные варианты.

Offline
Posts: 98
Joined: Thu Jul 03, 2008 7:23 pm

Post by Tony »

Следует удалить несколько функций из php.coder, так как с выходом новой версией они не используются больше. Более подробная информация: http://php.su/php/?migration53

Offline
Posts: 2247
Joined: Tue Aug 07, 2007 2:03 pm
Location: Vinnitsa, Ukraine

Post by FeyFre »

Tony
Не следует, так как у php две стабильные ветки пока: php 5.2.x и php 5.3.x
В 5.2.х она используется.
Кроме того: "Устаревший" не означает "больше не используется". А "больше не используются" не означает что они "больше не существуют".
(

AkelPad компилируется компиляторами эквивалентного Microsoft Visual Studio 7.1 (2003), хоть оно считается устаревшим а самым новой есть Microsoft Visual Studio 10 (2010). И я Вам гарантирую что даже Microsoft Visual Studio 6.0 будет ещё использоваться 10 лет. И тем не менее это не повод считать что файлы с расширениями dsw dsp можно выкрасить и выбросить
)
Они существуют и работают и есть частью языка. Потому никакой речи об удалении не может идти.

Если Вы пользуетесь веткой 6, которой не существует, то Вам лучше самостоятельно подредактировать эти файлы, ибо ждать ещё года 3 пока ветка 5.х не будет вытеснена 6 т.е. 5.х больше не будет использоваться, и соотв. не будут использовать эти функции, а до этого их будут использовать.

Offline
Posts: 767
Joined: Mon Sep 28, 2009 10:03 am
Location: Minsk, Belarus

Post by se7h »

VladSh wrote:2. Сделать возможность вывода нескольких вариантов, а не отображать всё.
ты об этом?
VladSh wrote:3. Добавить возможность задавать количество вставок с помощью *N после набранной аббревиатуры (пример se7h на li). Это удобно не только для HTML, во многих языках встречается необходимость множественной вставки однотипного текста.
и ещё, помимо умножения, из Zen Coding можно позаимствовать сложение:

Code: Select all

p+div
раскрывается в

Code: Select all

<p></p>
<div></div>

Code: Select all

if+if+do
в

Code: Select all

if ()
{
  
}
if ()
{
  
}
do
{
  
}
while ();
и вложение (для этого нужно будет ввести новую метку в .coder, которая была бы одновременно и hotspot для прыжков курсора и точкой вложения):

Code: Select all

head>link
в

Code: Select all

<head>
    <link/>
</head>

Code: Select all

for>if
превратится в:

Code: Select all

for (; ; )
{
  if ()
    {
      
    }
}
и эти методы можно комбинировать как Вам вздумается...

Offline
Posts: 2247
Joined: Tue Aug 07, 2007 2:03 pm
Location: Vinnitsa, Ukraine

Post by FeyFre »

Ребят, если Вы так хотите Zen Coding, то пишите плагин для специально для него. Не стоит в одну кучу всобачивать всё подряд. Ибо если функциональность складывается,, то количество ошибок при этом перемножаются.

Offline
Posts: 767
Joined: Mon Sep 28, 2009 10:03 am
Location: Minsk, Belarus

Post by se7h »

FeyFre
перебор это или улучшение - вопрос спорный

поэтому данные возможности можно сделать отключаемыми в настройках и тогда никто не пострадает, и волки сыты и овцы целы 8)
Locked