Development :  K-Meleon Forum
K-Meleon development related discussions. 
K-Meleon Macro Language Syntax Highlighting and AutoComplete for Notepad++
Posted by: desga2
Date: August 17, 2008 01:42AM

K-Meleon Macro Language Syntax Highlighting and AutoComplete for Notepad++:
Download link.
(MIRROR)

Please first read the "README.txt" file included.

K-Meleon in Spanish



Edited 1 time(s). Last edit at 08/18/2008 12:06AM by desga2.

Options: ReplyQuote
Re: K-Meleon Macro Language Syntax Highlighting and AutoComplete for Notepad++
Posted by: JujuLand
Date: August 17, 2008 02:54AM

I was about to post this. Don(t know if it's include:

Some little improvements to SciTEGlobal.properties,

- to see kmm files in list when 'All Source Files' selected

line 277:

# The open.filter setting is only used on Windows where the file selector has a menu of filters to apply
# to the types of files seen when opening.
# There is a limit (possibly 256 characters) to the length of a filter,
# so not all source extensions can be in this setting.
source.files=*.asm;*.c;*.cc;*.cpp;*.cxx;*.cs;*.h;*.hh;*.hxx;*.hpp;\
*.idl;*.odl;*.rc;*.rc2;*.dlg;*.def;\
*.vb;*.vbs;*.bas;*.frm;*.cls;*.ctl;\
*.java;*.js;*.py;*.pl;*.rb;*.cgi;*.lua;*.conf;\
make*;*.mak;\
*.properties;*.html;*.xml;*.iface;*.bat;*.e;\
*.kmm <<<<

line 306:

$(filter.java)\
$(filter.js)\
$(filter.kmm)\ <<<<<
$(filter.kix)\
$(filter.lout)\
$(filter.lua)\

Line 486:

Java&Script|js||\
&Kix|kix||\
&K-Meleon Macros|kmm||\ <<<
TeX|tex||\
Lisp|lisp||\

Line 566:

#import kix
import kmm <<<
import lisp
import lot

A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:24.0) Gecko/20140105 Ubuntu/12.04 K-Meleon/74.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr




Options: ReplyQuote
Re: K-Meleon Macro Language Syntax Highlighting and AutoComplete for Notepad++
Posted by: JujuLand
Date: August 17, 2008 03:42AM

@desga2,

I have posted in the wrong thread, but the subject is the same.

I have tried the 2 solutions, and if I prefer Notepad++ as editor, I must say that the string detection by Notepad2 is not ok when using for example escape characters like \" because in source it's like "\"" the editor search for the next ", and strings aren't colored ok

A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:24.0) Gecko/20140105 Ubuntu/12.04 K-Meleon/74.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr




Options: ReplyQuote
Re: K-Meleon Macro Language Syntax Highlighting and AutoComplete for Notepad++
Posted by: desga2
Date: August 17, 2008 05:10AM

Not problem, this is better thread that ndeavord update macros thread. smiling smiley
Yes, i note this in SciTE, thanks.

And about Notepad++, yes this have little problems to detect some special character highlighting when this are in some other syntax highlighting like quotes ("").
This is because text in quotes ("") syntax highlighting have preference over it.

K-Meleon in Spanish

Options: ReplyQuote
Re: K-Meleon Macro Language Syntax Highlighting and AutoComplete for Notepad++
Posted by: jk-
Date: August 17, 2008 06:10PM

Cool but link not working?
I've always used the setting for C language... seems to work well.

----------------------
- K-Meleon Macros and Extensions
- Greasify (Greasemonkey type macro for K-Meleon)
- Stylish for K-Meleon

Options: ReplyQuote
Re: K-Meleon Macro Language Syntax Highlighting and AutoComplete for Notepad++
Posted by: desga2
Date: August 18, 2008 12:05AM

Links works now, had to be a problem of timely traffic on the server.
I added a MIRROR server to download.

K-Meleon in Spanish

Options: ReplyQuote
Re: K-Meleon Macro Language Syntax Highlighting and AutoComplete for Notepad++
Posted by: JujuLand
Date: August 18, 2008 03:03PM

