ZeroBrane Studio Lua IDE v0.70 is out

General discussion about LÖVE, Lua, game development, puns, and unicorns.
paulclinger
Party member
Posts: 227
Joined: Thu Jun 28, 2012 8:46 pm

Re: ZeroBrane Studio Lua IDE v0.70 is out

Post by paulclinger »

murks wrote:The notepad++ feature I refered to is called 'Document Map': http://notepad-plus-plus.org/assets/images/docMap.png
The panel on the right shows a miniature version of the whole document, the part with the orange overlay is the part that the main view currently shows.
@murks, I added Document Map as a plugin for now; see here for details: https://github.com/pkulchenko/ZeroBrane ... t-49383775. Take a look and let me know how it works for you. There are already some feature requests in the ticket. Paul.
User avatar
murks
Party member
Posts: 185
Joined: Tue Jun 03, 2014 4:18 pm

Re: ZeroBrane Studio Lua IDE v0.70 is out

Post by murks »

Thanks Paul, I'm glad that others also find this thing interesting.
I just tried it with ZBS from git and I get some errors, so I can't test it properly. Those errors might be related to the hackish way wxgtk and wxlua is set up on my system. I guess I should try to sort this stuff out.

As soon as I move the mouse over the docMap I get those:
./src/common/wincmn.cpp(3300): assert "Assert failure" failed in ReleaseMouse(): Releasing mouse in 0x870ee68(wxStyledTextCtrl) but it is not captured
./src/gtk/window.cpp(4660): assert "g_captureWindow" failed in DoReleaseMouse(): can't release mouse - not captured
./src/common/wincmn.cpp(3319): assert "!wxMouseCapture::stack.empty()" failed in ReleaseMouse(): Releasing mouse capture but capture stack empty?
paulclinger
Party member
Posts: 227
Joined: Thu Jun 28, 2012 8:46 pm

Re: ZeroBrane Studio Lua IDE v0.70 is out

Post by paulclinger »

murks wrote:Thanks Paul, I'm glad that others also find this thing interesting.
I just tried it with ZBS from git and I get some errors, so I can't test it properly. Those errors might be related to the hackish way wxgtk and wxlua is set up on my system. I guess I should try to sort this stuff out.
@murks, thank you for checking. I pushed a plugin update (v0.13) that should fix this issue. Paul.
dan369
Prole
Posts: 44
Joined: Tue Apr 15, 2014 10:53 pm

Re: ZeroBrane Studio Lua IDE v0.70 is out

Post by dan369 »

Image
paulclinger
Party member
Posts: 227
Joined: Thu Jun 28, 2012 8:46 pm

Re: ZeroBrane Studio Lua IDE v0.70 is out

Post by paulclinger »

@dan369, what the message says is true ;). The package requires some API calls that were added after 0.70 was released. You need to use the latest ZBS code from github or wait for 0.71: https://github.com/pkulchenko/ZeroBrane ... pendencies.
martov
Prole
Posts: 12
Joined: Thu May 22, 2014 10:55 pm

Re: ZeroBrane Studio Lua IDE v0.70 is out

Post by martov »

ZB is debugging heaven.

I love it.
User avatar
murks
Party member
Posts: 185
Joined: Tue Jun 03, 2014 4:18 pm

Re: ZeroBrane Studio Lua IDE v0.70 is out

Post by murks »

Thanks Paul, but the problem persists. Your commit looks very small, I guess it does not actually include the fix. https://github.com/pkulchenko/ZeroBrane ... 46dcf100d8

I guess I should create a github account to report bugs there.
paulclinger
Party member
Posts: 227
Joined: Thu Jun 28, 2012 8:46 pm

Re: ZeroBrane Studio Lua IDE v0.70 is out

Post by paulclinger »

murks wrote:Thanks Paul, but the problem persists. Your commit looks very small, I guess it does not actually include the fix. https://github.com/pkulchenko/ZeroBrane ... 46dcf100d8

I guess I should create a github account to report bugs there.
Hm, it does include (what I thought was) the fix, but since I didn't get that message when tried on Ubuntu 12.04, I can't be absolutely certain. The fix is only supposed to call ReleaseMouse after it was captured by the plugin (it was moved inside the "if" statement). Are you sure you are using 0.14 (try ide.packages.documentmap.version in the Local console)?

You can definitely update the ticket on github to keep the history all in one place, but if you don't want to create github account, can you tell me what Linux version you are using? I have several VMs I can try to reproduce this on... Thank you.
User avatar
murks
Party member
Posts: 185
Joined: Tue Jun 03, 2014 4:18 pm

Re: ZeroBrane Studio Lua IDE v0.70 is out

Post by murks »

Hi Paul,
it is 0.13, which should include the fix. I don't see a 0.14. I created a github account and will move further reports there.
paulclinger
Party member
Posts: 227
Joined: Thu Jun 28, 2012 8:46 pm

Re: ZeroBrane Studio Lua IDE v0.70 is out

Post by paulclinger »

@murks, I pushed several changes for DocumentMap (including those that should fix the "release" warnings). Scrolling on OSX/Linux should be improved as well.

@dan369, did you get it working? You only need to try with the latest ZeroBrane Studio...
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests