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 plugin (2)
Goto page Previous  1, 2, 3, 4, 5, 6 ... 61, 62, 63  Next
 
Post new topic   Reply to topic    AkelPad Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5402

PostPosted: Sat May 18, 2013 3:35 pm    Post subject: Reply with quote

KDJ
Test version
Back to top
View user's profile Send private message Send e-mail
KDJ



Joined: 06 Mar 2010
Posts: 1396
Location: Poland

PostPosted: Sat May 18, 2013 4:13 pm    Post subject: Reply with quote

Instructor
Now is OK, thanks.
Back to top
View user's profile Send private message
private_joker



Joined: 28 May 2010
Posts: 78

PostPosted: Sat May 18, 2013 6:06 pm    Post subject: Reply with quote

Instructor wrote:
Добавлено: цвета для LineBoard плагина (se7h).

Как же давно (Ср Дек 08, 2010 8:47) я об этом мечтал Very Happy
Спасибо!
Back to top
View user's profile Send private message
private_joker



Joined: 28 May 2010
Posts: 78

PostPosted: Sat May 18, 2013 7:14 pm    Post subject: Reply with quote

Confused При выборе цветовой темы (из иконки тулбара), при открытом файле падает. Версия x64.
Back to top
View user's profile Send private message
opk44



Joined: 16 Jan 2010
Posts: 344

PostPosted: Sun May 19, 2013 5:48 pm    Post subject: Reply with quote

1) Версия 4.8.3.0 (x86) также падает при смене цветовой темы.
AkelPad.exe 4.8.3.0
Coder.dll 10.8.0.0
Смена темы производилась через вызов меню окна редактирования:
"Bespin" Call("Coder::Settings", 5, "Bespin")

2) Версия 4.8.4.0 (x86) dev (md5: 7523a0b0c02fb90211f49783bc9f9d2e) не падает при смене цветовой темы.
Back to top
View user's profile Send private message
VladSh



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

PostPosted: Mon May 20, 2013 11:40 am    Post subject: Reply with quote

Хотел отредактировать, но прошлая тема закрыта, потому запощу обновление сюда:
fb2.coder

Code:
; fb2 (VladSh)
; http://akelpad.sourceforge.net/forum/viewtopic.php?p=7983#7983
; Version of 2013.05.20
;----------------------------------------------;
;           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:
;=================================================================================================================================================================================================================================================================================================================================================================================================================================================================
;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   "'"   "'"   ""


Folds:
;===============================================================
;Flags  Font    Color   Color   Fold         Fold     Delimiters
;       style   text    bkgrnd  start        end
;===============================================================
;2049=1+2048
2049   0   0   0   "<!--"       "--->"   ""
;517=1+4+512
517   3   ${COMM}   0   "<!--"       "-->"    ""
;517=1+4+512
517   0   0   0   "<![CDATA["  "]]>"    ""
;2049=1+2048
2049   0   0   0   "</"         ""       ""
;4101=1+4+4096
4101   0   0   0   "<!"         ">"      ""
;5=1+4
5   0   0   0   "<?"         "?>"     ""
;4101=1+4+4096
4101   0   0   0   "<"          "</"     ""
;4101=1+4+4096
4101   0   0   0   "<"          "/>"     ""


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

$~encoding="utf-8"
<?xml version="1.0" encoding="utf-8"?>

$~encoding="Windows-1251"
<?xml version="1.0" encoding="Windows-1251"?>

$~description
<description>
${AutoComplete_Indent}$[]
</description>

$~title-info
<title-info>
${AutoComplete_Indent}$[]
</title-info>

$~genre
<genre>$[]</genre>

$~author
<author>
${AutoComplete_Indent}$[]<first-name>$[]</first-name>
${AutoComplete_Indent}$[]<last-name>$[]</last-name>
${AutoComplete_Indent}$[]<middle-name>$[]</middle-name>
${AutoComplete_Indent}$[]<nickname>$[]</nickname>
${AutoComplete_Indent}$[]<email>$[]</email>
</author>

$~book-title
<book-title>$[]<book-title>

$~annotation
<annotation>$[]</annotation>

$~keywords
<keywords>$[]<keywords>

;ГГГГ-ММ-ДД
$~date
<date>$[]</date>

$~coverpage
<coverpage><image l:href="#cover.jpg"/></coverpage>

$~lang
<lang>$[]</lang>

$~src-lang
<src-lang>$[]</src-lang>

$~translator
<translator>
${AutoComplete_Indent}$[]<first-name>$[]</first-name>
${AutoComplete_Indent}$[]<last-name>$[]</last-name>
${AutoComplete_Indent}$[]<middle-name>$[]</middle-name>
${AutoComplete_Indent}$[]<nickname>$[]</nickname>
${AutoComplete_Indent}$[]<email>$[]</email>
</translator>

$~sequence
<sequence name="$[]" number="$[]"/>

$~src-title-info
<src-title-info>
${AutoComplete_Indent}$[]
</src-title-info>

$~document-info
<document-info>
${AutoComplete_Indent}$[]
</document-info>

$~program-used
<program-used>$[]</program-used>

$~src-url
<src-url>$[]</src-url>

$~src-ocr
<src-ocr>$[]</src-ocr>

$~id
<id>$[]</id>

$~version
<version>$[]</version>

$~history
<history>
${AutoComplete_Indent}$[]<p></p>
</history>

$~publish-info
<publish-info>
${AutoComplete_Indent}$[]
</publish-info>

$~book-name
<book-name>$[]</book-name>

$~publisher
<publisher>$[]</publisher>

$~city
<city>$[]</city>

$~year
<year>$[]</year>

$~custom-info
<custom-info>
${AutoComplete_Indent}$[]
</custom-info>

$~body
<body>
${AutoComplete_Indent}$[]
</body>

