OBLIVION
BAIN wizard Script Highlighter for Notepad plus plus by utumno aka Udun
Oblivion » Utilities
Added: 29/06/2010 - 05:55PM
Updated: 18/06/2011 - 12:42AM

46 Endorsements

4.0 Latest version

360 Unique D/Ls

560 Total D/Ls

5,578 Total Views

Uploaded by utumno

Description

Last updated at 0:42, 18 Jun 2011 Uploaded at 17:55, 29 Jun 2010

Name: BAIN wizard Script Highlighter for Notepad++
Version: 4.0
Date: 6/18/2011
Category: Utilities
Requires: Notepad++
Author: utumno aka Udun

Description
-----------
This is a User-Defined Language for BAIN wizard scripts support in Notepad++. It also includes an xml file for keywords auto-completion (ctrl+space) while you type.
This version covers functions for Wrye Bash version 292.
Dialogs : red
Keywords : dark red
Functions (including !): blue
Operators : orange
Folder open/close : if/endif ;snip/;snipend For/EndFor While/EndWhile : mauve
elif else True False : light mauve
etc
Easy to customize with npp's User-Defined dialogue

Installation
------------
1) Bring up the User-Defined dialogue in Npp (either from View > User Define Dialog... or the icon with the thunder)
2) Click Import and point to the UserDefineLang.xml included.
3) Move the "BAIN wizard.xml" to the Notepad++ API folder. Default location is C:\Program Files\Notepad++\Plugins\APIs\

Upgrade
-------
Simply bring up the User-Defined dialogue in Npp, select BAIN wizard, click on Remove - then import the new file.
As for the API .xml file, simply overwrite the existing file with the new one.

Known Issues or Bugs
--------------------
If anyone knows a solution to any of the issues below, please let me know.
- How to make Notepad++ recognise SelectOne && SelectMany as folder open keywords - they have the same folder close keyword (EndSelect). Probably not possible.
- Haven't put a default extension on the wizards - suggestions welcome.
- *in* operator and *from/to* in for loops omitted.

History
-------
4.0, 2011-6-18
- Added 292 GetEspmStatus, EditINI, Exec, endswith, startswith, lower, find, rfind, GetFilename, GetFolder functions
3.0, 2011-1-15
- Added 291 Rename functions and updated install instructions (N++ made it really easy)
- Made autocompletion case insensitive (btw you can modify how autocompletion works in Settings > Preferences > Backup/Auto-Completion)
2.0, 2010-07-28
- Added 287 for/while loops and small omissions
- Corrected a typo in UserDefineLang.xml
1.0, 2010-07-01
- Initial release for functions up to Wrye Bash 285.

Contact
-------
You might find me on the Elderscrolls\Oblivion forums as utumno.

Credits
-------
Thanks to Wrye for making Bash.
Thanks to Bethesda for creating Oblivion and the CS.
Thanks to TESNexus.com/PlanetElderScrolls for the a one-stop-shop resource for authors and players.
Thanks to LHammonds for the Readme Generator this file was based on (and for the readme to his OBMM script definitions :whistling:).

Licensing/Legal
---------------
Freebie - use at your own (no) risk.