RPTools.net

Discussion and Support

Skip to content

It is currently Sun Sep 24, 2017 10:38 am 






Reply to topic  [ 102 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next

Previous topic | Next topic 

  Print view

Author Message
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7861
Location: Bay Area
 Post subject: Notepad++ Maptool Text Editor config file [UPDATE: 5/31/12]
PostPosted: Wed Mar 10, 2010 9:35 pm 
Latest version is Notepad++ 5.9.3 (8/24/11)

Note: I'll update this page eventually, but I recommend using Notepad Portable for large files (3000+ lines?). Also, for both versions, I recommend installing from the Plug'n Manager "TextFX Characters". It has many useful text editing tools.

Notepad++ is for windows based OS's. (Use VIM or related for MAC). Notepad++ uses keyword highlighting and function keyword hints. It also has TextFX which is great for doing many text manipulating things. You can use auto-complete for keywords and function and use collapsible folders.

The following files are maintain via SugarSync (5GB+ Free Online Storage), and so all I have to do is change the file locally and you'll have my latest copy. I will post when I update those files and the version history below will give you a general idea of the updates.

After downloading Notepad++, download these files to the specified locations:
__________________________________________________________________________________________

Place these files in the Applications Data folder under your log in name in the Notepad++ directory.
For example my directory is:
Code:
C:\Documents and Settings\Chris\Application Data\Notepad++

userDefineLang.xml
    This file is used to format the text and colors to be used with Maptool.
  • Keywords, function names and comments are color coded for easy reading.
  • Parenthesis and brace matching.
  • Collapsible block characters defined.


shortcuts.xml
    This file is used for custom macros.
  • Copy Block (shift-ctrl-C) - Place cursor anywhere in collapsible block of text and it will copy it to clipboard.
  • I will develop more macros soon.

__________________________________________________________________________________________

Place this file in to your plugins APIs folder.
For example my directory is:

Code:
C:\Program Files\Notepad++\plugins\APIs

maptool.xml
    This file is used for function tooltips and keywords used in function auto-completion.
  • Go to Settings | Preferences
  • Select Backup/Auto Completion TAB
  • Check Enable auto-completion on each input
  • Select Function completion
  • Check Function parameter hint on input
    • You can also leave this unchecked and use ctrl-shift-spacebar to show function hints.
  • Note: Use ctrl-enter for word auto-completion when typing out long variable names. Depending on your preference, set the "From N th" to 3 or 4 to autocomplete keywords on the nth character.
  • Warning: Sometimes the auto-completion may mess up and crash out. It doesn't happen often, but I recommend use of the Auto-save plugin. It can be installed through the plug-in manager. Despite this bug(?), it's still well worth using. It could just be my system as well, but I thought I'd give you a heads up.

__________________________________________________________________________________________

Spell Checker


__________________________________________________________________________________________

Place this file in the Maptool jar folder.
For example my directory is:
Code:
E:\Gaming\maptool-1.3.b76

Default.theme
    This file will make the following changes to MapTool interface:
  • Change the text pane font to monospaced 14pt BOLD for editing macros.
  • Change the text area font used by RPedit to edit macros to monospaced 14pt BOLD.
  • Change the button text spacing on buttons from 12px to 4px for a better look.
  • Thanks to JohnathanTheBlack for his post about TinyLaF.

__________________________________________________________________________________________

Related Maptool Drop-in:

__________________________________________________________________________________________

* Disclaimer - Since I copied most of the function information from the wiki, there is no guarantee that the info is 100% correct. I also made some slight alterations to some of the descriptions for space and what I thought may have been correctness. If anything seems out of whack, just post here and I'll update at my discretion.


File comment: All the addon's except the Aspell files
Notepad++ addons.zip [29.31 KiB]
Downloaded 685 times

_________________
Downloads:


Last edited by aliasmask on Wed Aug 24, 2011 9:27 am, edited 38 times in total.
Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7861
Location: Bay Area
 Post subject: Re: Notepad++ Maptool Text Editor config file
PostPosted: Thu Mar 11, 2010 12:11 am 
Version History of maptool.xml and userDefineLang.xml

Note: I won't actually save the old files, but just note the differences in the newest copies. All these files represent the latest incarnation on my personal system. I'll add a new post if I think they are significant to people's attention, otherwise the only change you'll notice is an updated post here.

maptool.xml
  • 11/24/10 - Minor change in regex.info1() to show proper use of (?i)... ignore case when using a regex.
  • 11/20/10 - Updated keywords from wiki for new functions due in 1.3.b77
  • 11/7/10 - Corrected out of order keywords to fix auto-completion.
  • 11/3/10 - Added all the descriptions of functions for auto-completions.

shortcuts.xml
  • 11/17/10 - Added Copy Block macro - copies current collapsible block where cursor is to the clipboard.

userDefineLang.xml
  • 11/24/10 - minor change in quoted text color to a slightly lighter blue.
  • 11/20/10 - declared more keywords and added some common word text highlighting
  • 11/3/10 - Added all the keywords for text highlighting and updated color scheme.

Spell Checker
  • 11/28/10 - Added resource files to get spell checker to work.

Default.theme
  • 12/2/10 - Added resource to change Maptool interface fonts to make editing easier. Also, changed spacing on button margin to look better.

_________________
Downloads:


Last edited by aliasmask on Thu Dec 02, 2010 6:03 pm, edited 8 times in total.

Top
 Profile  
 
User avatar  Offline
Dragon
 
Joined: Sat Oct 11, 2008 2:37 am
Posts: 739
Location: Limoges/Guéret, France
 Post subject: Re: Notepad++ Maptool Text Editor config file
PostPosted: Thu Mar 11, 2010 9:30 am 
Very nice !
I wish someone would do the same for UtraEdit.
:mrgreen:

_________________
ImageImageImageImage


Top
 Profile  
 
User avatar  Offline
Site Admin
 
Joined: Mon Jun 12, 2006 12:20 pm
Posts: 12102
Location: Tampa, FL
 Post subject: Re: Notepad++ Maptool Text Editor config file
PostPosted: Thu Mar 11, 2010 11:34 am 
Craig typed in all that data for the VIM plugin. Perhaps you can extract what you need from there?


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7861
Location: Bay Area
 Post subject: Re: Notepad++ Maptool Text Editor config file
PostPosted: Thu Mar 11, 2010 12:18 pm 
Azhrei wrote:
Craig typed in all that data for the VIM plugin. Perhaps you can extract what you need from there?

Thanks. It looks like I can parse all the info I need from that file.

_________________
Downloads:


Top
 Profile  
 
 Offline
Cave Troll
 
Joined: Tue Oct 13, 2009 10:41 pm
Posts: 98
Location: Japan
 Post subject: Re: Notepad++ Maptool Text Editor config file
PostPosted: Sat Mar 13, 2010 10:45 am 
vi for windows is beautiful, although not as sexy as in linux. But still very powerful :mrgreen:

You are a coding maniac aliasmask! I applaud your efforts and hope you keep hacking :D

_________________
"Time is a great teacher, but unfortunately it kills all its pupils."
- Louis-Hector Berlioz


Top
 Profile  
 
 Offline
Great Wyrm
 
Joined: Tue May 26, 2009 7:51 pm
Posts: 2060
Location: Philadelphia, PA
 Post subject: Re: Notepad++ Maptool Text Editor config file
PostPosted: Sat Mar 13, 2010 6:02 pm 
I installed your maptools.xml into the APIs folder, but now I get a cannot load langs.xml error. Are you using a language file other than english? If not, I may have a corrupt install.


Top
 Profile  
 
User avatar  Offline
Site Admin
 
Joined: Mon Jun 12, 2006 12:20 pm
Posts: 12102
Location: Tampa, FL
 Post subject: Re: Notepad++ Maptool Text Editor config file
PostPosted: Sat Mar 13, 2010 6:30 pm 
Shpena wrote:
vi for windows is beautiful, although not as sexy as in linux.

Oh man, that's sick. Just "sick".

(Of course, I agree with you about the Linux comment. But that's even worse... 8))


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7861
Location: Bay Area
 Post subject: Re: Notepad++ Maptool Text Editor config file
PostPosted: Sun Mar 14, 2010 1:47 am 
Nope. I'm just using the default english.

Now I'll have to see what windows VI looks like. The only thing that Notepad++ does do that Crimson did was auto indent after a block. I tried using the auto indent plug in, but it's not smart enough. It indents, but after I type the first word, it lines the text back up to the block.

Hehe, I remember back in 88/89 when we had to write our own vi editor.

_________________
Downloads:


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Re: Notepad++ Maptool Text Editor config file
PostPosted: Mon May 03, 2010 6:38 am 
Hmm ... i cant get this to work. :(

Here is what i tried

uninstalled notepad++
reinstalled it
downloaded the 2 files and placed it in the given locations
started np++

Then I cant find maptool under languages. I find user defined there but that doesnt give me any highlighting

(OS is win7_32bit, tried both german and english NP++ install)

Any help outthere?

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Sun Feb 25, 2007 11:53 am
Posts: 3702
Location: MD
 Post subject: Re: Notepad++ Maptool Text Editor config file
PostPosted: Mon May 03, 2010 7:37 am 
CoveredInFish wrote:
Any help outthere?


Just installed with Win7 64 with no problems.

Did you install the userDefineLang.xml file here:

c:\Users\UserName\%AppData%\Roaming\Notepad++


Note: AppData is a Hidden Directory! (that's what the %'s around it signify)

_________________
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."


Last edited by Full Bleed on Fri Jun 04, 2010 7:45 pm, edited 1 time in total.

Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Re: Notepad++ Maptool Text Editor config file
PostPosted: Mon May 03, 2010 7:50 am 
I hadnt the "Roaming" directory, but creating that doesnt change a thing.

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Re: Notepad++ Maptool Text Editor config file
PostPosted: Mon May 03, 2010 7:56 am 
Okay, got it. Reinstalled it with that "for usb stick" setting, where it stores everything in the programs location. Placed the Language file there ... and it worked.

EDIT: seems i had a pretty crippled installation before. I installed it again with normal setting and it still works.

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7861
Location: Bay Area
 Post subject: Re: Notepad++ Maptool Text Editor config file
PostPosted: Fri Jun 04, 2010 2:40 pm 
I still haven't added the detailed help for the functions, but I did update my copy of the config to include the @@ formatting for MacroIO and I made a few other minor changes.

Attachment:
userDefineLang.xml [19.88 KiB]
Downloaded 451 times
Attachment:
example.jpg
example.jpg [ 53.13 KiB | Viewed 17005 times ]

_________________
Downloads:


Last edited by aliasmask on Sat Jun 05, 2010 10:34 am, edited 2 times in total.

Top
 Profile  
 
User avatar  Offline
Dragon
 
Joined: Fri Dec 18, 2009 2:33 am
Posts: 382
Location: San Diego
 Post subject: Re: Notepad++ Maptool Text Editor config file
PostPosted: Fri Jun 04, 2010 7:01 pm 
CoveredInFish wrote:
Okay, got it. Reinstalled it with that "for usb stick" setting, where it stores everything in the programs location. Placed the Language file there ... and it worked.

EDIT: seems i had a pretty crippled installation before. I installed it again with normal setting and it still works.

I installed Notepad++ recently, and generally selected all the "recommended" options when installing it; but I still don't have an "Application Data" folder under my login name. What do I do from here?

_________________
"Fairy tales do not tell children the dragons exist. Children already know that dragons exist. Fairy tales tell children the dragons can be killed."
- G. K. Chesterton

Wonderful HTML/CSS reference * Color Manager * Token Manager 2.0


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 102 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next

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 post attachments in this forum

Search for:

Who is online

In total there are 3 users online :: 1 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: Bing [Bot] and 2 guests





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman