Skip to content

Changes

Summary

  1. AsciiDoc artifacts can now be identified by ID (details)
Commit f06677462f8bc26e9d659301a578aa74d9fc200e by Jan-Philipp Steghöfer
AsciiDoc artifacts can now be identified by ID

The AsciiDoc handler now distinguishes two cases: if an artifact is of
type "inline anchor", it will use the anchor's ID to locate the artefact
in the AsciiDoc document. Otherwise, it will default back to the offset,
e.g., for headings etc. This is more robust since the item can be
located by ID even when it has moved in the document.
Change-Id: I75f57ac3b36d6d6ccb323cabf6114edac386986a
The file was modified bundles/de.jcup.asciidoctoreditor.extension/src/de/jcup/asciidoctoreditor/AsciiDoctorAccess.java
The file was modified bundles/org.eclipse.capra.handler.asciidoc/src/org/eclipse/capra/handler/asciidoc/AsciiDocHandler.java
The file was modified bundles/org.eclipse.capra.ui.asciidoc/src/org/eclipse/capra/ui/asciidoc/IAsciiDocApiAccess.java
The file was modified bundles/org.eclipse.capra.ui.asciidoc/src/org/eclipse/capra/ui/asciidoc/internal/AsciiDocArtifactExistenceChecker.java
The file was modified bundles/org.eclipse.capra.ui.asciidoc/src/org/eclipse/capra/ui/asciidoc/AsciiDocSelectionSupport.java