Page 4 of 8

Re: ZeroBrane Studio Lua IDE v0.70 is out

Posted: Fri Jul 18, 2014 5:37 am
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.

Re: ZeroBrane Studio Lua IDE v0.70 is out

Posted: Fri Jul 18, 2014 10:46 am
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?

Re: ZeroBrane Studio Lua IDE v0.70 is out

Posted: Fri Jul 18, 2014 5:15 pm
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.

Re: ZeroBrane Studio Lua IDE v0.70 is out

Posted: Fri Jul 18, 2014 5:33 pm
by dan369
Image

Re: ZeroBrane Studio Lua IDE v0.70 is out

Posted: Fri Jul 18, 2014 6:09 pm
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.

Re: ZeroBrane Studio Lua IDE v0.70 is out

Posted: Fri Jul 18, 2014 7:37 pm
by martov
ZB is debugging heaven.

I love it.

Re: ZeroBrane Studio Lua IDE v0.70 is out

Posted: Fri Jul 18, 2014 8:30 pm
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.

Re: ZeroBrane Studio Lua IDE v0.70 is out

Posted: Fri Jul 18, 2014 9:31 pm
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.

Re: ZeroBrane Studio Lua IDE v0.70 is out

Posted: Sat Jul 19, 2014 9:05 am
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.

Re: ZeroBrane Studio Lua IDE v0.70 is out

Posted: Wed Jul 23, 2014 5:01 am
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...