Community
Participate
Working Groups
The WikiText editor and representation of WikiText content should integrate better with the Mylyn task DOI model * structured outline integration inside the editor, the outline view and in the navigation hierarchy * editor folding (automatic, as it works for the Java editor)
see relevant article "Folding in Eclipse Text Editors":http://www.eclipse.org/articles/Article-Folding-in-Eclipse-Text-Editors/folding.html
Created attachment 122491 [details] a work in progress work in progress, with a structure bridge implementation
Created attachment 122492 [details] mylyn/context/zip
Created attachment 122503 [details] initial implementation Implemented a context structure bridge and context ui bridge. They don't work as I would expect, but they're a good start.
Created attachment 122549 [details] updated implementation attached a working implementation including UI monitor components
Steffen, Mik, I've attached a patch that imlpements a context structure bridge, context ui bridge, user interaction monitor etc for wikitext content. It's ready for a test-drive. When you get a chance could you take a look and try it out? You'll need to activate a task and open a file in the WikiText markup editor (*.mediawiki, *.textile). Please let me know how it goes!
Created attachment 122694 [details] evolved with active folding and bug fixes the implementation is now more complete with active folding support There are some interesting interactions between the outline view and the editor. When someone selects and item in the outline view, it alters the selection in the editor. If the user then causes that item to be removed from the context using hot-keys, the editor collapses all uninteresting regions except the region covered by the outline item, since the editor selection includes that region. Also I've added a context menu to the editor outline however the Mylyn actions for increasing/decreasing interest don't appear (why?)
Created attachment 122695 [details] mylyn/context/zip
Created attachment 122824 [details] outline context menu patch updated to include DOI actions in the context menu. For some reason when the outline view is shown with a DOI filter the alt+click action doesn't work, and the alt+click text is not shown when no items are visible. Steffen do you have any ideas on this one?
I see the same problem with Java files on Linux (although I never see the Alt+click text due to differences in the SWT implementation). Could you file a separate bug for that if there isn't one already?
(In reply to comment #10) > I see the same problem with Java files on Linux (although I never see the > Alt+click text due to differences in the SWT implementation). Could you file a > separate bug for that if there isn't one already? filed as bug 261446
implemented in org.eclipse.mylyn.wikitext.tasks.ui
Created attachment 123032 [details] mylyn/context/zip