I want to add a syntax theme to AkelPad. (For example, add a syntax theme for SHELL), But, I didn't find the method to add it.
Who can give me a method for this demand?
Thanks.

What a great job!!Skif_off wrote:and update cache (if used): remove file "Plugs\Coder\cache" or external call "Call("Coder::Settings", 2)" (see Coder-Eng.txt).Run_LeoCat wrote:Just put this file into "Plugs\Coder" directory
There is the menu items examples at the end of the file "Docs\Coder-Eng.txt" (if you need the menu items).
Code: Select all
"Syntax theme" Menu("SYNTAXTHEME") Icon("%a\AkelFiles\Plugs\Coder.dll", 4)
Code: Select all
Files:
;==========
;File types
;==========
*.ahk
CoderName: <----
AutoHotkey
Code: Select all
;----------------------------------------------;
; AutoComplete ;
;----------------------------------------------;
CompleteList:
;=======================
;ListFontStyle ListFontSize ListFaceName ListLineGap ListBlockIcon ListBlockIconMargins "left;right" ListHlBaseIcon ListHlBaseIconMargins "left;right" ListDocWordIcon ListDocWordIconMargins "left;right" ListBasicTextColor ListBasicBkColor ListSelTextColor ListSelBkColor
;=======================
${AutoComplete_ListBlockIcon} ${AutoComplete_ListBlockIconMargins} ${AutoComplete_ListHlBaseIcon} ${AutoComplete_ListHlBaseIconMargins} ${AutoComplete_ListDocWordIcon} ${AutoComplete_ListDocWordIconMargins} ${AutoComplete_ListBasicTextColor} ${AutoComplete_ListBasicBkColor} ${AutoComplete_ListSelTextColor} ${AutoComplete_ListSelBkColor}
Means you've created a new color scheme named "test" and didn't add some widely used in .coder files variables and values (color+font style) to them.Azev wrote:
Feel free to ask any questions in english in that topic and in the others in .Azev wrote:I can't get anything from this thread as it is in RUS:
viewtopic.php?t=1495&postdays=0&postorder=asc&start=915
Lenchik wrote:So you need to put menu item by yourself.
I have done that by putting in ContextMenu::Showmenu of ContextMenu Plugin this:
and then in
I try to reproduce that, but I cannot identify where I have to put in that - can you please explain that a little more?
ContextMenu-Eng.txt explains very well how to config, but unfortunately it doesn't say where to config that.
The part of "Edit Menu" already written in Akelmenu (right click on toolbar), but I think the upper part "ContextMenu::Showmenu" is the important, so please explain me where I can find the position where I have to put that in.
Kind regards,
zeha
PS: I have found it... for all other who searching for that:
Options -> Plug-Ins... -> ContextMenu::Main -> Call
PPS: Is it possible, that you share your syntax icons from "%a\AkelFiles\Plugs\Toolbar\*.ico"? :-)