Notepad++ Maptool Text Editor config file [UPDATE: 5/31/12]
Moderators: dorpond, trevor, Azhrei, Gamerdude
- bubblobill
- Giant
- Posts: 167
- Joined: Sun Jan 24, 2010 3:07 pm
On code folding in Notepad++
For those who just want the code to fold without manually setting fold points, I found that I got acceptable usability by altering the "Folding in code 1 style:" Set Open: to { and Close: to }.
Since just about everything bulky resides inside code blocks with {}, it helps keep things manageable.
Not ideal, but good for now.
Bubblo
Since just about everything bulky resides inside code blocks with {}, it helps keep things manageable.
Not ideal, but good for now.
Bubblo
Bubblobill on the forum.
@Reverend on the MapTool Discord Server
Responsible for less atrocities than most... I do accept responsibility for these though: SmartDoors, Simple d20 Framework - barebones, Drop-in: All 3.5 SRD Monsters, Drop in: Simple Character Editor, Battletech Framework
@Reverend on the MapTool Discord Server
Responsible for less atrocities than most... I do accept responsibility for these though: SmartDoors, Simple d20 Framework - barebones, Drop-in: All 3.5 SRD Monsters, Drop in: Simple Character Editor, Battletech Framework
Re: On code folding in Notepad++
To clarify the above, under View | User-defined Dialog - select maptool and under the Folder & Default tab you can set the open/close for blocks. By my default, I have @@ and !! for open and close. You can add { and } for another level of folding. Just separate with a space in textbox. I'm not sure if bubblobill is talking about the maptool config file, but you can do it manually as described above.bubblobill wrote:For those who just want the code to fold without manually setting fold points, I found that I got acceptable usability by altering the "Folding in code 1 style:" Set Open: to { and Close: to }.
Since just about everything bulky resides inside code blocks with {}, it helps keep things manageable.
Not ideal, but good for now.
Bubblo
Generally speaking, I try to avoid code that is longer than one screen and with proper indentation of the code I never really found the need for adding more folds. I use the @@ and !! for hiding macros I'm not working on and will place a bookmark on the name of macro if I make any changes to it.
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
Re: Notepad++ Maptool Text Editor config file [UPDATE: 5/31/
Olla senor.
It appears that the choice of as delimiters brings some issues into the MOTE macro editor. The mote parser has to treat the linebreak differently then the ! character and thus they wont make into the regex parser (as a whole). Hence they've currently used just which you can understand did not work so well, when I fed it all the code of the bag of tricks...
The question now is:
is the !! something internal of np++ and you can't do anything about it
OR
is it your choice and can it be easily changed? If so: how?
edit: I already notices that they're user defined. So that leaves the 'how' do I change that and what would you suggest?
It appears that the choice of
Code: Select all
%0A%0A!!%0A
Code: Select all
!!
The question now is:
is the !! something internal of np++ and you can't do anything about it
OR
is it your choice and can it be easily changed? If so: how?
edit: I already notices that they're user defined. So that leaves the 'how' do I change that and what would you suggest?
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
Re: Notepad++ Maptool Text Editor config file [UPDATE: 5/31/
If you're not using notepad, or rpedit then you don't need !! at all. But if you want to change the ending delimiter for a block in Notepad++ then go to View | User Defined Dialog, select maptool. Then at the bottom of Folder Close Keyword Settings change it to something else like ^^. This is really only used for NP++ and actually could be omitted from the rpedit parser. But this will effect the ctrl-shift-C macro for copying a block of text. But if you import the ^^, then the rpedit parser will leave it in the code. You can change your version if you do a search for !! and change it to whatever you use.
All the rpedit parser needs is @@macroName which is the original format used by CiF as seen here: http://forums.rptools.net/viewtopic.php ... 70#p178685
All the rpedit parser needs is @@macroName which is the original format used by CiF as seen here: http://forums.rptools.net/viewtopic.php ... 70#p178685
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
Re: Notepad++ Maptool Text Editor config file [UPDATE: 5/31/
Thnx. I think they already solved it.
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
Re: Notepad++ Maptool Text Editor config file [UPDATE: 5/31/
Thanks for this great resource Aliasmask, it's been very handy when developing frameworks.
FYI the individual download links in your OP seem dead (they are the ones pointing to Sugarsync). The .zip file at the very hand is still valid though, but I don't know if it is as up to date as the individual files.
Thanks !
FYI the individual download links in your OP seem dead (they are the ones pointing to Sugarsync). The .zip file at the very hand is still valid though, but I don't know if it is as up to date as the individual files.
Thanks !
Re: Notepad++ Maptool Text Editor config file [UPDATE: 5/31/
The Download locations are no longer valid. Do you have a new hosting location where I can get this cool looking stuff for my Notepad++?
Re: Notepad++ Maptool Text Editor config file [UPDATE: 5/31/
dantarith wrote:The Download locations are no longer valid. Do you have a new hosting location where I can get this cool looking stuff for my Notepad++?
The very last link of the OP should include all the files you need in a zip file.
Re: Notepad++ Maptool Text Editor config file [UPDATE: 5/31/
This is kind of out dates with the newer version of notepad++.
Try this thread and download: http://forums.rptools.net/viewtopic.php?f=20&t=25531
Try this thread and download: http://forums.rptools.net/viewtopic.php?f=20&t=25531
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
Re: Notepad++ Maptool Text Editor config file [UPDATE: 5/31/
I must have had a corrupted download. I removed the org. files and downloaded again and this time it worked. Well kinda. I had to go to the original post to get the maptool Theme file as there wasn't one in the new zip pkg.
Anyway thanks
Anyway thanks
Re: Notepad++ Maptool Text Editor config file [UPDATE: 5/31/
theme isn't really needed, but when put in to the root exe folder speeds up really large files with collapsible folders. Not sure why.
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
Re: Notepad++ Maptool Text Editor config file [UPDATE: 5/31/
Aliasmask you're the shiz!! lol.
I LOVE this Notepad++ add-on! I typically don't use NotePad++ for my programming need but having spent nearly 4 hours trying to find an issue in one of my macros, NOT to use this would be insane.
Again, thanks for such as awesome and totally useful tool!
I LOVE this Notepad++ add-on! I typically don't use NotePad++ for my programming need but having spent nearly 4 hours trying to find an issue in one of my macros, NOT to use this would be insane.
Again, thanks for such as awesome and totally useful tool!
Re: Notepad++ Maptool Text Editor config file [UPDATE: 5/31/12]
All the notepad links are dead.
Re: Notepad++ Maptool Text Editor config file [UPDATE: 5/31/12]
First post bottom is a zip with all the files.
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
Re: Notepad++ Maptool Text Editor config file [UPDATE: 5/31/12]
Ok thanks, missed that. You should def bump the zip file at the top of the post.