AkelPad Forum Index AkelPad
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

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

 
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (Russian)
View previous topic :: View next topic  
Author Message
Infernal



Joined: 03 Feb 2011
Posts: 7

PostPosted: Mon Feb 21, 2011 11:54 am    Post subject: Подробнее о Coder::Highlight Reply with quote

Снова всем здрасте)) Сразу к делу.
Я перешел с одной игры на другую. Скрипты похожи, а вот сами их редакторы - в корне. На помощь, разумеется, приходит этот плагин. Но одна беда. Есть ли русифицированный фаил-пример для написания своего кодового фаила? В частности, я не пойму только три вещи в плагине:
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}...
За что отвечают они?


Заранее спасибо))) Просьба в одном - не писать про гугл (т.к в нем я-т о и не нашел).
Back to top
View user's profile Send private message
VladSh



Joined: 29 Nov 2006
Posts: 2584
Location: Киев, Русь

PostPosted: Mon Feb 21, 2011 11:59 am    Post subject: Reply with quote

У меня те же вопросы.
В идеале хочется, чтобы это было расписано в txt'эшнике Coder'а.
Back to top
View user's profile Send private message Visit poster's website
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5174

PostPosted: Mon Feb 21, 2011 3:31 pm    Post subject: Reply with quote

http://akelpad.sourceforge.net/forum/viewtopic.php?p=11171#11171
Back to top
View user's profile Send private message Send e-mail
Lenchik



Joined: 10 Jan 2011
Posts: 214

PostPosted: Mon Feb 21, 2011 4:08 pm    Post subject: Reply with quote

http://akelpad.sourceforge.net/files/plugs/Coder/cpp-rus.coder

А здесь немного уже неактуальный, но переведённый на русский файл раскраски.
Back to top
View user's profile Send private message Visit poster's website
VladSh



Joined: 29 Nov 2006
Posts: 2584
Location: Киев, Русь

PostPosted: Mon Feb 21, 2011 5:46 pm    Post subject: Reply with quote

Instructor wrote:
http://akelpad.sourceforge.net/forum/viewtopic.php?p=11171#11171
Там же и ответ.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (Russian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group