@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.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.
ZeroBrane Studio Lua IDE v0.70 is out
-
- Party member
- Posts: 227
- Joined: Thu Jun 28, 2012 8:46 pm
Re: ZeroBrane Studio Lua IDE v0.70 is out
Re: ZeroBrane Studio Lua IDE v0.70 is out
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?
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?
-
- Party member
- Posts: 227
- Joined: Thu Jun 28, 2012 8:46 pm
Re: ZeroBrane Studio Lua IDE v0.70 is out
@murks, thank you for checking. I pushed a plugin update (v0.13) that should fix this issue. Paul.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.
-
- Party member
- Posts: 227
- Joined: Thu Jun 28, 2012 8:46 pm
Re: ZeroBrane Studio Lua IDE v0.70 is out
@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
ZB is debugging heaven.
I love it.
I love it.
Re: ZeroBrane Studio Lua IDE v0.70 is out
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.
I guess I should create a github account to report bugs there.
-
- Party member
- Posts: 227
- Joined: Thu Jun 28, 2012 8:46 pm
Re: ZeroBrane Studio Lua IDE v0.70 is out
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)?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.
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
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.
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.
-
- Party member
- Posts: 227
- Joined: Thu Jun 28, 2012 8:46 pm
Re: ZeroBrane Studio Lua IDE v0.70 is out
@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...
@dan369, did you get it working? You only need to try with the latest ZeroBrane Studio...
Who is online
Users browsing this forum: No registered users and 3 guests