https://bugs.kde.org/show_bug.cgi?id=385897

--- Comment #1 from Friedrich W. H. Kossebau <kosse...@kde.org> ---
Implementation idea brain dump:
This could be done by loading the KParts plugins as Browser/View, thus
activating any possibly implemented KParts::BrowserExtension and connecting to
the openUrlRequest()/openUrlRequestDelayed() signal.
In the handler to the signal one could then go and poke the KTextEditor manager
API to load the respective file, if it is a supported format, and switch view
to it (and thus triggering the preview to switch as well), otherwise delegate
to QDesktopServices.

The KMarkdownWebView KParts plugin supports that mode already. 

The info bit about being a relative link or not though currently might be
missing from the signal, the API does not specify if the url needs to be
resolved already.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to