Notepad++ language file for MapBasic?

318 views
Skip to first unread message

Bill Thoen

unread,
Feb 29, 2016, 5:42:59 PM2/29/16
to mapi...@googlegroups.com
I just downloaded notepad++ as a general purpose programmers editor and so far it looks pretty good. But what I'd like to find is a language file / plugin/ whatever it's called for mapbasic. Does anyone have one for mb 9.0 and / or mb 15.2 that will work with this editor?

(I moved recently and changed computers, and somehow managed to lose a big chunk of ultra edit in the process, and I'm trying to retool.)

Thanks,
Bill Thoen

college.atlas

unread,
Mar 1, 2016, 12:51:31 AM3/1/16
to MapInfo-L
Have a look here for a NotePad++ highlighter etc for Mapbasic up to 10.5 http://www.twiav.nl/php/mapbasic.php (halfway down the page)

I've used an earlier version and it was pretty good. Still prefer Mustafa Ozcetin's Mapbasic IDE though.

MEHMET HINC

unread,
Mar 1, 2016, 4:03:27 AM3/1/16
to mapi...@googlegroups.com
Hey Bill,

Kindly have a look ...


Cheers,
Mehmet

--
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en

---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapinfo-l+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Warren Vick

unread,
Mar 1, 2016, 5:59:02 AM3/1/16
to mapi...@googlegroups.com

Mapbasicide sounds like a form of murder using MapBasic. :-)

 

Regards,

Warren Vick

Bill Thoen

unread,
Mar 1, 2016, 9:30:26 AM3/1/16
to mapi...@googlegroups.com
Thanks!

I'm aware of Mustafa's excellent IDE, which I am planning to get as well, but I wanted to see if notepad++ could be my new general-purpose editor. I think it will!

Mustafa ÖZÇETiN

unread,
Mar 1, 2016, 9:35:58 AM3/1/16
to mapi...@googlegroups.com
Warren,

Its name is not so brilliant, but not too bad I think. I have already changed its name a few weeks ago and v1.8 is coming with a new name.

Mustafa Özçetin
Senior Researcher (SCJP)

The Scientific and Technological Council of Turkiye

Ankara / Turkiye

Bill Thoen

unread,
Mar 1, 2016, 9:37:00 AM3/1/16
to mapi...@googlegroups.com
Thanks, Mehmet!

Warren Vick

unread,
Mar 1, 2016, 10:59:10 AM3/1/16
to mapi...@googlegroups.com

How about MIDES? “MapBasic IDE Software”. Also, an oasis in Tunisia, which is a nice geographic reference.

jbg...@gmail.com

unread,
Mar 1, 2016, 12:28:56 PM3/1/16
to MapInfo-L
I believe there may be a bug in the latest version of Notepad++
When performing column edits, it seems to insert wordwraps, skips lines, and scrambles data randomly.
I have not checked this on other computers, but it seems to occur with every file that attempt to add characters to on my 32 bit Windows 7 computer.

If I find this to occur on other computers when I have access to them, I will let you know.

Regards

Bill Thoen

unread,
Mar 1, 2016, 7:52:10 PM3/1/16
to mapi...@googlegroups.com
I've got Windows 10 64bit, and the directories are all different. So, as you might get expect, installing the language files didn't work. Not only did I lose the formatting I had made, but just putting the original XML file back failed as well. It still works as an editor but it's not delivering all the features it is supposed to. The documentation isn't very helpful, so I guess I'll have to actually "open the source" and see if I can really mess it up!
--

Albert Tabino

unread,
Mar 1, 2016, 8:43:39 PM3/1/16
to mapi...@googlegroups.com
i have used mbcoder  and ultraedit a couple of years ago...but this is what I found now....not using it though...if anyone gets the chance please keep us posted...thanks


Bill Thoen

unread,
Mar 1, 2016, 9:16:05 PM3/1/16
to mapi...@googlegroups.com
I have been using DiaBuilder 2000 (by Trey Patillo) since it first came out, and I think it's pretty good for building dialogs. It does have a couple of annoying quirks but nothing I haven't been able to get around. It's a good tool - I'd rate it 4 out of 5 super-novae!

But I think the MapBasicIDE by Mustafa Ozcetin does a lot more and does it better. It's got a 5 out of 5 star rating, but I haven't used it for a while now, because I've been doing other things, but I'm going to be getting back to it very soon.

Btw, I got notepad++ working with its styles , auto-complete, and folding all working together now. If anyone needs some help with it in Windows 10 environment, just ask.

Andrew Harfoot

unread,
Mar 3, 2016, 7:21:39 AM3/3/16
to mapi...@googlegroups.com
Hi Bill,

You may or may not have done this as part of your N++ customisation efforts, but another feature that I use is the function list window, and to have N++ parse MB subs and functions you need to edit the functionList.xml file (in my installation on Win7 x64 it resides here: C:\Users\<user>\AppData\Roaming\Notepad++\functionList.xml).

I added the following lines:

1. As a child of the <associationMap> tag:

            <association userDefinedLangName="MapBasic" id="mb_func_sub"/>

2. As a child of the <parsers> tag:

            <parser id="mb_func_sub" displayName="MB">
                <function
                    mainExpr="^[\t ]*(function|sub)[\t ]+[\w]+[\t ]*" displayMode="$functionName">
                    <functionName>
                        <nameExpr expr="(sub|function)[\t ]+\K[\w]+"/>
                    </functionName>
                </function>
            </parser>

Undoubtedly this can be improved upon, but it works for me for the moment.

Cheers,

Andy
-- 
Andy Harfoot

GeoData Institute
University of Southampton
Southampton
SO17 1BJ

Tel:  +44 (0)23 8059 2719
Fax:  +44 (0)23 8059 2849

www.geodata.soton.ac.uk
Reply all
Reply to author
Forward
0 new messages