New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a document outline widget for R Markdown documents #436
Conversation
Nice! I could really use something like this - I'm trying to write a book and a good outliner like LyX has is pretty much mandatory. |
Fantastic! I'll send Paul on email on Monday morning to start tweaking out On Fri, May 29, 2015 at 6:09 PM, M. Edward (Ed) Borasky <
|
Will it have the usual outliner UI? Indent, outdent, drag nodes, cut, paste, etc.? |
We won't do that now (it will just be an outline view) but we'll definitely On Sun, May 31, 2015 at 1:23 AM, M. Edward (Ed) Borasky <
|
e1ba4da
to
04d1dda
Compare
Okay, the widget is getting pretty close (coordinating hide + show events unfortunately requires a surprising amount of plumbing -- I'm not sure if there's a better way to handle this or not): Once I'm sure that the chevron behaves well when showing + hiding the outline I think we should be close to merge. |
@jjallaire, I think this should be good to go (at least for the dailies). There's likely other refinements / changes we'll want to make but I think it's good enough that we can expose people running the dailies now. (It would also be good to get more feedback from e.g. @hadley) |
We're not quite ready for merge (see the shared document for various bugs I found and some small appearance tweaks). |
Will y'all comment what daily build this gets incorporated into? Really looking forward to seeing this in action. |
Thanks @jjallaire -- I'll start tracking these down and ping you once I've fixed them. @rmflight, we'll comment after this gets merged + what daily build it appears in. |
String.prototype.startsWith is not yet implemented by all browsers / webkits -- it is instead just a part of the ECMAScript 6 standard.
e24fdbc
to
e446026
Compare
Okay @jjallaire, I think this should be go -- I resolved the bug(s) you reported earlier (basically due to Qt WebKit not implementing Here's what it looks like now: Can you give it another quick spin and merge if you think all looks well? |
Add a document outline widget for R Markdown documents
@rmflight The latest daily build (v0.99.585) has the outline view (note there is no windows version yet, the build failed for some reason). http://www.rstudio.org/download/daily/desktop/ |
Not ready for merge but basic functionality is there (so we can start discussing styling + other behaviours + UI we might like)
Some of the nice features so far:
TODO