Notepad++
From Mount&Blade Modding Wiki
This is an advanced tool to edit the module system. Its free to use and you can download it here.
Advanced Usage
You can download a special M&B plug for syntax recognition.
More info can be found at the The Command Database.
You can find the installation tutorial in this topic.