Подробнее о Coder::Highlight

Russian main discussion
Post Reply
  • Author
  • Message
Offline
Posts: 7
Joined: Thu Feb 03, 2011 5:35 pm

Подробнее о Coder::Highlight

Post by Infernal »

Снова всем здрасте)) Сразу к делу.
Я перешел с одной игры на другую. Скрипты похожи, а вот сами их редакторы - в корне. На помощь, разумеется, приходит этот плагин. Но одна беда. Есть ли русифицированный фаил-пример для написания своего кодового фаила? В частности, я не пойму только три вещи в плагине:
1) Флаги самой подсветки...

;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).

2) Флаги разворачивания..

;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).

3) Назначения цветов...

Ну, не пойму я некоторые цвета..
Вот, к примеру:
${STR} - строковой параметр
${COMM} - коменнтарий
${IF} - видимо, для операторов проверки (если)

А вот ${DEL1}, ${ATTR}, ${AREA}, ${NUM}, ${VAR}, ${DEL2}, ${TYPE}, ${OP}, ${TAG}...
За что отвечают они?


Заранее спасибо))) Просьба в одном - не писать про гугл (т.к в нем я-т о и не нашел).

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

Post by VladSh »

У меня те же вопросы.
В идеале хочется, чтобы это было расписано в txt'эшнике Coder'а.

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »


Offline
Posts: 366
Joined: Mon Jan 10, 2011 5:28 pm
Contact:

Post by Lenchik »

http://akelpad.sourceforge.net/files/pl ... -rus.coder

А здесь немного уже неактуальный, но переведённый на русский файл раскраски.

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

Post by VladSh »

Там же и ответ.
Post Reply