ignore
(clist#connect#select_row
(fun ~row ~column ~event ->
- let (uri,_) = List.nth results row in
- show_in_show_window_uri (UriManager.uri_of_string uri))
+ let (uristr,_) = List.nth results row in
+ match
+ cic_textual_parser_uri_of_string
+ (wrong_xpointer_format_from_wrong_xpointer_format' uristr)
+ with
+ CicTextualParser0.ConUri uri
+ | CicTextualParser0.VarUri uri
+ | CicTextualParser0.IndTyUri (uri,_)
+ | CicTextualParser0.IndConUri (uri,_,_) ->
+ show_in_show_window_uri uri
+ )
) ;
window#show ()
;;