app.nit: intro `Text::open_in_browser`
[nit.git] / lib / app / ui.nit
index 996629f..5f66ab4 100644 (file)
@@ -305,3 +305,8 @@ class ListLayout
        super View
        super CompositeControl
 end
+
+redef class Text
+       # Open the URL `self` with the default browser
+       fun open_in_browser do print_error "Text::open_in_browser not implemented on this platform."
+end