@all,

Not to rest without having done nothing tongue sticking out smiley , I post a PsPad Syntax Highlighting + AutoComplete + Help system + Template for K-Meleon Macro.

Unzip files in PsPad folder, and merge 'PsPad_K-Meleon Macro.ini' with 'PsPad.ini' located in your 'Application Data' folder

You have then 2 interesting accels:

Ctrl-J for autocomplete
Ctrl-Enter for help + skeleton function insert

You can personnalize colors in :

options > Syntax Highlighting settings > K-Meleon Macro > Colors

You can also modifiy the settings og K-Meleon highlighting (words, ....) in :

Custom Syntax Highlighting > K-Meleon Macro

There is also a problem with escape characters like with Notepad++, but less ennoying.

A+

PS: the zip file is just under the postcool smiley


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:24.0) Gecko/20140105 Ubuntu/12.04 K-Meleon/74.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr





Edited 3 time(s). Last edit at 08/18/2008 03:15PM by JujuLand.

Attachments: PSPad_K-Meleon Macro.zip (6.6 KB)  
Options: ReplyQuote
Re: K-Meleon Macro Language Syntax Highlighting and AutoComplete for Notepad++
Posted by: JamesD
Date: August 18, 2008 09:41PM

@ desga2

How can I change the background color for quoted strings? I did as your readme file said but could only find folders, keywords, comments, and operators. The gray you have for quoted strings is D3D7CF but I would like ffffdb I think.

Options: ReplyQuote
Re: K-Meleon Macro Language Syntax Highlighting and AutoComplete for Notepad++
Posted by: desga2
Date: August 18, 2008 11:47PM

@ JamesD:

Quote
README.txt
STRINGS -> name="DELIMITERS" fgColor="000000" bgColor="D3D7CF"

Change it in next line of code:

<WordsStyle name="DELIMINER1" styleID="14" fgColor="000000" bgColor="D3D7CF" fontName="" fontStyle="0" />

When you have dudes search color code in code. smiling smiley

K-Meleon in Spanish



Edited 1 time(s). Last edit at 08/18/2008 11:48PM by desga2.

Options: ReplyQuote
Re: K-Meleon Macro Language Syntax Highlighting and AutoComplete for Notepad++
Posted by: desga2
Date: August 19, 2008 12:09AM

@ JujuLand:

Quote
JujuLand
Not to rest without having done nothing tongue sticking out smiley

It's easy to continue the work that others have begun. tongue sticking out smiley

PSPad is bloated like Firefox. PSPAd is for Firefox users. tongue sticking out smiley

But this is not the case. I'm working in an update. smiling smiley

P.S.; PSPad haven't folding.



Edited 2 time(s). Last edit at 08/19/2008 12:35AM by desga2.

Options: ReplyQuote
Re: K-Meleon Macro Language Syntax Highlighting and AutoComplete for Notepad++
Posted by: JamesD
Date: August 19, 2008 03:42AM

@ desga2

That fixed it. Thanks.

Options: ReplyQuote
Re: K-Meleon Macro Language Syntax Highlighting and AutoComplete for Notepad++
Posted by: incognito
Date: August 15, 2011 06:35AM

Download links for "K-Meleon Macro Language Syntax Highlighting and AutoComplete for Notepad++" (first post) are "null".

Options: ReplyQuote
Re: K-Meleon Macro Language Syntax Highlighting and AutoComplete for Notepad++
Posted by: extensions central
Date: August 15, 2011 01:45PM

http://kmext.sourceforge.net/ext8.htm > K-Meleon Macro for Notepad++

Options: ReplyQuote
Re: K-Meleon Macro Language Syntax Highlighting and AutoComplete for Notepad++
Posted by: JamesD
Date: August 15, 2011 07:33PM

@ desga2

There are two more keywords for the list for Notepad++. They are 'or' and 'and'.

See here for info: http://kmeleon.sourceforge.net/forum/read.php?2,118409

Options: ReplyQuote


K-Meleon forum is powered by Phorum.