$~title
<title>
${AutoComplete_Indent}<p>$[]</p>
${AutoComplete_Indent}<p>$[]</p>
</title>

$~subtitle
<subtitle>$[]</subtitle>

$~section
<section>
${AutoComplete_Indent}$[]
</section>

$~section+title
<section>
${AutoComplete_Indent}<title>
${AutoComplete_Indent}${AutoComplete_Indent}<p>$[]</p>
${AutoComplete_Indent}</title>
${AutoComplete_Indent}
${AutoComplete_Indent}$[]
</section>

$~annotation
<annotation>
${AutoComplete_Indent}$[]
<annotation>

$~epigraph
<epigraph>
${AutoComplete_Indent}
</epigraph>

$~poem
<poem>
${AutoComplete_Indent}$[]
</poem>

$~stanza
<stanza>
${AutoComplete_Indent}<v>$[]</v>
</stanza>

$~cite
<cite>
${AutoComplete_Indent}$[]
</cite>

$~empty-line $~line
<empty-line />

$~par
<p>$[]</p>

$~strong
<strong>

$~emphasis
<emphasis>

$~strikethrough
<strikethrough>

$~image
<image l:href="#$[i_001].jpg"/>

$~binary
<binary id="$[i_001].jpg" content-type="$[image/jpeg]">/9j/
4AAQSkZJRgABAgAAZABkAAD/
$[]
</binary>
Back to top
View user's profile Send private message Visit poster's website
opk44



Joined: 16 Jan 2010
Posts: 344

PostPosted: Mon May 20, 2013 12:21 pm    Post subject: Reply with quote

Instructor
Надо бы указать (в документации к плагину) требования к кодировке Coder-файлов (UTF-16LE). А то сейчас это только из уст в уста передается, и попробуй сам догадайся... В противном случае, неспособность плагина работать с файлами в другой кодировке следует считать багом.
Back to top
View user's profile Send private message
private_joker



Joined: 28 May 2010
Posts: 78

PostPosted: Mon May 20, 2013 3:18 pm    Post subject: Reply with quote

opk44
Есть же BOM (сигнатура) - FFFE.
Back to top
View user's profile Send private message
Lenchik



Joined: 10 Jan 2011
Posts: 275

PostPosted: Mon May 20, 2013 3:35 pm    Post subject: Reply with quote

Instructor wrote:
Не воспроизводится. Может дело в видеодрайвере.

Видеокарта Nvidia, обновил до последнего стабильного - без изменений. Папку Акеля выслал.
Back to top
View user's profile Send private message Visit poster's website
Infocatcher



Joined: 06 Aug 2007
Posts: 1629

PostPosted: Wed May 22, 2013 6:17 am    Post subject: Reply with quote

Andrey_A_A wrote:
2. Открыто несколько txt файлов и один ini
в ini включаю функцию сворачивания блоков и отображения списка
но при переходе на txt файл тоже отображается, а не хотелось (в txt никаких блоков и списков нет)
Можно ли реализовать, чтобы функция сворачивания блоков и отображения списка настраивалась под расширения или как-то ещё...

Back to top
View user's profile Send private message Visit poster's website
Andrey_A_A



Joined: 03 Jun 2010
Posts: 579
Location: Сочи, Хоста

PostPosted: Wed May 22, 2013 6:25 am    Post subject: Reply with quote

Infocatcher

Это не срабатывает

Back to top
View user's profile Send private message Send e-mail Visit poster's website
opk44



Joined: 16 Jan 2010
Posts: 344

PostPosted: Wed May 22, 2013 7:45 am    Post subject: Reply with quote

Andrey_A_A wrote:
Это не срабатывает
Насколько мне известно, Вы используете собственный файл Txt.coder
Code:
; Txt.coder
;============================================================
; Собрал, Составил, Изменил Аверин Андрей для AkelPad Image
; Version: 1.1 (01.09.2010 - 25.07.2012)
; Mail: Averin-And@yandex.ru
; Домашняя страница: http://tc-image.3dn.ru
;============================================================
...
...
Folds:
173   0   0   0   [       [       ""
173   0   0   0   "***"       "***"       ""
173   0   0   0   "---"       "---"       ""
...

Таким образом, Вы не можете утверждать, что "в txt никаких блоков и списков нет". Блоки/фолдсы у ВАС как раз таки есть (в схеме)!. Для файла Txt.coder с сайта (с пустой секцией Folds), предложенный Infocatcher-ом способ работает.
Back to top
View user's profile Send private message
Andrey_A_A



Joined: 03 Jun 2010
Posts: 579
Location: Сочи, Хоста

PostPosted: Wed May 22, 2013 7:58 am    Post subject: Reply with quote

Quote:
Таким образом, Вы не можете утверждать, что "в txt никаких блоков и списков нет"

Как раз таки утверждаю, или на скриншоте не видно? (а про Folds: я прекрасно знаю)

В этом и есть хотелка - проверять есть ли в списке блоки, если нет, то не отображать.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5402

PostPosted: Wed May 22, 2013 11:25 am    Post subject: Reply with quote

Lenchik wrote:
Видеокарта Nvidia, обновил до последнего стабильного - без изменений. Папку Акеля выслал.
Проверяется на видеокарте Radeon.
Back to top
View user's profile Send private message Send e-mail
votan
Guest





PostPosted: Fri May 24, 2013 10:48 pm    Post subject: Reply with quote

Might be a dumb question.... but how can I produce multiline quotes?
Want it to look like this:

Print "This is
a multiline
text"


I already know that code folding needs to be enabled... but whatever I try, can't get it to work.

Thanks in advance.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AkelPad Forum Index -> Plugins All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6 ... 61, 62, 63  Next
Page 5 of 63

 
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