- 好友
 - 22
  
- 在线时间
 - 7893 小时
  
- 最后登录
 - 2012-7-27
  
 
 
 
 
贵族[MOD作者] 
 圣剑MOD制作组[程序]
  
     
- UID
 - 63912
  
- 第纳尔
 - 5396 
  
- 精华
 - 6
  
- 互助
 - 181 
  
- 荣誉
 - 177 
  
- 贡献
 - 245 
  
- 魅力
 - 717 
  
- 注册时间
 - 2008-1-13
  
   ![骑士美德之正义勋章[杰出会员荣誉勋章]](static/image/common/medal20.gif)     
 
  鲜花( 11)   鸡蛋( 0)  
 | 
 
原帖: http://forums.taleworlds.com/index.php?topic=146627.0 
 作者: ConstantA 、dunde 
 下载地址:     
       语法高亮: http://www.mbrepository.com/file.php?id=2398 
       语法提示: http://www.mbrepository.com/file.php?id=2409 
 
 安装提示: 
1. Download and import ConstantA's UserDefined Language (at http://forums.taleworlds.com/index.php?topic=146627.0) into notepad ++ 
   from View=>User-Defined Dialogs->Import Button 
2. Download this file and copy into APi's folder of NotePad ++ 
3. Enable AutoCompletion or Funtion Parameters Hint on Input of Notepad ++ from Settings->Preferences->Backup/AutoCompletion Tabs. 
4. Select M&B Script Language from Language->M&B Script when editing modulesystem's files. 
 
 
Ok, so when my IDLE editor become extremely slow when editing large files, I started to use Notepad++ for M&B scripting. 
And made this custom Language Definition for it. 
 
It understands try_    try_end blocks, variables (: and $), integers, common MB types like trp_, itm_ and so on. 
 
Enabling: 
In Notepad++ go to View - User Defined Dialogue and Import. Then switch to MB Script in Language menu (cause it defaults to python highlighting for .py files) 
 
 语法高亮效果显示 (比默认的python高亮要好些) 
  
 
 
Thank you, ConstantA. This is very useful. 
It encourage me to download and try to use NotePad++, then I think we can get more advantage by using Notepad++. 
Here it is, my trial to use auto completion function of Notepad ++. 
 (click to show/hide) 
No need to searching through header_operations.py anymore  
 
And the file is here 
It's for M&B 1.011 but anyone has WB's header_operations.py  can expand it to cover WB new operations too. 
 
 updated. Now it will show hints that display required parameters of operations. 
 
  
 
  |   
 
 
 
 |