Community
Participate
Working Groups
When attempted Mylyn responds with "Not a valid landmark, select an element within this resource instead". Users should be able to make *.textile, *.confluence, *.mediawiki etc. landmarks.
Created attachment 125853 [details] mylyn/context/zip
It would be good to have this for 3.2. We might need at least a minimal structure and UI bridge for Textile.
(In reply to comment #2) > It would be good to have this for 3.2. We might need at least a minimal > structure and UI bridge for Textile. A UI and structure bridge already exist in org.eclipse.mylyn.internal.wikitext.tasks.ui, they were created to support active folding in the editor (bug 260475). Could be a bug in their implementation... any ideas on how to fix this issue?
By default files can't be landmarks if a bridge supports structure under the file. Does textile support that?
Yes, WikiText files have structure under the file. The structure is computed from the headings in the document and is used to drive active folding in the editor and interest-based filtering in the outline view. Is there a way for bridges to alter this default behaviour?
I'm looking for guidance on this one when you have a chance.
Does the structure under the file node show in the Project Explorer? If so, the current design is that the files should not be allowed to become landmarks (see bug 111165).
(In reply to comment #7) > Does the structure under the file node show in the Project Explorer? No, the file node doesn't show structure in the Project Explorer
Please add this as a discussion item for an upcoming meeting.
Created attachment 127740 [details] fix Mik: turns out that this is a trivial change to @canBeLandmark(String)@ in @WikiTextContextStructureBridge@. Can you review this patch? If it looks good to you I'd like to have it in 3.1
Created attachment 127742 [details] mylyn/context/zip
Yes, that's fine. I assume that your bridge is a child of the resource structure bridge?
(In reply to comment #12) > Yes, that's fine. I assume that your bridge is a child of the resource structure bridge? Super. Yes, it's a child of the resource structure bridge.