I was thinking of creating a BLIde add-on to hilite LUA files when used on BLIde. Would this addon be useful? are there any BLIde users using LUA?
BLIde users needs LUA?
BlitzMax Forums/BlitzMax Programming/BLIde users needs LUA? not yet, but would be awesome in future, not to forget miniB3D, that would be on my list at priori one.
miniB3D is suported, but not hilighted. I'm working on a option to add some MODs to the default reduced hilighting keywords. but BLIde will require more CPU usage when you add lots of keywords.
That's why I have a second core ^^
I don't need it right now, I use PSPad if I'm in need of writting LUA (does not happen that often, mainly AI or trigger behavior when I'm not hacking WoW Addons together or translating them to german, so at best an hour or two per week).
But at some point in the future, I'm sure it could be a very usefull addition when I'll be able to motivate myself to write the needed classes to allow LUA to use my stuff and mod it.
I don't need it right now, I use PSPad if I'm in need of writting LUA (does not happen that often, mainly AI or trigger behavior when I'm not hacking WoW Addons together or translating them to german, so at best an hour or two per week).
But at some point in the future, I'm sure it could be a very usefull addition when I'll be able to motivate myself to write the needed classes to allow LUA to use my stuff and mod it.
I'm not into LUA quite yet.
Should it be more important to have XML hilighting?
To me, XML highlighting would be much more useful.
I also think XML highlighting would be more useful than LUA right now.
I hate to break in with a bug report, but I want to post it while it's fresh in my mind: the last two or three versions of BLIde have been giving me trouble when I have a project open and then try to open a single file that is part of that project.
For instance, MyProject includes a file called Main.bmx. Main.bmx has the line
Include "somefile.bmx"
Now, if I have MyProject open and I go to File -> Open -> single blitzmax file and try to open somefile.bmx, I get this crash:
The only lines in somefile.bmx are Include statements; somefile.bmx is just a convenient container for all the files I want included in the project.
SpaceAce
I hate to break in with a bug report, but I want to post it while it's fresh in my mind: the last two or three versions of BLIde have been giving me trouble when I have a project open and then try to open a single file that is part of that project.
For instance, MyProject includes a file called Main.bmx. Main.bmx has the line
Include "somefile.bmx"
Now, if I have MyProject open and I go to File -> Open -> single blitzmax file and try to open somefile.bmx, I get this crash:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at BLIde.MainForm.LoadAFile(String& FileName, Boolean skip, Boolean QuickLoading) at BLIde.MainForm.QuickLoadBmx(String file, Boolean ShowWin) at BLIde.MainForm.Mnu2QuickOpenFile_CLick(Object sender, EventArgs e) at TD.SandBar.ToolbarItemBase.OnActivate() at TD.SandBar.ButtonItemBase.OnActivate() at TD.SandBar. .(TopLevelMenuItemBase , Boolean , Boolean , Point ) at TD.SandBar.TopLevelMenuItemBase.Show(Boolean select) at TD.SandBar.TopLevelMenuItemBase.Show() at TD.SandBar.ToolBar.OnItemPush(ToolbarItemBase item, Point position) at TD.SandBar.ToolBar.OnMouseDown(MouseEventArgs e) at TD.SandBar.MenuBar.OnMouseDown(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at TD.SandBar.ToolBar.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- BLIde Assembly Version: 9.0.8.10 Win32 Version: 9.0.8.10 CodeBase: file:///C:/Program%20Files/The%20Factory.ws/BLIde%20for%20BlitzMax/BLIde.exe ---------------------------------------- Microsoft.VisualBasic Assembly Version: 8.0.0.0 Win32 Version: 8.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Runtime.Remoting Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- SandBar Assembly Version: 1.3.3.1 Win32 Version: 1.3.3.1 CodeBase: file:///C:/Program%20Files/The%20Factory.ws/BLIde%20for%20BlitzMax/SandBar.DLL ---------------------------------------- SandDock Assembly Version: 2.3.4.1 Win32 Version: 2.3.4.1 CodeBase: file:///C:/Program%20Files/The%20Factory.ws/BLIde%20for%20BlitzMax/SandDock.DLL ---------------------------------------- Navisight Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files/The%20Factory.ws/BLIde%20for%20BlitzMax/Navisight.DLL ---------------------------------------- ActiproSoftware.SyntaxEditor.Net20 Assembly Version: 4.0.237.0 Win32 Version: 4.0.237.0 CodeBase: file:///C:/Program%20Files/The%20Factory.ws/BLIde%20for%20BlitzMax/ActiproSoftware.SyntaxEditor.Net20.DLL ---------------------------------------- ActiproSoftware.Shared.Net20 Assembly Version: 1.0.85.0 Win32 Version: 1.0.85.0 CodeBase: file:///C:/Program%20Files/The%20Factory.ws/BLIde%20for%20BlitzMax/ActiproSoftware.Shared.Net20.DLL ---------------------------------------- ActiproSoftware.WinUICore.Net20 Assembly Version: 1.0.85.0 Win32 Version: 1.0.85.0 CodeBase: file:///C:/Program%20Files/The%20Factory.ws/BLIde%20for%20BlitzMax/ActiproSoftware.WinUICore.Net20.DLL ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Design Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
The only lines in somefile.bmx are Include statements; somefile.bmx is just a convenient container for all the files I want included in the project.
SpaceAce
SpaceAce: This has been fixed for next release. It is a side effect of the new ultra fast project loader system, but it has been fixed. Thanks for reporting.
I would apreciate a lot if someone can send me some LUA files to make some parsing tests, and some XML files also.
thanks! my email is on my profile.
thanks! my email is on my profile.
My Blide crashes with the error that SpaceAce has mentioned. I have 0.8.10
Any solutions? Version 0.8.8 worked perfectly.
Sin
Any solutions? Version 0.8.8 worked perfectly.
Sin
There will be an update today or tomorrow.
Meanwhile, the best way to avoid this bug, is NOT use the toolbar to open a file already included in your project. To load this file, simply click on the file name, at the Project dependencies tree. This way you won't cause this bug.
Meanwhile, the best way to avoid this bug, is NOT use the toolbar to open a file already included in your project. To load this file, simply click on the file name, at the Project dependencies tree. This way you won't cause this bug.
I need both XML and Lua but, the XML is more pressing. Thanks for looking out for us Ziggy.